Unexpected behavior for td.twirl shader

Nov 27, 2011 at 2:25am

Unexpected behavior for td.twirl shader

I’ve used other tx-class shaders successfully, but tx.twirl is baffling me (in both Max 5 and 6 on Mac). I thought it wasn’t working at all…. just fills the window with a solid color. I’ve now found that occasionally a source image will allow me to see a spiral… but it’s basically monochrome and lacks any detail of the source image. It’s like it’s just grabbing a small block of source pixels and twirling them, rather than the classic twirled full image like in Photoshop and other systems. Any information is appreciated!

Thanks!

Jeff

– Pasted Max Patch, click to expand. –
#60276
Nov 27, 2011 at 8:02pm

thanks for the report.
i can reproduce, and we’ll try and figure out what’s going wrong here.

#216956
Nov 27, 2011 at 8:22pm

It’s because the texture coordinates used go from [0, 1] and not [0, dim]. I’ve fixed this for the next release.

#216957
Nov 28, 2011 at 9:35pm

Thanks, gents!

#216958

You must be logged in to reply to this topic.