Support projection matricies with the transformXYZ CHOP

the transform chop combined with the transformxyz chop is so powerful and extremely fast for dealing with moving coordinates from one space to another.

Right now it’s entirely fine moving between regular spaces, but going from viewspace to projection space behaves in a way that is not correct.

Am I missing anything, or is this currently not possible? don’t think the transformxyz chop even knows to do perspective divide correct?


Green is correct, manipulated using tdu.Matrix() and manually xforming points. Red is my attempt doing it with transform chop + transformxyz chop.
image


transformxyz_projectionMatrix_bug.1.toe (800.4 KB)