PDA

View Full Version : ASE File problem.. missing Triangles



McZ
09-28-2001, 06:08 AM
Hi!

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 ?

Omaha
09-28-2001, 08: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.

McZ
09-28-2001, 03: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

Evil-Dog
09-29-2001, 08: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 !

-----------------------------
Evil-Dog
*Sleep is a waste of time*

McZ
09-30-2001, 11:35 PM
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

Bob
09-30-2001, 11:39 PM
Assuming you DO have a Z-buffer, did you enable it? You know, it's disabled by default.

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

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