POV-Ray : Newsgroups : povray.unofficial.patches : Inverse Transformations patch : Re: Inverse Transformations patch Server Time
2 Sep 2024 06:17:24 EDT (-0400)
  Re: Inverse Transformations patch  
From: Warp
Date: 25 Apr 2000 07:30:43
Message: <390581e3@news.povray.org>
I think that this patch is not of very much use if we can't get the
transformations from an object. You seldom define the transformations of
an object separately.
  How about a function to get the transformations applied to an object?
Something like:

#declare Trans = transformations(MyObject)

object
{ MyObject
  transform { Trans inverse }
}

  This would create an instance of MyObject without transformations.

  Of course there's a problem: What if MyObject is a CSG with nested
transformations?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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