[Texture Slicing] Offset when rotating and cropping

Hi,

I’m trying to slice a big texture for a 3d geo into smaller tiles. Those tiles can be at any position of the original texture and can also be rotated.
To test the workflow I made a small td network that would take an input texture, rotate it, then crop it and feed the resulting image to the geometry’s material.

What I expect to see is:
I crop the texture, but by setting the offset and tiling in a texture SOP I can reposition that texture tile to its exact original position.

Where it doesn’t work:
The problem is, as soon as I introduce a rotation in the tranform TOP, the texture doesnt fit anymore in position and I cannot explain why this is happening…
Even without any rotation it seems like there is a tiny offset happening…

Does anybody have an idea why this is happening or how to prevent it ?
To compare original with the cropped output, just toggle the button

thanks!
rotatedTextureCropTest.toe (6.03 KB)