WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-09-2013, 10:42 AM
fabioped fabioped is offline
Member
 
Join Date: Feb 2013
Posts: 21
vizshape.addQuad doesn't support alignment

How can I align a quad?
Reply With Quote
  #2  
Old 08-09-2013, 02:08 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 11:41 AM.


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