Hello!
I am new to jME and 3D goodness, so I tried using some of the tutorials on the wiki. However, upon trying the example at:
http://www.jmonkeyengine.com/wiki/doku.php?id=standardgame_gamestates_and_multithreading_a_new_way_of_thinking#standardgame_awesomeness my “game” appeared like so:
http://www.box.net/shared/cbna3xggg8
Now I’m no expert, but it appears as if the (2D) floor and roof have been drawn on top of all walls! What’s going on?
seems like a missing ZBufferState to me, but the DebugGamestate already has one, so try to call
gameState.getRootNode().updateRenderstate(); after attaching the Box to the GameStates node.
try to call gameState.getRootNode().updateRenderstate(); after attaching the Box to the GameStates node.
Yay! That worked - thanks a lot. If this problem occurs for everyone, maybe this code should be part of the tutorial?
dismal_denizen said:
Yay! That worked - thanks a lot. If this problem occurs for everyone, maybe this code should be part of the tutorial?
You add it...your arms aren't broken....are they? :P
You add it...your arms aren't broken....are they?
Done.