POV-Ray : Newsgroups : povray.beta-test : CSG bounding box broken with arbitrary transform : Re: CSG bounding box broken with arbitrary transform Server Time
7 Jul 2024 07:29:39 EDT (-0400)
  Re: CSG bounding box broken with arbitrary transform  
From: Nicolas Alvarez
Date: 27 Aug 2009 00:36:56
Message: <4a960d68@news.povray.org>
clipka wrote:
>    plane { -x, 0 transform { scale 2 rotate z*30 } }
> 
> (Omitting the "transform" statement will solve the issue in this case,
> probably because a different mechanism is then used to apply the scaling
> and rotation.)

If you use transform{}, a reverse transformation matrix is applied.
If you don't, scale and rotate will modify the vector and distance directly.
It's similar to how 'translate' in a sphere moves the sphere's center
instead of using a transformation matrix, for optimization.


Post a reply to this message

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