WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   how to create ground? (https://forum.worldviz.com/showthread.php?t=1533)

guxmy01 06-16-2008 09:48 PM

how to create ground?
 
rather than using the provided script for ground (viz.add('tut_ground.wrl')), how can i insert my own ground?is it in jpeg format or wrl? :confused:

farshizzo 06-17-2008 10:38 AM

If you want to apply your own texture to the existing ground model then you can use the following code:
Code:

tex = viz.add('mytexture.jpg')
ground = viz.add('tut_ground.wrl')
ground.texture(tex)

Or you can create your own ground model using a 3D editor and import it directly into Vizard.


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

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