Can anybody tell me what is going wrong here??
I'm sure it's something simple, but I'm not seeing it.

Basically, I use the example A3DApplet.java from one of David Nadeau's 
tutorials, and in place of the ObjectFile, I insert the ncsa DXF loader.

All I get is a blank canvas....

ideas?


    ModelLoader ml = new ModelLoader();
    Scene s = null;
    try {
      s = ml.load("Filename.dxf");
    }
    catch (FileNotFoundException e){}
    catch (ParsingErrorException e) {}
    catch (IncorrectFormatException e) {}

    BranchGroup bg = new BranchGroup();
    bg = s.getSceneGroup();
    objTG.addChild(bg);         // objTG is aTransformGroup for the object
    sceneTG.addChild(objTG);    // and a TG for the scene



=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to