/**
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;
}