Natural Selection 2 News Update - Spark SDK (Build 127) Released
Max
Technical Director, Unknown Worlds Entertainment Join Date: 2002-03-15 Member: 318Super Administrators, Retired Developer, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, Subnautica Developer, Pistachionauts, Future Perfect Developer
Comments
Point lights seem to have "Cast Shadow: True" as default when opening maps, right? When i opened my little map in Texture Lit Mode my FPS dropped to ~1fps (talking about ~40 point lights. didn't lag before the update)
Edit: yeah it was definitely the point lights causing the instability. I'm curious now how taxing atmospheric lights will be.
Really appreciate the selection boxes and color for lights!
This never happened before either, and my fps is also taking a huge hit.
this is what happens now when i do lit mode, i have a nvidea 6800 gt all up to date drivers and everything.
ALSO THIS ONLY HAPPENS WHEN CAST SHADOWS IS ON.
I'm guessing this is going to be highly system specific.
edit:
Just loaded it up, have about five rooms connected in one main file (also each in separate files) and it clunks along at about 0.5 fps when I look at any complex geometry. In fact it actually won't even move at all anymore... when I stop and reload when it goes over the complex part of my map it just stalls out completely... here is what it looks like when it stalls.
<img src="http://i23.photobucket.com/albums/b360/Erobus/Untitled.jpg" border="0" class="linked-image" />
If you want to make them default to not cast shadows, you can load up the ns2\ns2.editor_setup file and change this line:
<parameter name="casts_shadows" type="boolean" label="Casts Shadows" default="true"/>
to:
<parameter name="casts_shadows" type="boolean" label="Casts Shadows" default="false"/>
If you want to make them default to not cast shadows, you can load up the ns2\ns2.editor_setup file and change this line:
<parameter name="casts_shadows" type="boolean" label="Casts Shadows" default="true"/>
to:
<parameter name="casts_shadows" type="boolean" label="Casts Shadows" default="false"/><!--QuoteEnd--></div><!--QuoteEEnd-->
Thank you, Max.
I suggest making it the "default-default" so people will not spam the forum with posts about huge performance drops ;)
The most important points of the update for me:
Added shadows for point lights
-Added "paint" selection mode(activated by holding down shift in the Select tool)
(better than pressing control and clicking in some situations
-Added mouse wheel scrolling in the asset browsers
(faster to work, altough we still need to click on one image to activate srolling)
-
Changed light selection to be based on its visual representation rather than lighting distance
(VERY IMPORTANT, i hated when i selected light cause of distance field in the way :\)
Nice one!
Thanks,
Edit: Did the file thing,now all light default false or no shadow when placed.
I think for lights in the map already, they need to be turned to false one by one.
When that was done the map is no longer laggy in the lit mode.
Would be nice to select all lights and turn them all at once to true or false, would be alot easier. Same with their color, select ,change,done.
Is this a bug, or is this just the way the editor works?
Also, when my faces are facing away from the light, they do not cast shadows.
edit: no wonder... all the lights have a new Cast Shadow option which was defaulted ON... ran like shiet.
edit2: thanks for the tip on changine the default setting.
# Fixed broken ceiling material (refinery_ceiling_03)<!--QuoteEnd--></div><!--QuoteEEnd-->
So good they fixed it twice?
EDIT: Okay, so the installer for the patch is going over 100%, it lists 13mb as the size of the patch and it's now downloaded 22mb. What gives?
EDIT2: It got up to exactly 200% before it stopped.
(the cylinder is extrude from the big base under.)
<img src="http://img163.imageshack.us/img163/5746/71327001.jpg" border="0" class="linked-image" />
oh and fps drop. (sorry for the flood)
Point lights seem to have "Cast Shadow: True" as default when opening maps, right? When i opened my little map in Texture Lit Mode my FPS dropped to ~1fps (talking about ~40 point lights. didn't lag before the update)<!--QuoteEnd--></div><!--QuoteEEnd-->
I think there should be a button to make Point & spot lights shadows on and off. Or another Lit mode with shadows.
In real game fps will be low because of those 40 or more lights. So we should alrady check both light shadows and also physics of objects.
May be there can be FPS test which rotates 360 deg and wallk through east to west & south to north in the map wiht noclip. So we may check how our map is good for mid-range computers.
Also just downloaded let me check.
Lower texture scales bug is not fixed yet.
Load this map, and move the red corner from the blue arrow front & back randomly then see texture size changes.
<a href="http://www.yyoru.com/dl/crashtest.level" target="_blank">http://www.yyoru.com/dl/crashtest.level</a>
<img src="http://www.yyoru.com/dl/crash1.jpg" border="0" class="linked-image" />
After that go to lit mode and paint mode and seleft left wall.
You should wait more than 10 seconds to get texture size info. It is like a crash.
<img src="http://www.yyoru.com/dl/crash2.jpg" border="0" class="linked-image" />
This is a very simple 4 wall room. I cant imagine what happens if you have dark big map with those bugged textures.
Solution:
1- Find a good mathematical equation to fit same texture in the same form to the new form of the wall
2- Check size of the texures, limit sizes eg. width>0.1 & width<1000 after movement of any points
3- After movement of the corner if user undo that movement please also undo texture sizes etc. to its original.
I need this because sometimes you accidently move a point that u didnt want to move in a complex room.
Note: Also I know what &where texture lock/unlock button is.
Thanx.
Yes I know that lock texture button. But i dont want to lock them. And I dont need 1x10-7 texture size ! God dammit who needs that.
:)
I know, you have a lot on your plate, but it's sad to see how this issue keeps getting ignored just because only a minority experiences this problem.
..and that after you confirmed that directx 9.0b is supported.
About one third of all the textures show up like that.
They work fine when I use them in the 3D view, the 2D browser just doesn't load their tumbnails properly.
<img src="http://uploads.andersriggelsen.dk/ns2/texturebrowser.png" border="0" class="linked-image" />
EDIT: Okay, so the installer for the patch is going over 100%, it lists 13mb as the size of the patch and it's now downloaded 22mb. What gives?
EDIT2: It got up to exactly 200% before it stopped.<!--QuoteEnd--></div><!--QuoteEEnd-->
So good that you had to download it twice ;-)
So the lagging issue / fps drop is a common issue caused by the lightning. Well good to know that it isn't just my system [outdated I have to say] that has these probs.
Greetings,
Xtof
Anyway, nice patch-list, however I personally still am missing the ability to lift textures.
Also to paste copied objects to where my mouse is, while the new "Duplicate Selection" feature to paste the object right where it stands.
Does make sense to me at least, since right now you can achieve the exact same thing with ctrl-c+ctrl-v and Duplicate Selection.