Hi.


>Is there anyway to make the Raster object transparent?  Thanks in advance.
>
>-Tachio


Yes.

    Raster raster = new javax.media.j3d.Raster();

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

    Appearance app = new Appearance();
    app.setTransparencyAttributes( ta );

    Shape3D rasterShape = new Shape3D( raster, app );

That's it.

Masahito Ohtsuka.



=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to