Abed,

> I got the problem fixed by using relative
>path instead of absolute. here is what I have now and it works
>beautiful.
>
>
>
>                         texture       ImageTexture {
>                           url "file:/WRL/petriapproach/scalp.gif"
                                 ^^^^^^

This should not work in Vrml97Viewer, it is not a Relative URL.
A relative url is relative to the location of the embedding document,
and needs no protocol because that is implied by that parent document.

Relative URL is not imposed upon Anchor nodes, but is on all other URLs,
especially those in script nodes for security reasons.

This is very similar to restrictions imposed by Applets and intentionally
so. So, if the above field actually worked, then this is a bug.


                        Rick

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to