POV-Ray : Newsgroups : moray.win : Ingo's Make Mesh include with udo support : Re: Ingo's Make Mesh include with udo support Server Time
16 Jun 2024 08:56:18 EDT (-0400)
  Re: Ingo's Make Mesh include with udo support  
From: Steve Shelby
Date: 31 Jan 2004 08:06:45
Message: <401ba865@news.povray.org>
Thanks for the info. I played with that for a while using some of my own
heightfield images. Really cool! :^}>
Steve Shelby

"StephenS" <ssh### [at] ottawanet> wrote in message
news:401aa2ed$1@news.povray.org...
> A regular heightfield can already be converted into a mesh. A heightfield
> wrapped around a cylinder can be done.
>
> For example:
> Create a new file based on p_crackle_cylinder.pov demo scene.
> Adding the function
>
> #declare Name= function {
>   pigment {
>     image_map {
>       png "blurred name.png"
>        interpolate 2
>     }
>   scale <-2.5,-2.5,1>
>   translate <.5,1,0>
>   }
> }
>
> and changing the part of the function affecting the radius
> from
> Crack(u,v,0).gray
> to
> (Name(u,v,0).gray+10)/10 // scale to avoid divide by 0
>
> 'blurred name.png' is a file made in a paint program, simple text with a
> blur effect applied.
> Sample pictures at
> http://www.ottawa.net/sshonfield/Gallery.htm
>
> Stephen
>
>
>
>


Post a reply to this message

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