POV-Ray : Newsgroups : povray.binaries.images : Cylinder with Height-Field Top Server Time
27 Dec 2024 05:31:09 EST (-0500)
  Cylinder with Height-Field Top (Message 1 to 4 of 4)  
From: Sven Littkowski
Subject: Cylinder with Height-Field Top
Date: 4 Dec 2017 00:25:12
Message: <5a24dc38@news.povray.org>
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.


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message


Attachments:
Download 'sl - cloud cities - habitat - heightfield.png' (294 KB)

Preview of image 'sl - cloud cities - habitat - heightfield.png'
sl - cloud cities - habitat - heightfield.png


 

From: Thomas de Groot
Subject: Re: Cylinder with Height-Field Top
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

From: Alain
Subject: Re: Cylinder with Height-Field Top
Date: 4 Dec 2017 12:47:57
Message: <5a258a4d$1@news.povray.org>
Le 17-12-04 à 00:24, Sven Littkowski a écrit :
> 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.
> 
> 
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
> 

I use:
intersection{
  cylinder{Top*y, Bottom*y, Radius}
  hight_field{....}
  texture{SomeTexture}
  rotate YourDirection
  translate YourLocation
}

Just make sure that the top of the cylinder reach slightly above the 
highest point of the hight_field, and that the hight_field is scaled 
wide enough to completely cover the cylinder.


Post a reply to this message

From: Sven Littkowski
Subject: Re: Cylinder with Height-Field Top
Date: 4 Dec 2017 16:21:55
Message: <5a25bc73$1@news.povray.org>
On 04.12.2017 00: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.
> 
> 
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
> 
Thank you all. :-)


Post a reply to this message

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