texrotate problem with jit.gl.multiple

nesifao's icon

Hello,

I can't manage to use texrotate with jit.gl.multiple. Is there a way to use it?

Thanks in advance

Max Patch
Copy patch and select New From Clipboard in Max.

vichug's icon

what does this attribute do ? there is no doc in the ref

nesifao's icon

It allows to rotate the texture. I know this can be done with dinmap the matrix texture but I really want to save some ressources. I only see to use a shader as the last option...

Rob Ramirez's icon

you have to use @glparams tex_plane_s tex_plane_t for this:

Max Patch
Copy patch and select New From Clipboard in Max.

Greg Finger's icon

that TexCoordMagic is some good stuff, i've used it before but not exactly sure where it even originated from. just saved it as a snippet.

Rob Ramirez's icon

in a way, the magic has always been with us

Diemo Schwarz's icon

Alas, the magic has been taken away from us!

jit.gl.multiple: unsupported glparam: tex_plane_s

jit.gl.multiple: unsupported glparam: tex_plane_t

(Or maybe the spell just needs to be updated...)

(I'd be curious to learn the spell for simple 90º texture rotation.)

Rob Ramirez's icon

we have some new texture manipulation functionality coming to jit.gl.multiple very soon, but sadly rotation is not part of that feature. are you hoping to rotate textures of individual instances? easiest way to do that I think is to simply pack in the rotated texture and select that texture for that instance.

Max Patch
Copy patch and select New From Clipboard in Max.