I'm using DirectX Java 3D on my Radeon 9700 and all
transparencies are flawless, even the FASTEST (the quality on that mode actually
surprised me). I'm guessing your Appearance isn't set up properly... Here's a
sample from out game:
appGhostSlimer = new
Appearance();
appGhostSlimer.setMaterial(new Material(ID_SLIMER, COLOR_BLACK, ID_SLIMER, COLOR_BLACK, 80.0f)); appGhostSlimer.setTransparencyAttributes(new TransparencyAttributes(TransparencyAttributes.FASTEST, 0.3f)); Shape3D b = (Shape3D)
bodyFrame1.cloneTree();
b.setAppearance(appGhostSlimer); Hope this helps,
CHRIS
Btw, it is my understanding that 0.3f = 30%
transparent and 1.0f = 100% transparent.
=========================================================================== 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". |
- [JAVA3D] Transparency and DirectX "Schäfer, Peter"
- Re: [JAVA3D] Transparency and DirectX Michael Pfeiffer
- Christian Britton