Game Development Community

Problems with Z-sorting

by Vyacheslav Maltsev · in Technical Issues · 08/30/2007 (1:24 am) · 3 replies

Good day, gentlemen!
We are developing 2D game with the help of 3D engine (don't ask the reason why - it's a long story). We use Torque Game Engine v1.5. The objects on scene are the planes with texture that including alpha channel. On the background there is a plane with background picture, little closer are colored squares and one the front ground is the character. However sometimes the problem of the rendering of the scene appears. The objects that situated closer to camera are covered by objects that situated farther. You see on screen the plume of the knight is covered by the purple square, though the square is farther from camera then the knight.

link to example:
http://foto.rambler.ru/users/slon_scg/_photos/z_sorting_problem/

We can't get the reason why it is happening. This problem does ruin our project.
Can anyone help us to solve it?

#1
09/02/2007 (10:47 pm)
Here I made my post more detailed - check it up :)
#2
09/09/2007 (10:43 pm)
Hi everyone!
We have solved this problem! The TGE included it. If anyone interested - write to us - we will help you necessarily.
#3
09/19/2007 (11:19 pm)
Solvation of this problem described here: http://garagegames.com/mg/forums/result.thread.php?qt=66865
Welcome!