Z-Ordering FUBAR?

BlitzMax Modules Forums/MiniB3D/Z-Ordering FUBAR?

Hi, I am using minib3d under linux, Ubuntu 8.04 and I seem to have an issue.

I am using the proprietry NVIDIA drivers (latest) and have desktop effects disabled.

Here is a screenshot explaining my problem.

[IMG ]

When I am looking down the 1 vector, everything is fine, its when looking down Number 2 that its totally messed up.

Im not relly sure how to describe my problem!! Here is the code that creates the cubes:

For Local t:Int = 0 To 5
For Local y:Int = 0 To 5
cube = CreateCube ()

EntityTexture ( cube, text )
PositionEntity ( cube, t * 3, 0, y * 3 )
Next
Next
End Method


And here is my drawing code:

Method Draw()
Cls
EndMax2D ()

UpdateWorld ()
RenderWorld ()

BeginMax2D ()

End Method