Forums > Jitter

Unexpected behavior for td.twirl shader

November 27, 2011 | 2:25 am

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. –

November 27, 2011 | 8:02 pm

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


November 27, 2011 | 8:22 pm

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


November 28, 2011 | 9:35 pm

Thanks, gents!


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