Unexpected behavior for td.twirl shader

jeffburger's icon

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

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

Rob Ramirez's icon

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

Wesley Smith's icon

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

jeffburger's icon

Thanks, gents!