Hi all,

I have a 3D scene composed by 2 planes an d I have two problems.

I set transparency attributes on them but when I add texture (image
.gif) on one of them,
both are not transparent any more. How can I have transparency again and
in the same
time texture ? Here is the code I use to set the texture :

    TextureLoader loader = new TextureLoader(imageName, this);
    Appearance appear = new Appearance();
    appear = plane.getAppearance();
    appear.setTexture(loader.getTexture());

where plane is the plane on which I add the image as texture.

Then, I would like to implement a zoom but not only in the Z axe (as
MouseZoom behavior).
I would like this zoom  work even after several rotations and
translations of the scene and still
in the axe of the screen.

Is somebody have any idear about these two questions ?
Brice

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