Xavier,

Rereading your email it appears that the application of the texture may be
your issue rather than navigating the hierarchy.  The Texturing examples
for Java3D are a help here with the following code:

        // Create appearance object for textured cube
        Appearance app = new Appearance();
        Texture tex = new TextureLoader(texImage, this).getTexture();
        app.setTexture(tex);
        TextureAttributes texAttr = new TextureAttributes();
        texAttr.setTextureMode(TextureAttributes.MODULATE);
        app.setTextureAttributes(texAttr);

You would then apply these attributes to your object.

**NOTE**: There are many, many ways to texture map objects from including
having texture coordinates auto-generated or specifying them yourself or
with a loader.  Additionally, if you are mapping anything more complex than
a single object with a texture all around you will likely want to specify
which polygons are mapped with a particular texture.

--Mark

Mark Ferneau
Xtivia Technologies, Inc.
[EMAIL PROTECTED]
240-462-6262 (cell)
801-437-4608 (efax)
[EMAIL PROTECTED] (text page)

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