|
![](/i/fill.gif) |
A beautiful signature!
Due to the blur, the text results a bit obfuscated. Is an intended effect?
;-)
Paolo
>Tek on date 07/08/2008 00:39 wrote:
> I was trying to write some code short enough that I could use it as a sig,
> but which rendered something kind of impressive. Well this isn't quite there
> yet (too long!) but I'm quite pleased with the image so I thought I'd share
> it.
>
> I've gone for a kind of photographic look by placing a lens in front of the
> camera with dispersion, and a lot of blur samples to help those highlights
> bleed out convincingly. There's no lights or radiosity, just reflections &
> ambient light. The scene is inside a box with a bright cells pattern and
> no_image to give the kind of reflections you get in photo studios.
>
> And here's the source!:
>
> box{-3,3pigment{cells#macro r(s,o,c,p)superellipsoid{.1scale s rotate o
> pigment{
> rgb c}finish{reflection{.02,1falloff 5}}translate p}#end poly_wave
> 4colour_map{[
> 0rgb 0][1rgb 80]}}scale
> 9no_image}r(9,0,0,-10.5*y+z*5)r(1,-25,x*5,z*6-x)text{ttf
> "ariblk"" evilsuperbrain.com
> ".5,0scale
> .4rotate-y*22translate<-4,-1.5,4>pigment{rgb 5}finish{reflection{.5,1falloff
> 2}}
> }sphere{z/20,.04scale z/3pigment{rgbt 1}interior{ior 1.4dispersion
> 1.08}}camera{
> aperture.001blur_samples 99focal_point z*9}
>
> As you can see that's way too long for a sig!
>
> Here's a more readable version for anyone who wants it:
>
> //camera with lens
> camera{aperture.001 blur_samples 99 focal_point z*9}
> sphere{z/20,.04 scale z/3 pigment{rgbt 1}interior{ior 1.4 dispersion 1.08}}
>
> //light-boxes
> box{-3,3 pigment{cells poly_wave 4 colour_map{[0 rgb 0][1 rgb 80]}}scale 9
> no_image}
>
> //the ground & red cube
> #macro r(s,o,c,p)superellipsoid{.1 scale s rotate o pigment{rgb
> c}finish{reflection{.02,1 falloff 5}}translate p}#end
> r(9,0,0,-10.5*y+z*5)r(1,-25,x*5,z*6-x)
>
> //the text
> text{ttf"ariblk"
> " evilsuperbrain.com "
> .5,0scale.4rotate-y*22translate<-4,-1.5,4>pigment{rgb
> 5}finish{reflection{.5,1 falloff 2}}
> }
>
> Comments appreciated!
>
Post a reply to this message
|
![](/i/fill.gif) |