POV-Ray : Newsgroups : povray.binaries.utilities : DEM2POV v1.4 : Re: DEM2POV v1.4 Server Time
6 May 2024 01:33:49 EDT (-0400)
  Re: DEM2POV v1.4  
From: Melody
Date: 6 Dec 2019 00:50:00
Message: <web.5de9eb2d5aa06a409da690110@news.povray.org>
added this to next one if there is a next one,
sorter expects u have a macro like,

#macro pce(hf,tx,tz,mxev)
height_field {
  tga hf   // x 0-1.0 y 0-1.0 z 0-1.0
  smooth
  pigment {
    gradient y
    color_map {
      [0.0 color <0.25 , 0.25 , 1.0>]
      [0.01 color <0.2 , 0.4 , 0.25>]
      [0.1 color <.2 , 0.5 , 0.0>]
      // [0.3 color <.3 , 0.4 , 0.0>]
      [0.2 color <.4 , 0.3 , 0.0>]
      [0.5 color <.3,.18 , 0.32>]
      [0.9 color <.2,.18 , 0.22>]
      [0.95 color <1,1,1>]
      [1.0 color <0.25 , 0.25 , 1.0>]
    }
    //scale  1
  }
  finish {
    crand 0.025         // dither  - not used often.
    ambient 0.2         // Very dark shadows
    diffuse 0.8         // Whiten the whites
    //phong 0.2          // shiny
    // phong_size 100.0    // with tight highlights
    // specular 0.5
    roughness 0.15
  }
  translate <tx, 0,tz>
  scale < 300, 50, 300 >
}
#end

make something good


Post a reply to this message

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