Re: Depth_testing with Volumizer

New Message Reply Date view Thread view Subject view Author view

Robert Grzeszczuk (rg)
Tue, 24 Nov 1998 08:21:43 -0800


Stefan,

What software environment are you using for your development? Is it an OpenGL
program? Some platforms, like Inventor, maintain their state internally. For
example, they may turn on shading and enable depth tests while you're not
watching or use non-default mode settings. In addition to
glEnable(GL_DEPTH_TEST) you may want to add glDepthMask(GL_TRUE), and
glDepthFunc(GL_LESS) (these are all defaults in OpenGL). Try calling all of
these per-frame.

What happens when you run voglBasic or voglSimple? Is the wireframe correct?

-rg

On Nov 24, 3:05pm, Stefan van der Heijden wrote:
> Subject: Depth_testing with Volumizer
> I'm building aan application based on Volumizer, but depth testing
> doesn't seem to work.
> Also the Wireframe round the volume isn't displayed correct.
> The volume is always blended over the frame.
> Anybody know how to enable depth test?
> (GLEnable(GL_DEPTH_TEST) doesn't seem to work)
>
>
> --
> J.W.M v/d Heijden -oOo-@-@-oOo-
> XRD Predevelopment Philips Medical Systems
> Building QJ2327, Veenpluis 2, Best, The Netherlands
> Phone: +31-40-2762275 Fax : +31-40-2765657
> mailto:Stefan.vdHeijden@best.ms.philips.com
> http://members.xoom.com/AxeCrazy
> Just a memory remains....
>
>-- End of excerpt from Stefan van der Heijden


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Nov 01 1999 - 10:49:29 PST