Forums > Jitter

Rotate quads: vertex or texcoord?

March 5, 2009 | 11:15 am

Hello,

I have a scene full of quads which have the same texcoord (exactly the same image and aspect) with blend enabled.

I would like these quads to be oriented in different direction.

Should I do this by rotating the quads themselves or their own individual texture coordinates,
and how can I do that?

Thank you.


March 5, 2009 | 5:13 pm

rotate the quads, definitely.
andrew b. posted the formula ages ago, i used it on several of my pojects. its a little low level then simple rotatexyz, but using matrix>jit.gl.mesh>jit.op>jit.gl.reneder is most efficient and when you get comfortable with it. most powerful.
http://www.cycling74.com/forums/index.php?t=msg&goto=11619


March 5, 2009 | 5:14 pm

this is the right link
http://www.cycling74.com/forums/index.php?t=msg&goto=116193
o, how i miss the list…


March 5, 2009 | 7:52 pm

Ok. Many thanks Yair.
I’m going to study that.


January 2, 2013 | 11:29 pm

Thank you!!


January 3, 2013 | 1:49 am

I’ve done a jit.gen porting, maybe it could be improved…

– Pasted Max Patch, click to expand. –

Viewing 6 posts - 1 through 6 (of 6 total)