You can get the BranchGroup, all the named Shape3D objects and their
Appearances.  Look in the docs for the methods available.  

-----Original Message-----
From: Claudio Mazzuco [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 21, 2004 3:38 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] A (i hope) simple question


I use the loader for .obj files to display some object made with a Cad
(Pro/Engineer). The cad exports the obj files, but not the information
about the texture, so i've to insert it manually on the .mgl file.
Finally i obtain a textured object, but the images are not so good: the
texture seems too blended and i want to try to change filters.

Now, the standard code to load an obj is:

   ObjectFile f = new ObjectFile(flags,(float)(Param.creaseAngle *
Math.PI / 180.0));
   Scene s = null;

        [..]

    s = f.load("sgue.obj");

   objTrans.addChild(s.getSceneGroup());

How can i access to the appareance class and change it? Is it possible
to change the filter on the fly? And the texture image?

Thanks

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

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