POV-Ray : Newsgroups : povray.advanced-users : IsoCSG rounded shape macros : Re: IsoCSG rounded shape macros Server Time
29 Jul 2024 12:16:38 EDT (-0400)
  Re: IsoCSG rounded shape macros  
From:
Date: 22 Apr 2002 07:51:06
Message: <dqt7cu4mss3h0jlm3lffj7f2b7nt0kb573@4ax.com>
On Mon, 22 Apr 2002 12:39:11 +0100, "Reuben Pearse"
<reu### [at] presence-systemscom> wrote:
> //Rounded cone function declaration
> #declare fn_1 = IC_Threshold( IC_Cone (-x, 0.2, x, 0.8), 0.2)
>
> I get this error in the Reorient_Trans macro in transforms.inc
> #error "error in Reorient_Trans macro: Axis1 may not be exact opposite of
> Axis2"
>
> Any ideas?

Reorient_Trans is a macro from transforms.inc in standard distribution.
As simple workaroud try to make your cone along y axis and rotate it around z
to place along x. Something like:

IC_Threshold( IC_Rotate( IC_Cone (-y, 0.2, y, 0.8) , z*90 ), 0.2)

Unfortunatelly additional rotation can a little slow down evaluation.

ABX


Post a reply to this message

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