View Full Version : Texture for Custom 3d Objects

05-18-2017, 08:07 AM

I am new to Vizard.
I am am able to apply 'brick.jpg' texture to the in-built white_ball.wrl (sphere) but the similar code is not working for another sphere, taken from 3D warehouse and exported as .wrl from SketchUp. Please refer the code below (sphere.wrl included)

Thanks in advance.


05-21-2017, 11:01 PM
The model that you apply a texture to in Vizard must have texture coordinates. To ensure that the model has texture coordinates apply a texture, such as a flat color texture, in Sketchup. Then you can change it in Vizard.

05-21-2017, 11:28 PM
Hello Jeff,

Thanks a lot for the help. My model was missing texture co-ordinates and the code is working fine now.
I also tried importing a basic model from 3DS Max and saw the property of texture co-ordinates there.