POV-Ray : Newsgroups : povray.binaries.images : Catenary Bridge (WIP) : Re: Catenary Bridge (WIP) Server Time
4 May 2024 01:28:14 EDT (-0400)
  Re: Catenary Bridge (WIP)  
From: Thomas de Groot
Date: 7 Jun 2016 03:51:56
Message: <57567d1c$1@news.povray.org>
On 6-6-2016 13:28, Thomas de Groot wrote:
> I'll try to dig through the accumulated dirt to find something useful.
> Don't hold your breath though ;-)
>

This is something you can play with as an example:

#declare F_HF_01 =
function {
   pigment {
     image_map {
       tga "MyImage.tga" //gamma 1.0
       map_type 0
       interpolate 2
     }
     warp {repeat x}
     warp {repeat y}
     rotate 90*x

     scale 50
     warp {
       turbulence 0.5
       octaves 2 //[6]
       lambda 1  //[2]
       omega 0.2 //[0.5]
     }
     scale 1/50

   }
}

#declare P =
function {
   F_HF_01(x, y, z).hf
   - f_hetero_mf(x,y,z, 0.8, 2, 5, 0, 0.9, 2)*0.3
   //- f_noise3d(x,y*2,z)*0.5
   - f_agate(x,y,z)*0.01
}

height_field{
   function 500, 500 {P((x-0.5)*MyXscale+0.5, 0, (y-0.5)*MyZscale+0.5)}
   translate <-0.5, 0, -0.5>
   scale <MyScale>
   pigment {MyPigment}
}

This is from an old test scene of mine, partly based on an example by 
Mike Williams.

-- 
Thomas


Post a reply to this message

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