POV-Ray : Newsgroups : povray.binaries.images : Moon Picnic (~295k) : Re: Moon Picnic (~295k) Server Time
9 Aug 2024 09:00:44 EDT (-0400)
  Re: Moon Picnic (~295k)  
From: Mienai
Date: 7 Mar 2005 03:25:00
Message: <web.422c0ed5e50cd2fbce313a1c0@news.povray.org>
Sorry, I forgot to mention that the tree is the one of the example ones from
Arbaro (the newest release) and the moons surface is an isosurface.

The pigment I'm using is:
pigment{
 granite
 scale 2
 color_map{
  [0 Firebrick transmit -.25]
  [.5 Coral transmit .25]
  [1 Yellow]
 }
}

and the isosurface is:
#local F_Base=
  function {
    pow(f_noise3d(x/3.157, y/3.157, 120), 1.078)
  }
#local F_Wrinkles=
  function {
    pattern {
      wrinkles
      rotate 29.90
      scale 1.602
    }
  }
#local F_Spotted=
  function {
    pattern {
      spotted
      scale 1/3
      warp { turbulence 0.5 omega 0.55 octaves 9 lambda 2.8 }
      scale 0.413
      rotate <30, 36, 5.458>
      translate 5.458
    }
  }
#local fn_Terrain=
 function {
  F_Base(x, y, 0)*-1.5
  + F_Wrinkles(x, y, z)*-.694
  + F_Spotted(x, y, z)*-0.043
 }
isosurface {
  function {
    f_sphere(x,y,z,3476)
    +fn_Terrain(x, y, z)
  }
  accuracy 0.001
  max_gradient 7.55
  contained_by{sphere{0,3477.5}}
  pigment{White}
}

If that helps at all.


Post a reply to this message

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