Game Development Community

Beta 2 lighting and other bugs.

by Ken Johnston · in Torque 3D Professional · 05/24/2009 (4:44 pm) · 12 replies

farm3.static.flickr.com/2454/3561311416_25f2720cfe.jpg?v=0farm3.static.flickr.com/2424/3561310078_1a01cd377e.jpg?v=0
ive been getting this wierd flickering when in advanced or basic lighting. the lighting brightness stays constant while on a linear path but if the angle of the camera changes angle the lighting glitches as shown in the image above. also there is supposed to be a water block in the scene as well that does not seem to render and the water plane control is missing. The scene is set up with a 2048x2048 terrain, scattersky and a sun.

The system setup is
2.0 GHZ Core2 Duo
2Gb Memory
Nvidia 8400M

#1
05/24/2009 (4:52 pm)
Delete the sun. The scatter sky has a sun like object built into it so thats all you need.
#2
05/24/2009 (4:55 pm)
That worked for the lighting issue for the waterblock not so much. The water block surface does not render however when i go under where the water block is the underside renders completly black.
farm4.static.flickr.com/3396/3560550901_7f5a6da73a.jpg?v=0
#3
05/24/2009 (4:56 pm)
And if your using the scatter sky it also have a few slight glitches about lighting, we have been assured that it is being worked on.
#4
05/24/2009 (4:58 pm)
Are you on a laptop? Do this waterblock behavior persist after a reboot?
#5
05/24/2009 (6:22 pm)
yes i am on a laptop, and it is still there after a reboot, however the problem with the water block seems to be isolated with the waterblock. the issue does not repeat with the water plane or a river...
#6
05/24/2009 (8:39 pm)
so from the console it apears that d3d keeps attempting to reinitialize and fails, and there is a warning that the water shader is not found
#7
05/25/2009 (2:01 pm)
First off yes... you shouldn't have a Sun and a ScatterSky. It would be hard to enforce this and its not obvious to the user that its not a good idea. Any suggestions?

I'm pretty sure we've seen this waterblock issue before. Can you post the exact waterblock error message from the console.log?
#8
05/25/2009 (4:56 pm)
here is the console output also it does not apear to be a consistant error i had to make create the water plane 5 times before it reproduced.

//-------------------------- 5/25/2009 -- 16:48:18 -----
Processor Init:
   Intel Core 2, ~2.00 Ghz
     (timed at roughly 2.02 Ghz)
   FPU detected
   MMX detected
   SSE detected
   SSE2 detected
   Multi-Core detected [2 available cores on 1 physical CPU(s)]
 
tools/missionEditor/scripts/EditorGui.ed.cs (465): Unable to find object: '0' attempting to call function 'setStateOn'
tools/missionEditor/scripts/EditorGui.ed.cs (445): Unable to find object: '0' attempting to call function 'getText'
tools/missionEditor/scripts/EditorGui.ed.cs (446): Unable to find object: '0' attempting to call function 'getText'
Set::add: Object "" doesn't exist
CustomMaterial - Water(1223) - Failed to load cubemap
CustomMaterial - WaterBasic(1228) - Failed to load cubemap
Win32Window::WindowProc - resetting device due to window size change.
GFXPCD3D9Device::reset - depthstencil 1797cf40 has 2 ref's
--- Resetting D3D Device ---
Failed to create resource: [core/fonts/Arial 12 (ansi).uft]
Activating DirectInput...
Exporting Gui preferences.
CDROP: 2357 local
Validation required for shape: art/shapes/players/BoomBot/BoomBot.dts
Validation required for shape: art/shapes/players/BoomBot/BoomBot.dts
*** ENDING MISSION
Namespace::unlinkClass - cannot unlink namespace parent linkage for Sky for SceneObject.
Exporting server prefs...
Exporting client prefs
Exporting server prefs
Cur. D3DDevice ref count=1
#9
05/25/2009 (8:51 pm)
Hum... i guess i'll see if James can replicate this issue. Thanks for posting the log.
#10
09/21/2009 (9:42 pm)
I have the same issue... I'm dynamiccally changing scattersky stuff along with the weather, but it invariably "pops" just after sunset and just before sunrise. Just after sunset it pops from a natural dark to an unnatural light, stays that way all night, then pops back to a natural color at the beginning of sunrise.
#11
09/21/2009 (10:21 pm)
oops, I should say that mine probably isn't the same issue, but has the same visual appearance
#12
09/21/2009 (11:27 pm)
The time of day transitions have been fixed, but i don't think the improvements will make 1.0.... 1.1 will have it for sure.