POV-Ray : Newsgroups : povray.unofficial.patches : Inverse Transformations patch : Re: Inverse Transformations patch Server Time
2 Sep 2024 06:16:12 EDT (-0400)
  Re: Inverse Transformations patch  
From: Chris Huff
Date: 24 Apr 2000 21:11:06
Message: <chrishuff_99-D161ED.20140424042000@news.povray.org>
In article <3904E833.C69DE058@pacbell.net>, lin### [at] povrayorg 
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] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.