2004-03-07, 23:37
ok, i'm getting closer, but maybe someone here can help me.
i'm not getting the depth of stuff rendered properly and its driving me mad :)
if you take a look at this screenshot:
screwed up vis
you can see what i mean.
its just drawing on top of whats there regardless of 3d position. stuff to the right of a row is drawn on whats already been drawn on the left and when drawing a row behind the front one it appears on top of it!
i'm using the spectrum/fountain code as a base and i've checked my winding of verticies. checked the culling and that seems fine and tried with/without z buffer enabled.
any ideas?
i'm not getting the depth of stuff rendered properly and its driving me mad :)
if you take a look at this screenshot:
screwed up vis
you can see what i mean.
its just drawing on top of whats there regardless of 3d position. stuff to the right of a row is drawn on whats already been drawn on the left and when drawing a row behind the front one it appears on top of it!
i'm using the spectrum/fountain code as a base and i've checked my winding of verticies. checked the culling and that seems fine and tried with/without z buffer enabled.
any ideas?