We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › vertex() does not behave like point()
Page Index Toggle Pages: 1
vertex() does not behave like point() (Read 603 times)
vertex() does not behave like point()
Feb 11th, 2010, 11:44am
 
So I'm drawing a bunch of points. I transform to a location, then draw a ring of points by using rotate. If I use point(), I get a nice ring like I want. But if I do beginShape( POINTS ) and use vertex(), I get them all on one spot.  vertex() seems to be affected by transform(), but not by any of the rotation functions, or the rotation matrix. Is that right? Or am I missing something?

Thanks in advance.

EDIT: Also, sorry about the double post. I got an error on the first try, thought it didn't go through.
Re: vertex() does not behave like point()
Reply #1 - Feb 11th, 2010, 12:53pm
 
Figured out the problem myself. I was doing tranlations and rotations during a beginShapes() call, which I guess will break it?
Page Index Toggle Pages: 1