![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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!
--
Tek
http://evilsuperbrain.com
Post a reply to this message
Attachments:
Download 'sig.jpg' (28 KB)
Preview of image 'sig.jpg'
![sig.jpg](/povray.binaries.images/attachment/%3C489a283e%40news.povray.org%3E/sig.jpg?ttop=443866&toff=3100&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Tek" <tek### [at] evilsuperbrain com> wrote in message
news:489a283e@news.povray.org...
> 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}
>
Oh great word wrap has made a mess of that... <sigh>...
--
Tek
http://evilsuperbrain.com
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/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) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Paolo Gibellini" <p.g### [at] gmail com> wrote in message
news:489ad284$2@news.povray.org...
>A beautiful signature!
> Due to the blur, the text results a bit obfuscated. Is an intended effect?
Not exactly. The blur makes the highlights on the letters look much nicer
but I can't have those nice soft edged highlights with sharply focused
letters... at least not in such short code.
I'll play with it some more and see if I can fix the blurrines.
--
Tek
http://evilsuperbrain.com
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Tek" <tek### [at] evilsuperbrain com> wrote:
> "Paolo Gibellini" <p.g### [at] gmail com> wrote in message
> news:489ad284$2@news.povray.org...
> >A beautiful signature!
> > Due to the blur, the text results a bit obfuscated. Is an intended effect?
>
> Not exactly. The blur makes the highlights on the letters look much nicer
> but I can't have those nice soft edged highlights with sharply focused
> letters... at least not in such short code.
>
> I'll play with it some more and see if I can fix the blurrines.
>
> --
> Tek
> http://evilsuperbrain.com
Reduce the phyical depth of the text; the outline will be more recognizable, and
the blur will be less troublesome.
--
Sam Bleckley
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |