View Full Version : ASE File problem.. missing Triangles

09-28-2001, 07:08 AM

I got som wierd problem.. when I render an object I read from ase file some triangles disapear when I render the object. for exampel If I render an teapot the and rotate it so the pipe is towards the eye it disapear. and the handle who is facing away from the eyepos is visible throu the teapot

any Idea why ?

09-28-2001, 09:18 AM
Are you using depth sorting? If not, that could explain the handle showing through the body.

As for parts of it vanishing when it rotates, my guess would be it's being culled because it crosses the near clip plane. Any number of calls can alleviate that condition.

09-28-2001, 04:36 PM
I am using Z buffer.. I think... I just came home from a party IŽll check tomorrow http://www.opengl.org/discussion_boards/ubb/smile.gif

09-29-2001, 09:26 AM
I had this strange problem when loading a model too....try change your desktop color to 16 bit or 24 bit or 32 bit
Only one of those worked for me
isn't that weird ?
anyway try it !

*Sleep is a waste of time*

10-01-2001, 12:35 AM
hm.. that sounds wierd.. but I have to try http://www.opengl.org/discussion_boards/ubb/smile.gif

but it is wierd that it render the object behind ontop of the object in front :p it is like the z-buffer is reversed or something

10-01-2001, 12:39 AM
Assuming you DO have a Z-buffer, did you enable it? You know, it's disabled by default.

10-01-2001, 11:38 AM
yes I have it enabled if it is glEnable(depth_test) or something like that

10-01-2001, 11:56 AM
try enabling blending...
that helped on my situation...