#1
|
|||
|
|||
Can I create a box like this in Vizard?
Can I create a box just like this in vizard ? I can easily make it transparent, but I would love to have this effect on its vertices. However, I could not find a way through add.vizbox.
Ideas? Thank you very much. |
#2
|
|||
|
|||
Yeah, just create another box and set the polyMode to viz.POLY_WIRE. Here is some sample code that shows how to achieve this effect:
Code:
size = [1,1,1] box = viz.addGroup() box.faces = vizshape.addBox(size,splitFaces=True,cullFace=False,parent=box) box.faces.alpha(0.5) box.faces.color([0.77, 0.90, 0.13]) box.lines = vizshape.addBox(size,lighting=False,cullFace=False,parent=box) box.lines.polyMode(viz.POLY_WIRE) box.lines.lineWidth(6) box.lines.color([0.24, 0.42, 0]) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Realistic Light and Shadows Using Vizard and 3DS Max | jde | Vizard | 4 | 07-13-2012 10:58 AM |
Vizard 4 Beta Testing | farshizzo | Announcements | 0 | 02-01-2011 10:46 AM |
Vizard 4 Beta Testing | farshizzo | Vizard | 0 | 02-01-2011 10:46 AM |
.3DS importing in Vizard and 3D Studio | jde | Vizard | 1 | 08-28-2009 03:14 PM |
Vizard tech tip: Using the Python Imaging Library (PIL) | Jeff | Vizard | 0 | 03-23-2009 11:13 AM |