POV-Ray : Newsgroups : povray.text.scene-files : Re: Announce: IsoCSG include file 0.2.1 : Re: Announce: IsoCSG include file 0.2.1 Server Time
29 Jul 2024 04:25:34 EDT (-0400)
  Re: Announce: IsoCSG include file 0.2.1  
From: Christoph Hormann
Date: 15 Mar 2002 07:43:39
Message: <3C91EC7C.8364088@gmx.de>

> 
> 
> #macro IC_Cone (Start, Radius1, End, Radius2)
>   #switch(select(Radius1-Radius2,-1,0,1))
>  [...]

Wow, those selects can really confuse...

I think both these and the 'B' versions should be in separate include
files since they are purely optional.  

I have not tried yet, but i suppose using f_rounded_box() is faster than
your version while the cylinder/cone macros are better than a manual
translation of the rounding macros from 'shapes.inc' with radius 0.

I will also add a 'compensated' version of scale to maintain the linear
distance as good as possible (correcting with the average of the scales
with non isotropic scaling).

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 13 Mar. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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