|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
A view people ask me how I did this:
http://news.povray.org/povray.binaries.images/thread/%3Cweb.4798a383d450dfce811410630%40news.povray.org%3E/?mtop=259872
Well now I tried to code such a cube in PovRay.
Here it is:
//Take a coffee now!!
global_settings {assumed_gamma 3 radiosity {pretrace_start 1 pretrace_end
0.0000001 count 50 error_bound 0.05 recursion_limit 10 brightness 0.5}}
camera {
ultra_wide_angle
location <0.0, 0.1, -1.0>*1.5
direction 1.5*z
right x*image_width/image_height
angle 90
look_at <0.0, 0.65, 0.0>
}
light_source {<-30, 30, -30> color rgb 1}
#declare resolution=60;
#declare densiti=0.125;
#declare chaos=2;
#declare bloks=union{
#declare zet=0;
#while (zet<resolution)
#declare hf=object{height_field {
function resolution,resolution {
pigment {
agate
color_map {
[0 color rgb 0]
[1 color rgb 1]
}
turbulence chaos
scale 1
translate <0,0,1/resolution*zet>
}
}
scale resolution
} }
#declare zet=zet+1;
#declare iks=0;
#while (iks<resolution)
#declare iks=iks+1;
#declare ueps=0;
#while (ueps<resolution)
#declare ueps=ueps+1;
#if (inside(hf,<iks,(resolution/(1/(1-(densiti)))),ueps>))
box{-0.4,0.4 translate<iks,zet,ueps>}
#end
#end
#end
#end
}
object{bloks
pigment{color rgb 1}
finish{ambient 0 diffuse 1}
scale 1/resolution
translate <-0.5,0,-0.5>
rotate <0,60,0>
}
sky_sphere {
pigment {
gradient y
color_map {
[0.0 rgb <0.6,0.7,1.0>]
[0.5 rgb <0.0,0.1,0.8>]
[1 rgb 0]
}
}
}
plane {
y, 0
pigment { color rgb 1 }
finish{ambient 0 diffuse 1}
}
Post a reply to this message
Attachments:
Download 'block.jpg' (259 KB)
Preview of image 'block.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"H. Karsten" <h-karsten()web.de> wrote:
> pretrace_end 0.0000001 count 50 error_bound 0.05
oh, man!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Looks like a neat start for some really awesome spaceship greebling. :-D
--
William Tracy
afi### [at] gmailcom -- wtr### [at] calpolyedu
:D1ck :u like the site
:D1ck :what wil u give it out of 10
:Sp07 :.654564
-- script kiddies in an IRC chat
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Interesting!
...and by playing with the size of the component blocks, one gets this for
instance. Very close to your original one.
by the way, I just used the default values for radiosity.
Thomas
Post a reply to this message
Attachments:
Download 'HKarsten_GreebleBlock.png' (136 KB)
Preview of image 'HKarsten_GreebleBlock.png'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Another interesting example. I randomized the individual block sizes and the
pigments; used marble instead of agate; densiti=0.25; chaos=0.5
Thomas
Post a reply to this message
Attachments:
Download 'HKarsten_GreebleBlock.jpg' (98 KB)
Preview of image 'HKarsten_GreebleBlock.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
You can also play with the pattern.
Use wrinkles or leopard instead of agate.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 5 Feb 2008 13:45:52 +0100, "Thomas de Groot" <t.d### [at] internlDOTnet>
wrote:
>Another interesting example. I randomized the individual block sizes and the
>pigments; used marble instead of agate; densiti=0.25; chaos=0.5
>
>Thomas
>
I like that
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> Another interesting example. I randomized the individual block sizes and the
> pigments; used marble instead of agate; densiti=0.25; chaos=0.5
>
> Thomas
the smaller preview image makes it look like an iceberg! :)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"nemesis" <nam### [at] gmailcom> wrote:
> "Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> > Another interesting example. I randomized the individual block sizes and the
> > pigments; used marble instead of agate; densiti=0.25; chaos=0.5
> >
> > Thomas
>
> the smaller preview image makes it look like an iceberg! :)
And the bigger one for an instance like many sugar cubes. Hmmmm. :-)
Looks nice.
Regards
bluetree
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thomas de Groot wrote:
> Another interesting example.
Legos! :-D
--
William Tracy
afi### [at] gmailcom -- wtr### [at] calpolyedu
"I don't hink it helps to make analagies between the physical and
social worlds," Sax said primly.
"Shut up, Sax. Go back to your virtual reality."
-- Kim Stanley Robinson, _Red Mars_
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |