![](/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) |
Well, its pretty much what the subject line says. The code can be found here
http://www.deviantart.com/view/33552164/ It can be modified for the number
of boxes (n) and the box sizes and size variance too. Also just wanted to
say all the greeble stuff looks so fun!
Janet
Post a reply to this message
Attachments:
Download 'boxspheresurface.jpg' (175 KB)
Preview of image 'boxspheresurface.jpg'
![boxspheresurface.jpg](/povray.binaries.images/attachment/%3Cweb.4473d6b4360532eb7e8a39890%40news.povray.org%3E/boxspheresurface.jpg?ttop=443866&toff=4450&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) |
Wow!
Wow, again! It looks also very nice! Hey, Janet, why not you make the
underground blue lightly wavy beach water? Or turkey Caribbean water?
Sven
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) |
... and maybe with some reflections of palms on the water surface?
Sven
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) |
Looks like the same tech' I used in SOTW. get enough boxes and the surface
comes to life. real cool image BTW.
--
#####-----#####-----#####
POV Tips and Hints at ...
http://povman.blogspot.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) |
"Janet" <par### [at] att net> wrote:
> Well, its pretty much what the subject line says. The code can be found here
> http://www.deviantart.com/view/33552164/ It can be modified for the number
> of boxes (n) and the box sizes and size variance too.
Nice one, Janet. The harmonious colour balance complements the jaggedness
created by the boxes.
> Also just wanted to say all the greeble stuff looks so fun!
Yeah! Me wanna play with greebles, too... but I've got a bunch of povray.org
Links to fix first!
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) |
"Sven Littkowski" <sve### [at] jamaica-focus com> wrote:
> ... and maybe with some reflections of palms on the water surface?
>
> Sven
Hi Sven, I could, I guess. I have some really crappy looking palm trees I
made a long time ago, maybe they'd look better as just reflections in
water. Other things one could do is use cones or cylinders, anything
really, in place of the boxes.
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) |
"POVMAN" <s### [at] a com> wrote:
> Looks like the same tech' I used in SOTW. get enough boxes and the surface
> comes to life. real cool image BTW.
Its a fun technique, nice SOTW too!
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) |
"PM 2Ring" <nomail@nomail> wrote:
> Nice one, Janet. The harmonious colour balance complements the jaggedness
> created by the boxes.
Thanks!
> > Also just wanted to say all the greeble stuff looks so fun!
>
> Yeah! Me wanna play with greebles, too... but I've got a bunch of povray.org
> Links to fix first!
Me wanna play all the time. Hmm, since you're fixing links, do you have this
one? http://www.pims.math.ca/knotplot/
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) |
"Janet" <par### [at] att net> wrote:
> Well, its pretty much what the subject line says. The code can be found here
> http://www.deviantart.com/view/33552164/ It can be modified for the number
> of boxes (n) and the box sizes and size variance too. Also just wanted to
> say all the greeble stuff looks so fun!
> Janet
Nice image & great colours!
But could you have found a harder way to code it?
I've never used a matrix transformation. I don't know how it works.
This code will do the same thing, just put the box in a good starting
position and let 'rotate' do all the work...
#version 3.6;
// --------------------------------------------------------------
#global_settings{
assumed_gamma 1.0
max_trace_level 5
radiosity{count 35 error_bound 0.1}
}
// --------------------------------------------------------------
#macro RandLH(L,H)
(rand(R0)*(H-L)+L)
#end
// --------------------------------------------------------------
#declare R0 = seed(1); // random seed
#declare SR = 10; // sphere radius
#declare Bmin = 0.3; // minimum box scale
#declare Bmax = 1.0; // maximum box scale
// --------------------------------------------------------------
union{
#declare num = 3500;
#local ca = 0;
#while(ca<num)
//box{-0.5, 0.5
superellipsoid{<0.2, 0.2> scale 0.5
scale<RandLH(Bmin, Bmax), RandLH(Bmin, Bmax), RandLH(Bmin, Bmax)>
translate SR*y
rotate<RandLH(0,180), RandLH(0,360), 0>
}
#local ca = ca+1;
#end
texture{pigment{color rgb 1} finish{ambient 0 diffuse 1}}
}
// --------------------------------------------------------------
light_source{<-2, 2, 1>*1000 color rgb <1.0, 1.0, 0.5>*2}
light_source{<0, 0, 0> color rgb <0.2, 0.5, 0.5>*2}
camera{
perspective
location<0, 0, -50>
up y*(image_height/image_width)
right x
sky y
look_at <0, 0, 0>
angle 40
}
// -------------------------------------------------- end of file
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) |
"Mark Birch" <las### [at] hotmail com> wrote:
> Nice image & great colours!
Thanks
> But could you have found a harder way to code it?
Yes, I probably could have.
> This code will do the same thing, just put the box in a good starting
> position and let 'rotate' do all the work...
This is a very good point Mark, and now I feel like an idiot for not having
thought of it that way. My thinking started out as using the equation for
the surface of a sphere and it kind of went from there. The matrix
transform is kind of interesting, though. There's a good explanation of it
here: http://www.geocities.com/evilsnack/matrix.htm
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |