POV-Ray : Newsgroups : povray.advanced-users : Paraboloid with thickness : Re: Paraboloid with thickness Server Time
26 Apr 2024 01:23:39 EDT (-0400)
  Re: Paraboloid with thickness  
From: Mike Horvath
Date: 26 Jan 2021 17:31:44
Message: <60109850$1@news.povray.org>
On 1/26/2021 5:26 AM, BayashiPascal wrote:
> Hi Mike,
> 
> I think you could use an isosurface like this:
> 
> #declare _thickness = 1.0;
> #declare thickParaboloid =
>    function { abs(pow(x,2) + pow(z,2) - y) - _thickness * 0.5}
> 
> isosurface {
>    function { thickParaboloid(x,y,z) }
>    max_gradient 15.0
>    contained_by { box { -5, 5 } }
>    texture { pigment { color rgb 1.0 } }
> }
> 
> Or, you could approximate it with a lathe object.
> 
> Hope it will help.
> 
> Pascal
> 
> 
> Mike Horvath <mik### [at] gmailcom> wrote:
>> How would I create a paraboloid with thickness N?
>>
>> I'm guessing I need need to create an offset surface of some sort. Does
>> it need to be an isosurface?
>>
>>
>>
>> Mike
> 
> 
> 
> 
> 


Thank you! I will test it out.


Mike


Post a reply to this message

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