Hi
I’ve made this 3D engine, now I’m starting on polygons. Now I have this problem with z-sorting. Currently I’ve avaraged all the z values of the individual vertices. But that doesn’t work. How should I sort my depths?
To see my problem go to:
3D-engine new
To see the problem wait a few seconds (it’s only one or two kb’s), and then click in a clockwise || anticlockwise sequence. Then press a key. A 3D object will be created out of your points. The top left corner is 0, 0 so the closer you click to that the closer you are to the centre of the 3d shape.
I’ve posted this problem on loads of forums, but I havn’t had any answers yet