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 10:50:55 EDT (-0400)
  Re: Ingo's Make Mesh include with udo support  
From: Steve Shelby
Date: 1 Feb 2004 10:11:52
Message: <401d1738@news.povray.org>
Stephen,
I experimented with a heightfield on a cylinder and a sphere with excellent
results, but what I'd really like to do is create a heightfield on a flat
surface, which can be converted to a mesh that can be manipulated in Moray.
I tried doing this with p_square.pov, but could not figure out the proper
coding. I need to have values for F1, F2, and F3, and I don't have a clue
what they should be. I tried different things and got some interesting
shapes, but nothing even in the same universe as what I was trying for. Do
you have any suggestions?
Steve Shelby

"StephenS" <ssh### [at] ottawanet> wrote in message
news:401aa2ed$1@news.povray.org...
> 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.