Rotate quads: vertex or texcoord?

Mar 5, 2009 at 11:15am

Rotate quads: vertex or texcoord?


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.

Mar 5, 2009 at 5:13pm

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.op> is most efficient and when you get comfortable with it. most powerful.

Mar 5, 2009 at 5:14pm

this is the right link
o, how i miss the list…

Mar 5, 2009 at 7:52pm

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

Jan 2, 2013 at 11:29pm

Thank you!!

Jan 3, 2013 at 1:49am

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

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.