|
 |
In article <3904E833.C69DE058@pacbell.net>, lin### [at] povray org
wrote:
> Chris Huff wrote:
> >
> > I just finished testing my latest patch, which adds inverse transforms
> > to objects, textures, and anything else that can take a transform. The
> > syntax is very simple, just add "inverse" in the transform {} block.
>
> What purpose does an inverse tranformation serve (what does it do and
> why do we need it) ?
Transform Trans changes pointA into another pointB. If the inverse of
Trans is applied to pointB, you get pointA back. It is just the reverse
of an ordinary transformation.
BTW, I got my new syntax for transform partially working, you can now
embed transform {} blocks in objects and in the vtransform() function.
And the old syntax still works. I haven't made the necessary
modifications to textures yet, though. I might try to get a cleaner way
of doing things, there is currently many similar chunks of largely
duplicated code.
--
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
|
 |