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 06:50:06 EDT (-0400)
  Re: CSG bounding box broken with arbitrary transform  
From: Thorsten Froehlich
Date: 20 Aug 2009 09:55:42
Message: <4a8d55de$1@news.povray.org>
clipka wrote:
> Thorsten Froehlich schrieb:
>> Without having tested the scene, could it be that the plane has simply 
>> been flipped by the macro? Is there a minimal scene showing this problem?
> 
> That's the minimal scene already. Well, aside from texturing that is.

Scne with macro and include != minimal scene ;-)

> The effect kicks in whenever the transformation leaves any of the normal 
> vector components exactly (or sufficiently close to) +/-1; for instance, 
> the following will provoke the problem as well:
> 
>   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.)

Ok, yes, it should not be a problem to fix the bug my normalizing the plane 
normal after all transforms then. This probably is a rather old bug...

	Thorsten


Post a reply to this message

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