JC> that the JAR file was located in? From memory, the J3D VRML loader
JC> doesn't have any capabilities at all for dealing with these issues.
Yes, i heard that too. But what if u use full url in wrl file and put the
textures wrl model refers to outside the jar file it's being wrapped
into? Actually i haven't tried it myself (all i did was loading wrl model
without any textures from .jar file), but guess this should work out.

vladimir
             -=V=-
>-------<=============>-------<
Join in Java community now!
http://JavaCafe.VirtualAve.net/
>-------<=============>-------<

In your previous letter u wrote:
--------------------------------
JC> Vladimir Olenin wrote:
>>
>> Just jar the your.wrl file and load it via jar: protocol like this:
>> jar:http:\\yourdomain\yourjar.jar!\your.wrl. For further information
>> see API doc for JarURLConnection class.

JC> The problem with this is that VRML itself is not defined to work from a
JC> JAR file. Don Brutzman was extremely keen for me to get that into the
JC> EAI and scripting specs, but it never happened because there was no
JC> elegant solution at the time. I then left VRML efforts.

JC> Sometime later, I can up with a nice solution. I proposed to Don to make
JC> the appropriate wording additions to the EAI spec but got knocked back.
JC> The grounds were that the EAI was going through the ISO process (which
JC> it _still_ hasn't to my knowledge). Therefore the behaviour of VRML in
JC> any archived format (JAR, ZIP, CAB etc) is completely non-deterministic.

JC> The problem is dealing with relative references. For example, if you
JC> refer to a texture as "image.png" how does the browser know whether to
JC> fetch it from the same dir in the JAR file, or from the same directory
JC> that the JAR file was located in? From memory, the J3D VRML loader
JC> doesn't have any capabilities at all for dealing with these issues.

JC> --
JC> Justin Couch                                   Author, Java Hacker
JC> Snr Software Engineer                             [EMAIL PROTECTED]
JC> rbuzz.net                           http://www.vlc.com.au/~justin/
JC> Java3D FAQ                                 http://www.j3d.org/faq/
JC> -------------------------------------------------------------------
JC> "Look through the lens, and the light breaks down into many lights.
JC>  Turn it or move it, and a new set of arrangements appears... is it
JC>  a single light or many lights, lights that one must know how to
JC>  distinguish, recognise and appreciate? Is it one light with many
JC>  frames or one frame for many lights?"      -Subcomandante Marcos
JC> -------------------------------------------------------------------

JC> ===========================================================================
JC> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
JC> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
JC> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
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".

Reply via email to