I had posted a problem before about setting the world url for a vrml object
in the vrml loader code, it sets the URL object to ./ or .\
which will give a malformed url exception
the correct code is shown below
so, if you want to change your Loader.java class to make it so that you can read
from a Reader object correctly
here ya go
public void setWorldURL(URL baseURL, URL worldURL) {
this.worldURL = worldURL;
if (baseURL == null) {
if (worldURL == null) { // input is from an input stream
//worldURLBaseName = new String("."+ File.separator);
worldURLBaseName = new String("file:" + File.separator + "." +
File.separator); //fix show here
} else {
Scott Decker
Research Scientist
Pacific Northwest National Labs
[EMAIL PROTECTED]
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/