Hi,
I want to draw a background, just like the java3d background, but using
hardware acceleration. I put a textured rectangle in front of my camera, and
then I apply a 3D transform on my scene objects to be able to move around.
Cool, until that point it's working fine.
Unfortunately, when my scene objects go behing the rectangle background,
they disseapear, BUT I put a rendering attribute to my rectangle with values
in the constructor
true // so using the z-buffer
false // so disable z-buffer writing
0f    // value for the alpha test
ALWAYS // do NOT use alpha test funstion

so I should read values for the z buffer but not writing on it.

In fact if I enable the z-buffer writing I do not notice any difference.
None of my objects are transparents (no transparency attributes)

If I disable z-buffer use I just can see my background as expected.
Am I completly wrong ?

renaud cazoulat

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to