|
![](/i/fill.gif) |
In article <3904F3D5.CF178365@pacbell.net>, lin### [at] povray org
wrote:
> So if I had an object at <-1,0,-1> the inverse tranformation would now
> locate the object to <1,0,1> ?
No. The inverse transform moves the point in a way that would undo the
transform. The inverse transform of "translate <-1, 0,-1>" would be
"translate < 1, 0, 1>", but the point being transformed doesn't matter.
The inverse of rotate x*45 is rotate -x*45, the inverse of scale 0.5 is
scale 2, and I don't feel like trying to invert a matrix right now. It
gets more complex with multiple transforms in a row, I think you have to
reverse each one and also reverse their order. The inverse transform
patch makes this juggling of transforms unnecessary.
--
Christopher James Huff - Personal e-mail: chr### [at] yahoo com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |