Examples of VrmlLoader


Examples of org.jdesktop.j3d.loaders.vrml97.VrmlLoader

  /**
     Loads a .wrl or .wrl.gz VRML file to a Scene
   */
  public static Scene vrml2scene(String filename) {
    Scene s = null;
    VrmlLoader f = new VrmlLoader();
    try {
      filename=Convert.fixFileName(filename);
      if(filename.startsWith("http://"))
        s=f.load(new java.net.URL(filename));
      else
        s = f.load(filename);
    }
    catch (Exception e) {
      Prolog3D.pp(e);
      return null;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.