Screwy Object3D.

Started by kiffa, October 22, 2013, 02:46:26 PM

Previous topic - Next topic

kiffa

In my racing game, the scene is correct first, but after a minute(driving on the road, arriving the position of about 3/4 length of the road), the scene become screwy(hard to describe the look, seems some objects mix together).

The model are exported as .objs and converted to .sers. All looks fine if importing the .objs into MAYA.

What may be the reason?

EgonOlsen

Do you have a screen shot of that?

kiffa

First, I clear ZBuffer only per frame. Second, I test with 4 devices with differents GPU, all of them are incorrect.

1, The correct scene, a road with left wall and right wall.


2, The incorrect scene(far):


3, The incorrect scene(close), the road、left wall、right wall seems mixed together, and this position is 5\6 of the road(ring):


4, The incorrect scene(through the mixed-wall-road, the white cubes are waypoints which should upon the road,  but there is none of road\wall.


5, Going to fly a while, the start position of the road appear.

EgonOlsen


kiffa


EgonOlsen

#5
Good to know. I should add a kind of automated detection for this case...

Edit: The next version will be able to handle this automatically.

kiffa