POV-Ray : Newsgroups : povray.unofficial.patches : Inverse Transformations patch : Re: Inverse Transformations patch Server Time
2 Sep 2024 12:15:36 EDT (-0400)
  Re: Inverse Transformations patch  
From: Ron Parker
Date: 27 Apr 2000 17:12:04
Message: <slrn8ghbv7.5ud.ron.parker@linux.parkerr.fwi.com>
On Tue, 25 Apr 2000 11:06:46 -0500, Chris Huff wrote:
>In article <3905aa7f@news.povray.org>, Warp <war### [at] tagpovrayorg> 
>wrote:
>
>>   There's another problem. What about this:
>> 
>> box
>> { <1,2,3>, <4,5,6>
>>   rotate x*30
>>   texture { Whatever }
>>   rotate y*45
>> }
>> 
>>   What will be the transformation got out of that?
>
>transform {rotate x*30 rotate y*45}
>There is only one transform struct per object, all transforms are added 
>into it. The transform struct contains two matrices, this is what made 
>implementing "inverse" so easy.

Trick question: what's the transform matrix for the sphere in

sphere {
  0, 2
  translate <1,0,1>
  scale 2
}

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
These are my opinions.  I do NOT speak for the POV-Team.


Post a reply to this message

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