Hi Gianni,

  TransparencyAttributes should works with DirectX version except
that TransparencyMode values FASTEST, NICEST and
SCREEN_DOOR are the same as BLENDED under D3D.

Is this happen on v1.2.1 release or v1.3 beta1 release ?
What kind of OS and graphics card are you using ?

Please send us a test case for investigation.

Thanks.

- Kelvin
---------------
Java 3D Team
Sun Microsystems Inc.

>Delivered-To: [EMAIL PROTECTED]
>MIME-Version: 1.0
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>Date: Sat, 24 Nov 2001 16:00:49 +0100
>From: Gianni Riccio <[EMAIL PROTECTED]>
>Subject: [JAVA3D] TransparencyAttributes with DirectX!!
>To: [EMAIL PROTECTED]
>
>Hi all,
>I have got a doubt:
>TransparencyAttributes works with DirectX or it works only with OpenGL version??
>Please help me ,why this piece of code doesn't work with DirectX!
>Shape3D lineax= new Shape3D();
>
>LineArray axisXLines = new LineArray(2, LineArray.COORDINATES | LineArray.COLOR_3 );
>
>objRotate.addChild(new Shape3D(axisXLines));
>
>lineax.addGeometry(axisXLines);
>
>axisXLines.setCoordinate(0, new Point3f(-1.0f, 0.0f, 0.0f));
>
>axisXLines.setCoordinate(1, new Point3f( 1.0f, 0.0f, 0.0f));
>
>Color3f red = new Color3f(1.0f, 0.0f, 0.0f);
>
>Color3f green = new Color3f(0.0f, 1.0f, 0.0f);
>
>Color3f blue = new Color3f(0.0f, 0.0f, 1.0f);
>
>
>axisXLines.setColor(0,red);
>
>axisXLines.setColor(1,red);
>
>
>Appearance app = new Appearance();
>
>app.setTransparencyAttributes(new TransparencyAttributes(
>
>TransparencyAttributes.BLENDED, 1.0f));
>
>lineax.setAppearance(app);
>
>
>
>Regards.
>
>Gianni
>
>

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