Negative sun values...
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Negative sun values...
Ok look, the negative sun value bug is just plain annoying and has been there since I started mapping, could you guys please, please fix it?
DO this, start a 6 - 8 player game and use either delta siege, or the map I uploaded, greenhaven remake v01. I purposely set a negative sun value on that map just to see if people had trouble with it. Yep sure enough. At least 1 or 2 people dropped when zooming out or moving the view around.
DO this, start a 6 - 8 player game and use either delta siege, or the map I uploaded, greenhaven remake v01. I purposely set a negative sun value on that map just to see if people had trouble with it. Yep sure enough. At least 1 or 2 people dropped when zooming out or moving the view around.
I don't really see why a negative value (I assume in X/Z components?) can cause a crash, especially as it's only used in cross/dot products and other simple mathematical stuff, which don't crash.
Are you 100% sure it isn't another bug which accidentally correlates to the sundir being negative in this two maps (which isn't statistically significant as you may realize)?
Anyway, more info would be useful, like settings:
Does it depend on AdvSky, DynamicSky, ReflectiveWater, Dynamic water, Shadows, Shadowmapsize, does it happen with maps with skybox too? (these are the ones which use sundir in code AFAICS)
We'll do our best to fix (as always
), but as this one is almost not reproducible at a time you can attach a debugger, plus it is unknown with which settings it happens, plus from a programmers viewpoint it doesn't make sense, it's hard
Also, are you sure there aren't any other maps with negative sundir components which work perfectly fine?
Are you 100% sure it isn't another bug which accidentally correlates to the sundir being negative in this two maps (which isn't statistically significant as you may realize)?
Anyway, more info would be useful, like settings:
Does it depend on AdvSky, DynamicSky, ReflectiveWater, Dynamic water, Shadows, Shadowmapsize, does it happen with maps with skybox too? (these are the ones which use sundir in code AFAICS)
We'll do our best to fix (as always


Also, are you sure there aren't any other maps with negative sundir components which work perfectly fine?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
I've played many long 6-10 player games on Altored Divide, and seen tons of others in the lobby - I designed it with negative sun values. I'm not saying you're crazy and there's no bug, but this alone pretty much rules out the possibility that it's the sun value alone.
Those of you who have a crash on the aforementioned maps, try AD and see if you have the same problem.
Those of you who have a crash on the aforementioned maps, try AD and see if you have the same problem.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43