WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Texture for Custom 3d Objects (https://forum.worldviz.com/showthread.php?t=6015)

sohamk97 05-18-2017 07:07 AM

Texture for Custom 3d Objects
 
1 Attachment(s)
Hello,

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 05:15 PM.

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