hello
i was very much concerned about bringing textures in browser. but i used to
receive the message that:
unable to load image.

i searched alot on interest group, and what i found was that this is a
java3d-problem, because, trees compiles up eariler then the image to get
loaded.
it was suggested, that we shd make a loop, to wait, until the image loads
completely, and then allow the tree to compile.


BUT.. i think i found the REAL answer to this problem
we need to provide absolute positioning in java3d code for pictures and
other files.

for instance, in my case:

TextureLoader bgtex1 = new TextureLoader(new string("
c:\\jbuilder3\\myprojects\\theGame\\blue.jpg"),new String("RGB"),this);

this really worked.
and now i can view textures even, when i run my java3d application in
browser.

(for running the applet on webserver, u wud require to add complete address
like  "http://ntws026/java3d/images/blue.jpg" )


Fahad

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