Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Z order  (Read 32170 times)

0 Members and 3 Guests are viewing this topic.

tgm

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Z order
« Reply #15 on: April 20, 2008, 05:19:24 pm »
but then again Z sorting via Z position won't work ;)
Than your exacly at the current position -> you have to render em in the right order^^

Kalero

  • Newbie
  • *
  • Posts: 15
    • View Profile
Z order
« Reply #16 on: April 20, 2008, 05:34:29 pm »
Quote from: "tgm"
but then again Z sorting via Z position won't work ;)
Than your exacly at the current position -> you have to render em in the right order^^


Sorry, I don't understand what you mean.
For some times I have do it like this in OpenGL, and it all works fine.

tgm

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Z order
« Reply #17 on: April 20, 2008, 06:22:33 pm »
If you turn of Zbuffering, you will have to render em in the proper back to front order. (start drawing the lowest one, and going on with the higher ones..) otherwise the one last drawn would appear to be the highest one.