PDA

View Full Version : how to create ground?


guxmy01
06-16-2008, 09:48 PM
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: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.