POV-Ray : Newsgroups : povray.binaries.images : Rock textures [25kb] : Rock textures [25kb] Server Time
16 Nov 2024 14:22:03 EST (-0500)
  Rock textures [25kb]  
From: Tom Melly
Date: 21 Jan 2003 05:50:04
Message: <3e2d25dc@news.povray.org>
One image-map, one procedural....



--
#macro A(V,B,C,R)#while(B-256)#if(V-128/B>=0)sphere{0,.5translate<C-4R-1,9>
pigment{rgb<1-C/8R/2C/8>}}#local V=V-128/B;#end#local B=B*2;#local C=C+1;#
end#end A(234,1,0,2)A(85,1,0,1)A(81,1,0,0)light_source{-5 1}//Tom Melly


Post a reply to this message


Attachments:
Download 'rock_texture.jpg' (26 KB)

Preview of image 'rock_texture.jpg'
rock_texture.jpg


 

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