Christian Schnabl wrote:
I'm not sure if its possible but is there a way to load a vrmlfile as a textfile, put
it into a stream,
let it pick up by an applet that will use the xj3d VRML97Loader to retrieve the Scene
from this Stream
It's a bit hard to work out exactly what you are trying to do. From your
description, all I see that you want to do is read a VRML file from an
arbitrary stream.
If that is what you need, then yes, the basic Loader interface supports
this. Look at the method load(java.io.Reader) for more details. Note
that if you do this, you will need to call setBaseUrl() on the loader
too, so that we know where to resolve URLs relative to.
--
Justin Couch http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler http://www.yumetech.com/
Author, Java 3D FAQ Maintainer http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
- Greg Bear, Slant
-------------------------------------------------------------------
===========================================================================
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".