POV-Ray : Newsgroups : povray.advanced-users : contour mapping : Re: contour mapping Server Time
29 Jul 2024 20:12:32 EDT (-0400)
  Re: contour mapping  
From: Warp
Date: 5 Dec 2000 10:20:10
Message: <3a2d07aa@news.povray.org>
Is this what you call a contour map?

http://www.cs.tut.fi/~warp/contour.jpg

  I made the image with this code:

#version Unofficial MegaPov 0.6;

camera { location <-2,15,-10> look_at 0 angle 35 }
light_source { <50,200,-100>, 1 }

isosurface
{ function { y-noise3d(x,y,z) }
  contained_by { box { <-5,0,-5><5,1,5> } }
  scale <1,4,1>
  pigment
  { gradient y color_map
    { [0 rgb 0][.1 rgb 0]
      [.1 rgb <1,.7,.2>][1 rgb <1,.7,.2>]
    }
    scale <1,.25,1>
  }
  finish { specular .25 }
}


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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