POV-Ray : Newsgroups : povray.binaries.images : Cylinder with Height-Field Top : Re: Cylinder with Height-Field Top Server Time
6 Nov 2024 22:13:33 EST (-0500)
  Re: Cylinder with Height-Field Top  
From: Thomas de Groot
Date: 4 Dec 2017 03:18:51
Message: <5a2504eb$1@news.povray.org>
On 4-12-2017 6:24, Sven Littkowski wrote:
> Hi.
> 
> I want to find out, how to create a cylinder where the upper round side
> has the curvaceous shape of a height-field. See the height_field
> attached to this posting.
> 
> PS: I use water_level 0.0001 for this height-field at the moment, to
> make it round.
> 

Use intersection{} ?

intersection {
   height_field {}
   cylinder {}
}

Then make a union of the circular height_field and the cylinder, 
translating it to the top. Use the parameter 'open' with the cylinder to 
remove the caps.


-- 
Thomas


Post a reply to this message

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