POV-Ray : Newsgroups : povray.binaries.images : Cylinder with Height-Field Top : Re: Cylinder with Height-Field Top Server Time
6 Nov 2024 22:13:59 EST (-0500)
  Re: Cylinder with Height-Field Top  
From: Alain
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

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