POV-Ray : Newsgroups : povray.binaries.images : Media oddity image (see general) [6.33kb] Server Time
16 Nov 2024 12:26:11 EST (-0500)
  Media oddity image (see general) [6.33kb] (Message 1 to 1 of 1)  
From: Tom Melly
Subject: Media oddity image (see general) [6.33kb]
Date: 13 Feb 2003 10:38:40
Message: <3e4bbc00$1@news.povray.org>
The top two spheres have just rgbf 1, the middle two have rgbt 1, but the bottom
two have rgbft 1, but all are otherwise identical.

See post in general for code and further comment.


--
#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 'media_rgbft.jpg' (7 KB)

Preview of image 'media_rgbft.jpg'
media_rgbft.jpg


 

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