PDA

View Full Version : Textures of wrl file


TarkaDahl
03-18-2010, 05:46 PM
Hi All

I'm currently working on a simple program that loads up multiple wrl files which are made by the user.

The problem is that sometimes they dont have the textures in the correct place.

Is there a way to check to see it the textures have loaded correctly on a model? i want to put an error on my loading screen if they have not.

i was going to do it by using <node3d>.getTexture but i cant seem to get anything to work.

Thanks

TarkaDahl
03-19-2010, 02:05 PM
i suppose i could search through the wrl file and find the textures location then see if the image exists.

Jeff
03-22-2010, 10:26 AM
What are you using to create and export the models?