#1
|
|||
|
|||
vizshape.addQuad doesn't support alignment
How can I align a quad?
|
#2
|
|||
|
|||
You can pass in align arguments when you create the quad:
Code:
import viz import vizshape import vizcam viz.go() grid = vizshape.addGrid(color=[0.2]*3) viz.clearcolor(viz.GRAY) quad = vizshape.addQuad(xAlign=vizshape.ALIGN_MAX,yAlign=vizshape.ALIGN_MIN,color=viz.BLUE) quad2 = vizshape.addQuad(xAlign=vizshape.ALIGN_MIN,yAlign=vizshape.ALIGN_MAX,color=viz.RED) cam = vizcam.PivotNavigate(distance=5) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
vizshape.addQuad doesn't support size | fabioped | Vizard | 1 | 08-05-2013 03:46 PM |
Support for multiple video cards | kopper | Vizard | 2 | 06-07-2013 04:50 PM |
Collada support | Enlil | Vizard | 1 | 07-18-2011 01:48 PM |
Native DTrack support? | dtidrow | Vizard | 0 | 07-10-2009 10:00 AM |
Online Support from Forum | bailenson | Vizard | 0 | 09-22-2004 08:54 PM |