POV-Ray : Newsgroups : povray.binaries.images : Tiled sphere (96k + 28k) Server Time
12 Aug 2024 19:32:36 EDT (-0400)
  Tiled sphere (96k + 28k) (Message 13 to 22 of 22)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Marc Champagne
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 10 Aug 2003 19:44:01
Message: <Xns93D3C86812F0APOVMIKA@204.213.191.226>
Nico <rou### [at] loriafr> wrote in news:3F3### [at] loriafr:

> 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


 

From: Nicolas Rougier
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 11 Aug 2003 03:39:13
Message: <3F374820.9090503@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.

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

From: Florian Brucker
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 11 Aug 2003 09:51:25
Message: <3f379f5d@news.povray.org>
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

From: Marc Champagne
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 11 Aug 2003 18:28:06
Message: <Xns93D4BB8EAC82EPOVMIKA@204.213.191.226>
Nicolas Rougier <rou### [at] loriafr> wrote in news:3F3### [at] loriafr:

> 
> 
> 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

From: Marc Champagne
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 11 Aug 2003 21:43:07
Message: <Xns93D4DC9F5ED6POVMIKA@204.213.191.226>
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

From: Nicolas Rougier
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 12 Aug 2003 03:36:56
Message: <3F389918.1060004@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.

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

From: Marc Champagne
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 12 Aug 2003 18:10:04
Message: <Xns93D5B881CBEEBPOVMIKA@204.213.191.226>
Nicolas Rougier <rou### [at] loriafr> wrote in news:3F3### [at] loriafr:

> 
> 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

From: Marc Champagne
Subject: Re: Tiled sphere (96k + 28k) - 1 attachment
Date: 12 Aug 2003 18:13:15
Message: <Xns93D5B90BC7040POVMIKA@204.213.191.226>
Nicolas Rougier <rou### [at] loriafr> wrote in news:3F3### [at] loriafr:

> 
> 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

From: Francois Labreque
Subject: Re: Tiled sphere (96k + 28k)
Date: 12 Aug 2003 19:06:32
Message: <3f3972f8@news.povray.org>
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


 

From: Martin Belair
Subject: Re: Tiled sphere (96k + 28k)
Date: 12 Aug 2003 21:51:49
Message: <Xns93D5DD58CF239badhabit07hotmaildot@204.213.191.226>
Hi!


Francois Labreque <fla### [at] videotronca> 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] hotmailDOTcom
-+======================+-


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.