The TransparencyAttributes seem to be correct and I have never seen this
effect (using Windows/DirectX and Linux/GLX). Possibly the reason for this
problem can be found somewhere else in your scene graph!?

Le Thu, 30 Oct 2003 09:25:24 +0100, Schäfer, Peter
<[EMAIL PROTECTED]> a écrit:

<?xml version="1.0" ?>
I have some trouble creating a partially transparent object with Java3D
for
DirectX:

    TransparencyAttributes ta = new
TransparencyAttributes(TransparencyAttributes.FASTEST, 0.5f);

However, the resulting object is completely transparent (i.e. invisible)
!
I also tried other tranparency modes (NICEST, BLENDED), with the same
result.
The object has no texture, only diffuse and ambient color.

Is there a problem with DirectX, or am I missing something ?






=========================================================================== 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".



-- Virtual Worlds Productions Software Development Group http://www.virtualworlds.de

===========================================================================
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