![](/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) |
Nico <rou### [at] loria fr> wrote in news:3F3### [at] loria fr:
> Hi all,
>
> I just finished writing a macro to tile boxes on a sphere and here is
> one image that came out of it (it's pretty unifinished though).
> Makes me think of a small planet with far too many buildings.
Folks, Heres my "fiddle with his macro" results using text instead of
boxes.
One of my problems with Pov is my lack of remembrance with geometry math,
high-school was only 20 years ago for me...
I couldn't come up with such macros if you paid me, well then again there
the big library called internet to help...
Thanks for sharing Nico.
--
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA
Post a reply to this message
Attachments:
Download 'tiled.sphere.jpg' (94 KB)
Preview of image 'tiled.sphere.jpg'
![tiled.sphere.jpg](/povray.binaries.images/attachment/%3CXns93D3C86812F0APOVMIKA%40204.213.191.226%3E/tiled.sphere.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Nicolas Rougier
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 11 Aug 2003 03:39:13
Message: <3F374820.9090503@loria.fr>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
You're welcome. I learned so much from these newsgroups that it's quite
natural to share anything that might be useful...
Nice image by the way.
I'm still struggling with my boxes to make it looks like a big city. I
think I have to add some clouds but I do not know what method could suit
my needs since I think I need some "volumetric" clouds. Any idea ?
Nicolas
Marc Champagne wrote:
>
> Folks, Heres my "fiddle with his macro" results using text instead of
> boxes.
>
> One of my problems with Pov is my lack of remembrance with geometry math,
> high-school was only 20 years ago for me...
>
> I couldn't come up with such macros if you paid me, well then again there
> the big library called internet to help...
>
> Thanks for sharing Nico.
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Florian Brucker
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 11 Aug 2003 09:51:25
Message: <3f379f5d@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi Nico!
> "volumetric" clouds. Any idea ?
Scattering media could be a way to achieve nice realistic looking
clouds. Perhaps you could have a look at Gille's MakeCloud macro which
you can find at http://www.oyonale.com/ressources/english/sources13.htm
Another nice example is Tim Nikias' "Worldbowl":
http://news.povray.org/povray.binaries.images/30620/
HTH,
Florian
--
//=================[web: http://www.torfbold.com]==================\\
#local a=-5;#while(a<5)sphere{<sin(a*pi)*5a*10pow(a,5)*.01>sin(a*a*a*
.1)+1pigment{rgb 9*z}}#local a=a+.01;#end camera{look_at-y*10location
<8,-3,-8>*10}// [www.povray.org] [www.imp.org] [www.irtc.org]
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) |
Nicolas Rougier <rou### [at] loria fr> wrote in news:3F3### [at] loria fr:
>
>
> You're welcome. I learned so much from these newsgroups that it's quite
> natural to share anything that might be useful...
> Nice image by the way.
Thanks
> I'm still struggling with my boxes to make it looks like a big city. I
> think I have to add some clouds but I do not know what method could suit
> my needs since I think I need some "volumetric" clouds. Any idea ?
My clouds are boring and flat, volumetric I have yet to tackle..
--
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA
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) |
It did notice...
If you were trying to center (to the origin) the passed object
to your tiled_sphere macro, I believe this should of been the
formula: -Min-((Max-Min)/2)
Just -(Max-Min)/2 was only moving it closer to the origin by
half the objects size.
--
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Nicolas Rougier
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 12 Aug 2003 03:36:56
Message: <3F389918.1060004@loria.fr>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Yes, yes, you're right. I realized that a few minuter after having
posted the code. I have to correct it in p.t.s.f.
In fact, I'm using - Min - <(Max.x-Min.x), 0, (Max.z-Min.z)>/2 to have
the bottom of the object lying on the ground in order to avoid some
collisions.
Nicolas
Marc Champagne wrote:
>
> It did notice...
>
> If you were trying to center (to the origin) the passed object
> to your tiled_sphere macro, I believe this should of been the
> formula: -Min-((Max-Min)/2)
>
> Just -(Max-Min)/2 was only moving it closer to the origin by
> half the objects size.
>
>
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) |
Nicolas Rougier <rou### [at] loria fr> wrote in news:3F3### [at] loria fr:
>
> Yes, yes, you're right. I realized that a few minuter after having
> posted the code. I have to correct it in p.t.s.f.
>
> In fact, I'm using - Min - <(Max.x-Min.x), 0, (Max.z-Min.z)>/2 to have
> the bottom of the object lying on the ground in order to avoid some
> collisions.
Makes sense...
--
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA
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) |
Nicolas Rougier <rou### [at] loria fr> wrote in news:3F3### [at] loria fr:
>
> Yes, yes, you're right. I realized that a few minuter after having
> posted the code. I have to correct it in p.t.s.f.
>
> In fact, I'm using - Min - <(Max.x-Min.x), 0, (Max.z-Min.z)>/2 to have
> the bottom of the object lying on the ground in order to avoid some
> collisions.
I think this may be less confusing though (results are the same)
- Min - < (Max.x-Min.x)/2, 0, (Max.z-Min.z)/2 >
--
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA
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) |
Program ended abnormally on 2003-08-08 18:16, Due to a catastrophic
Francois Labreque error:
>
>
> Program ended abnormally on 2003-08-08 17:38, Due to a catastrophic Nico
> error:
>
>> The second image is to show what the macro can really do if anyone
>> interested.
>
> Cool. Post it to P.B.T-F. I'm sure someone will find it useful.
>
> I was actually thinking of doing a macro like that the other day, but
> laziness and other things got in the way.
>
Thanks to your macro, I was able to complete an image I've been wanting to do
for years...
Behold the reflective sphere over a checkered plane!!!!
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* videotron.ca */}camera{orthographic location<6,1.25,-6>look_at a }
Post a reply to this message
Attachments:
Download 'discoball.jpg' (70 KB)
Preview of image 'discoball.jpg'
![discoball.jpg](/povray.binaries.images/attachment/%3C3f3972f8%40news.povray.org%3E/discoball.jpg?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) |
Hi!
Francois Labreque <fla### [at] videotron ca> wrote in
news:3f3972f8@news.povray.org:
>
> Thanks to your macro, I was able to complete an image I've been wanting
> to do for years...
>
> Behold the reflective sphere over a checkered plane!!!!
Hehe! Well done. Now, you can pass @ phase 2: Animation time.
Have fun!
Ciao!
Mart
--
-+======================+-
bad### [at] hotmail DOT 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) |