WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   Texture for Custom 3d Objects (

sohamk97 05-18-2017 07:07 AM

Texture for Custom 3d Objects
1 Attachment(s)

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.

Attachment 936

Jeff 05-21-2017 10: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.

sohamk97 05-21-2017 10: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.

All times are GMT -7. The time now is 04:59 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC