Attached is an app that demonstrates my texture problem. It uses the Xj3d loader.

To run:

java IndieViewer file.wrl

It displays four viewports of the same scene, pauses, goes to single viewport mode, 
pauses, then goes back to tiled mode.

The textures disappear after going to single viewport mode.

Curiously, if the textures haven't completed loaded before the view mode is switched, 
they will appear afterwards. Try changing the pauses in main() and you'll see what I 
mean. For example, if I pause for 4 secs, the textures aren't loaded until I go to 
single viewport mode. In single viewport mode, the texture appears. When I return back 
to tiled mode the first viewport's texture (the one displayed in single viewport mode) 
is MISSING, but the ones that were never shown are there!!! Crazy, but probably gives 
insight as to what is happening.

josh

----------------------------------------------------
Joshua L. Richmond, BASc, MSc.  
Systems Engineering (R&D)

MD Robotics
9445 Airport Rd, Brampton, ON, Canada
(905) 790-2800 x4332
-----------------------------------------------------

Attachment: IndieViewer.java
Description: JavaScript source

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Josh Richmond
TEL;WORK:(905) 790-2800 x4332
ORG:MDRobotics Ltd.;Systems Engineering (R&D)
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Richmond;Josh
TITLE:BASc., MSc.
ADR;INTL;WORK;PARCEL;POSTAL:;Mailstop 23;9445 Airport Rd;Brampton;ON;L6S 4J3;Canada
LABEL;INTL;WORK;PARCEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Josh Richmond=0A=
Mailstop 23=0A=
9445 Airport Rd=0A=
Brampton, ON  L6S 4J3=0A=
Canada
LABEL;DOM;WORK;PARCEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Josh Richmond=0A=
Mailstop 23=0A=
9445 Airport Rd=0A=
Brampton, ON  L6S 4J3
END:VCARD

Reply via email to