POV-Ray : Newsgroups : povray.binaries.images : Crushed Ice : Crushed Ice Server Time
9 Aug 2024 11:25:46 EDT (-0400)
  Crushed Ice  
From: Tom Melly
Date: 15 Feb 2005 08:42:00
Message: <4211fc28$1@news.povray.org>
Some crushed ice for a WIP - ignore the crappy box... any thoughts?

 #declare Ice_Mat =
 material {
  texture {
   pigment {rgbf <1,1,1,0.9>}
   normal {granite 1 scale 5}
   finish {
    diffuse 0.75
    specular 0.75
    roughness 0.01
     reflection {fresnel}
     //metallic
     conserve_energy
   }
  }
  interior {
   ior 1.4
   media{method 3 scattering{1, 0.35 extinction 1}}// density{wrinkles}}
  }
 }

 #declare IS1 = 2;
 #declare F_Ice = function(x,y,z) {
  z
  - f_ridged_mf(x*IS1,y*IS1,0, 0, 2.5, 4, 2, 5, 2)/5
  + f_noise3d(x,y,0)
  -1
 }

 height_field{
  function 100,100 {F_Ice(x*10,y*14,0)}
  scale<10,1/2,14>
  material{Ice_Mat}
  hollow
  translate<-5,0,-7>
 }


Post a reply to this message


Attachments:
Download 'ci_01.JPG' (40 KB)

Preview of image 'ci_01.JPG'
ci_01.JPG


 

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