Hi all,
    I have recenlty started playing with java3D, and I am using the
ColorCube and rotating it around on the
screen via the mouseBehavior stuff I am getting 16 - 24 fps, with a gif
mapped onto the surface.

As soon as I turn transparency on, the fps drops to 3-4 fps...

is this normal?????

I am running on NT 4.0 sp 3 (P3, 400Mhz)  Rendition Verite Video Card
(v1000)


Also when I map the texture on I can only get it to appear on 2 faces...how
do I map it on all faces???

 TextureLoader loader = new TextureLoader(sObjTexName , this);
    ImageComponent2D iObjImage = loader.getImage();
    Texture2D tex = new Texture2D(Texture.BASE_LEVEL,
                                                            Texture2D.RGBA,

iObjImage.getHeight(),

iObjImage.getWidth());

    tex.setImage(0, iObjImage );
    tex.setEnable(true);
    tex.setBoundaryModeS( Texture.WRAP );
    tex.setBoundaryModeT( Texture.WRAP );
    app = new Appearance();
    TextureAttributes tatt = new TextureAttributes();
    tatt.setTextureMode(TextureAttributes.BLEND);
    Transform3D trans = new Transform3D();
    trans.setScale(2.0);
    tatt.setTextureTransform(trans);
    app.setTextureAttributes(tatt);
    app.setTexture(tex);
/* With this code uncommented the fps drops to 4 fps...YUK!!
  TransparencyAttributes ta = new TransparencyAttributes();
  ta.setTransparencyMode(ta.BLENDED);
  ta.setTransparency(0.01f);
  app.setTransparencyAttributes(ta);
*/

ThanX
Dan Hopkins
[EMAIL PROTECTED]

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