How can i change this code to load a vrml object ? wich package should i import?
Thanks. Fabio //-------------------------------------------------- //Construindo um ContentBranch private BranchGroup constructContentBranch() { ObjectFile myOBJ = new ObjectFile(); Scene myOBJScene = null; //Attempt to load in the OBJ content using ObjectFile. try { myOBJScene = myOBJ.load(".\\cube.obj"); } catch (Exception e) { System.out.println("Could not open OBJ file...existing"); System.exit(1); } //Construct and return branch group containing our OBJ scene. BranchGroup contentBranchGroup = new BranchGroup(); contentBranchGroup.addChild(myOBJScene.getSceneGroup()); return(contentBranchGroup); } //-------------------------------------------------- _______________________________________________________________________________________________ Yahoo! Empregos O trabalho dos seus sonhos pode estar aqui. Cadastre-se hoje mesmo no Yahoo! Empregos e tenha acesso a milhares de vagas abertas! http://br.empregos.yahoo.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".