Author Topic: Depth buffer error?  (Read 2323 times)

Offline zbych

  • int
  • **
  • Posts: 75
    • View Profile
Depth buffer error?
« on: November 05, 2012, 04:22:51 pm »
I have torus in the center of scene, when camera look at it from one side it is rendered ok, but when I move camera to other side it looks like a depth buffer error. Any advice how to avoid this kind of problem, is any cure for this?


Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Depth buffer error?
« Reply #1 on: November 05, 2012, 04:24:27 pm »
Check if transparency is enabled for that object and disable it.

Offline zbych

  • int
  • **
  • Posts: 75
    • View Profile
Re: Depth buffer error?
« Reply #2 on: November 05, 2012, 04:50:35 pm »
Thanks !!  :D , it helped, but I didn't enabled transparency in this object.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Depth buffer error?
« Reply #3 on: November 05, 2012, 05:35:44 pm »
The loader does this, if the file contains that information. Some files do even if the object should actually be opaque.