POV-Ray : Newsgroups : povray.newusers : Irregular cone scaling to bridge to curved edges? : Re: Irregular cone scaling to bridge to curved edges? Server Time
30 Jul 2024 04:17:51 EDT (-0400)
  Re: Irregular cone scaling to bridge to curved edges?  
From: Mike Williams
Date: 8 Oct 2004 00:00:06
Message: <kGMlfNAqbgZBFwSw@econym.demon.co.uk>
Wasn't it Dave! who wrote:
>Mike Williams <nos### [at] econymdemoncouk> wrote:
>> Wasn't it Dave! who wrote:
>> >What I actually want to do is something like this:
>> >
>> >cone {
>> ><0,0,0>, 1 scale <1,1,1.5>
>> ><0,1,0>, 1 scale <1,1,2.5>
>> >}
>> >
>> >I know that this isn't proper syntax, but I hope it illustrates what I'm
>> >after.  The endcaps each have a different radius, but the scaling for the
>> >two endcaps is different.  Can this be done?
>>
>> I think the proper syntax for that is
>>
>> #include "shapes.inc"
>> object{ Supercone(<0,0,0>, 1, 1.5 , <0,1,0>, 1 2.5)}
>>
>> but I don't think that it actually achieves your objective.
>
>Hmm--I'll mess around with it this evening.  Thanks to you both for your
>insight.  I'll let you know how things turn out.
>
>Is there a good online tutorial for isosurfaces?  I didn't have much luck
>with the POV-Ray help docs.

This was one of the rare occasions where I managed to resist immediately
suggesting an isosurface solution. Perhaps this bit of my isosurface
tutorial might help:

<http://www.econym.demon.co.uk/isotut/splines.htm#twolathe>

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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