Hello,

I'm to much of a novice to answer the transform group question. The only
suggestion is to go to http://www.web3d.org site and troll around for "The
Annotated VRML 2.0 reference Manual" which is in electronic form and is a
VRML reference.

However, there are some examples and discussions in the Jav3D API book (the
CD has some examples that use the vrmlloader) and the "3D user interfaces
with Java3D" book by Barrilleaux.

John F. Richardson

>Hi!
>
>I would like to ask how does the VRML Loader work because I am stucked as
>to why my model
>is moving it's coordinates everytime i press a button that modifies the
>transformgroup of the attached viewplatform.
>
>How does one load VRML content to a Scenegraph? Is is sufficient enough to
>use the VrmlLoader,Scene, and the Scene.getSceneGroup methods?
>Sorry for this question!It seems very elementary but I really dont know
>the answers since there are no tutorials for the loader and even a
>programming reference,
>
>
>public class admi_loader extends TransformGroup
>{
>        VrmlLoader loader;
>        BranchGroup sceneGroup;
>        TransformGroup examineGroup;
>
>        admi_loader()
>        {
>
>        sceneGroup=new BranchGroup();
>
>        loader = new VrmlLoader();
>
>        Scene scene = null;
>        try {
>                // load the scene
>                scene = loader.load("admi.WRL");
>            } catch (Exception e) {
>                System.out.println("Exception loading file from path:" + e);
>            }
>
>        if (scene != null)
>        {
>            // get the scene group
>            sceneGroup = scene.getSceneGroup();
>            sceneGroup.setCapability(BranchGroup.ALLOW_DETACH);
>            sceneGroup.setCapability(BranchGroup.ALLOW_BOUNDS_READ);
>        }
>
>        this.addChild(sceneGroup);
>
>
>My program works by calling the VRML classloader for that model which is
>extended as a Transformgroup and is then added to a branchroup that is
>attached to the locale object.
>I also have multiple transformgroups attached to the branchgroup that are
>used by the view object depending on what view the user is
>(attachviewplatform).
>
>What is the 3DB file format?I hope someone has the answers to my question
>because I am already thinking of exporting my models from 3D Studio max to
>3db because there is existing code that converts the 3db model into
>shape3d objects.
>
>Thanks! Sorry for the long letter!Sorry for the inconvenience!
>
>
>Jonathan
>
>__________________________________
>www.edsamail.com
>
>===========================================================================
>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".
>
>
>
>__________________________________
>www.edsamail.com
>
>===========================================================================
>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