Color
Can I change the color of the models that add in vizard?
example. The box.wrl has Vizard is red, if I want change color How I do? model1=viz.add('box.wrl') model1.CHANGECOLOR(green) :confused::rolleyes: |
Code:
model1.color(viz.GREEN) |
Frank Verberne.
not working your code or tell me the error viz.go() viz.setMultiSample(4) viz.fov(60) viz.clearcolor(viz.SKYBLUE) edificio=viz.addChild('model/ID_1.dae',pos=[0,0,0]) edificio.color(viz.GREEN) Result: http://bit.ly/1mPIpCY |
This my result:
http://bit.ly/1mPIpCY |
The code should work for the box.wrl that comes with Vizard. I don't anything about your collada model, so perhaps an exporting issue? Check this knowledge base for more information about importing collada models in Vizard: http://kb.worldviz.com/articles/1413. The answer to your other scale question is also on that page.
|
All times are GMT -7. The time now is 07:38 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC