POV-Ray : Newsgroups : povray.binaries.images : World on a Donut Server Time
15 Oct 2026 14:38:12 EDT (-0400)
  World on a Donut (Message 1 to 16 of 16)  
From: Tyler Eaves
Subject: World on a Donut
Date: 2 Mar 2004 00:19:15
Message: <4044194e@news.povray.org>
[Note: Superseding the original article, actually attaching the image this
time... Hope this works...]

This was a '1 hour challenge', in which I try to get a particular effect
that I've never done in 60-90 minutes, and see what happens. Usually a few
vague blobs. This one I REALLY like though. This was inspired by an image
by Tek that showed a planet on a non-sphericla shape. I just had to give it
a try. I used a torus for the shape (VERY geologically accurate...)

I'm stoked about how it came out. With more time it can definatly be
improved, and there are a few glaring omissions (Starfield..., real
atmosphere.), but it looks pretty real to me, and for ~70 minutes of
coding...

Basically the scene consists of two concentric torii lit by a parallel
light. One torus is the "planet", the second has a slightly larger minor
radius, and is used to layer the clouds on. I'm pretty happy with the
clouds, REALLY happy with the oceans, and pretty happy about the
continents. If I assume this is planet-like, the geology is pretty lousy,
as it's the same at all latitudes. This, however is a TORUS, no way this
thing could even hold water on the inner surface, and probably not the
outer surface either...

I'm particually proud of the just-noticable 'wrinkling' of the oceans, that
is also evident in space photos of earth.

Source and render attached... I may render a few close to the surface
tomorrow...

Code:

#include "stars.inc"
default{finish{ambient 0}}
sky_sphere{
  pigment{
    granite 
    turbulence 4
    color_map{
      [0.0 rgb 0]
      [0.98 rgb 0]
      [0.98 rgb 1]
      [1 rgb 1]
    }
  }
}
camera{location <.5,.5,2> look_at <0,0,1>}
#declare sea_tex1 = texture{pigment{rgb <0,0,.3>
} normal{agate .05 scale .01} finish{reflection .1 specular .5}}
#declare sea_tex2 = texture{pigment{rgb <0,.4,.6>}
  
 normal{agate .05 scale .01} finish{reflection .1 specular .5}
}

#declare land_tex0 = texture{
  pigment{
    rgb <.7,.57,07>
  }
  finish{specular .1 reflection .1}
}

#declare land_tex1 = texture{
  pigment{rgb <0,.3,0>}
  normal{agate 0.05 scale .05}
  finish{reflection .01 specular .1 roughness .5}
}
#declare land_tex2 = texture{
  pigment{rgb <.5,.4,.2>}
  normal{agate 0.25 scale .05}
  finish{reflection .01 specular .1 roughness .5}

}
#declare land_tex3 = texture{
  pigment{rgb <1,1,1>}
  finish{reflection .3 specular .8}
}
light_source{<1,.3,3>,1 parallel point_at <0,0,0>}

torus{1,.3 
  texture{
    granite 
  
    
    texture_map{
    [0.0 sea_tex1]
    [0.3 sea_tex1]
    [0.4 sea_tex2]
    [0.41 land_tex1]
    [0.42 land_tex1]
    [0.65 land_tex2]
    [0.85 land_tex3]
    [1.0 land_tex3]
    }
  }
}
torus{1,.301
  
  texture{
    pigment{granite turbulence .7 octaves 2 scale .9 color_map{[0.0 rgbf
<1,1,1,1>][0.42 rgbf <1,1,1,1>][0.5 rgbf <.8,.8,.8,.5>][0.80 rgbf
<1,1,1,.3>][1.0 rgbf <1,1,1,0>]}}
    normal{bumps .05 scale .01}
    finish{specular .3 reflection .1} 
  }
}


Post a reply to this message


Attachments:
Download 'torusworld1.jpg' (100 KB)

Preview of image 'torusworld1.jpg'
torusworld1.jpg


 

From: Rafal 'Raf256' Maj
Subject: Re: World on a Donut
Date: 2 Mar 2004 01:13:45
Message: <Xns94A049753C370raf256com@203.29.75.35>
tyl### [at] ml1net news:4044194e@news.povray.org

> I'm stoked about how it came out. With more time it can definatly be
> improved, and there are a few glaring omissions (Starfield..., real
> atmosphere.), but it looks pretty real to me, and for ~70 minutes of
> coding...

Yeap, nice effect :)
 
> Source and render attached... I may render a few close to the surface
> tomorrow...

Just btw, code after copy-paste to pov generates:

Parse Error: Illegal character in input file, value is a0.

It seems that every indent in Yours code start with an 0xa0 charter, 
strange.


-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Tek
Subject: Re: World on a Donut
Date: 2 Mar 2004 02:16:50
Message: <404434e2$1@news.povray.org>
"Tyler Eaves" <tyl### [at] ml1net> wrote in message news:4044194e@news.povray.org...
> This was a '1 hour challenge', in which I try to get a particular effect
> that I've never done in 60-90 minutes, and see what happens.

I do that sometimes, it's a very good way to refine your pov skills. I also have
the rule that I have to start with a completely blank scene file and may only
use the standard includes :)

> Usually a few
> vague blobs. This one I REALLY like though. This was inspired by an image
> by Tek that showed a planet on a non-sphericla shape. I just had to give it
> a try. I used a torus for the shape (VERY geologically accurate...)

That's very impressive for one hour! It took me a lot longer than that to get my
planet texture looking that nice.

Just out of curiosity, which image inspired it? Because it's very similar to
this one:
http://www.evilsuperbrain.com/gallery/showimage.php?name=finished/links_poster

-- 
Tek
www.evilsuperbrain.com


Post a reply to this message

From: Barron Gillon
Subject: Re: World on a Donut
Date: 2 Mar 2004 02:18:04
Message: <4044352c$1@news.povray.org>
> Just btw, code after copy-paste to pov generates:
>
> Parse Error: Illegal character in input file, value is a0.
>
> It seems that every indent in Yours code start with an 0xa0 charter,
> strange.

You aren't using Windows, are you?  I was able to steal his code just fine.


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: World on a Donut
Date: 2 Mar 2004 02:25:28
Message: <Xns94A0559DF24F3raf256com@203.29.75.35>
gil### [at] purdueedu news:4044352c$1@news.povray.org

> You aren't using Windows, are you?  I was able to steal his code just
> fine. 

Yes, I'm still using this shitty system, but hopefully not for long :)


-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Tyler Eaves
Subject: Re: World on a Donut
Date: 2 Mar 2004 08:38:58
Message: <pan.2004.03.02.13.40.08.685151@NOSPAMml1.net>
On Mon, 01 Mar 2004 23:17:13 -0800, Tek wrote:

> That's very impressive for one hour! It took me a lot longer than that to get my
> planet texture looking that nice.
> 
> Just out of curiosity, which image inspired it? Because it's very similar to
> this one:
> http://www.evilsuperbrain.com/gallery/showimage.php?name=finished/links_poster

Yup, that's the one ;)


Post a reply to this message

From: Felbrigg
Subject: Re: World on a Donut
Date: 2 Mar 2004 09:01:40
Message: <404493c4$1@news.povray.org>
Nice!

Have you ever tried "World in a Tube".  In a book called "EON", in contained
a huge endless Tube with the world wrapped around the Inside along in
length, and a shimmering (banded) light source running along the centre of
the tube.

It would be an intresting excercise.


Post a reply to this message

From: Jaap Frank
Subject: Re: World on a Donut
Date: 2 Mar 2004 10:15:39
Message: <4044a51b@news.povray.org>
"Tyler Eaves" <tyl### [at] ml1net> wrote in message
news:4044194e@news.povray.org...
> Basically the scene consists of two concentric torii lit by a parallel
> light. One torus is the "planet", the second has a slightly larger minor
> radius, and is used to layer the clouds on. I'm pretty happy with the
> clouds, REALLY happy with the oceans, and pretty happy about the
> continents. If I assume this is planet-like, the geology is pretty lousy,
> as it's the same at all latitudes. This, however is a TORUS, no way this
> thing could even hold water on the inner surface, and probably not the
> outer surface either...
>
> Code:        [..]

Beautiful !!
I've played a bit with your code, especially the clouds, because I think
they are to dark. Why do you use filter instead of transmit. I've changed it
to transmit and you get better lightning beneath the outer torus.
To make it more white I've changed the intensity of  both the light_ source
aswell as the white of the clouds.
Added some stars too.
I've attached the adapted file.

Greetings,

Jaap Frank


Post a reply to this message


Attachments:
Download 'TorusWorld.pov.txt' (5 KB) Download 'TorusWorld.jpg' (209 KB)

Preview of image 'TorusWorld.jpg'
TorusWorld.jpg


 

From: Marc Roth
Subject: Re: World on a Donut
Date: 2 Mar 2004 11:46:42
Message: <4044ba72@news.povray.org>
Felbrigg wrote:
> Nice!
> 
> Have you ever tried "World in a Tube".  In a book called "EON", in contained
> a huge endless Tube with the world wrapped around the Inside along in
> length, and a shimmering (banded) light source running along the centre of
> the tube.
> 
> It would be an intresting excercise.
wasn't there some book called "rendezvous with rama" or something with a 
space-ship just like you described? i don't recall the author's name...

	Marc


Post a reply to this message

From: Tyler Eaves
Subject: Re: World on a Donut
Date: 2 Mar 2004 12:00:55
Message: <pan.2004.03.02.17.02.05.632942@NOSPAMml1.net>
On Tue, 02 Mar 2004 16:15:35 +0100, Jaap Frank wrote:

> 
> "Tyler Eaves" <tyl### [at] ml1net> wrote in message
> news:4044194e@news.povray.org...
>> Basically the scene consists of two concentric torii lit by a parallel
>> light. One torus is the "planet", the second has a slightly larger minor
>> radius, and is used to layer the clouds on. I'm pretty happy with the
>> clouds, REALLY happy with the oceans, and pretty happy about the
>> continents. If I assume this is planet-like, the geology is pretty lousy,
>> as it's the same at all latitudes. This, however is a TORUS, no way this
>> thing could even hold water on the inner surface, and probably not the
>> outer surface either...
>>
>> Code:        [..]
> 
> Beautiful !!
> I've played a bit with your code, especially the clouds, because I think
> they are to dark. Why do you use filter instead of transmit. I've changed it
> to transmit and you get better lightning beneath the outer torus.
> To make it more white I've changed the intensity of  both the light_ source
> aswell as the white of the clouds.
> Added some stars too.
> I've attached the adapted file.
> 
> Greetings,
> 
> Jaap Frank

Wow, the clouds do look a lot nicer. I didn't have much time to tweak 'em,
as I spent most of the hour on the land.


Post a reply to this message

From: Tyler Eaves
Subject: Re: World on a Donut
Date: 2 Mar 2004 12:01:55
Message: <pan.2004.03.02.17.03.07.774422@NOSPAMml1.net>
On Tue, 02 Mar 2004 17:51:34 +0100, Marc Roth wrote:

> Felbrigg wrote:
>> Nice!
>> 
>> Have you ever tried "World in a Tube".  In a book called "EON", in contained
>> a huge endless Tube with the world wrapped around the Inside along in
>> length, and a shimmering (banded) light source running along the centre of
>> the tube.
>> 
>> It would be an intresting excercise.
> wasn't there some book called "rendezvous with rama" or something with a 
> space-ship just like you described? i don't recall the author's name...
> 
> 	Marc

I think the Rama spacecraft (By Authur C. Clarke) was a closed cylinder,
but I haven't read it in a while. What the OP describes sounds like Larry
Niven's Ring World.


Post a reply to this message

From: Felbrigg
Subject: Re: World on a Donut
Date: 2 Mar 2004 12:38:04
Message: <4044c67c$1@news.povray.org>
Definitely not Ring World.  It was EON!  The plot was, a huge asteroid
appears in orbit round earth inhabited by evolved humans from the future who
have poked a hole in the space-time-thingy to make an infintely long tube!
Very good it was too!  cant quite remember the chaps name.



"Tyler Eaves" <tyl### [at] NOSPAMml1net> wrote in message
news:pan### [at] NOSPAMml1net...
> On Tue, 02 Mar 2004 17:51:34 +0100, Marc Roth wrote:
>
> > Felbrigg wrote:
> >> Nice!
> >>
> >> Have you ever tried "World in a Tube".  In a book called "EON", in
contained
> >> a huge endless Tube with the world wrapped around the Inside along in
> >> length, and a shimmering (banded) light source running along the centre
of
> >> the tube.
> >>
> >> It would be an intresting excercise.
> > wasn't there some book called "rendezvous with rama" or something with a
> > space-ship just like you described? i don't recall the author's name...
> >
> > Marc
>
> I think the Rama spacecraft (By Authur C. Clarke) was a closed cylinder,
> but I haven't read it in a while. What the OP describes sounds like Larry
> Niven's Ring World.
>


Post a reply to this message

From: Richard Callwood III
Subject: Re: World on a Donut
Date: 2 Mar 2004 18:01:14
Message: <jc3a4059ejvid1tl5f4756ec8414d8vbac@4ax.com>
On Tue, 02 Mar 2004 00:20:21 -0500, Tyler Eaves <tyl### [at] ml1net> wrote:

Not that it matters, as far as artistic license is concerned, but...

>I'm stoked about how it came out. With more time it can definatly be
>improved, and there are a few glaring omissions (Starfield..., real
>atmosphere.), 

Your "glaring" omissions are glaring only for us Earthbound creatures
grown up on Hollywood special effects.  Stars are so faint compared to
a sunlit planet as to be practically invisible (have you noticed that
few stars are visible in photographs from the Moon or the space
shuttles?)  And the visible atmosphere of a planet is so thin (in the
case of Earth, less than 1% of its radius) that you need to be in
really low orbit to see it.

Again, though, it's up to how much artistic license you desire.
Hollywood special effects are so cool.

-- 
------------------- Richard Callwood III --------------------
~  U.S. Virgin Islands    ~  USDA zone 11  ~  18.3N, 64.9W  ~
~  eastern Massachusetts  ~  USDA zone 6 (1992-95)          ~
--------------- http://cac.uvi.edu/staff/rc3/ ---------------


Post a reply to this message

From: Richard Callwood III
Subject: Re: World on a Donut
Date: 2 Mar 2004 18:25:08
Message: <3u4a40drtn7adm4v2ebnu2hmv98jfcie10@4ax.com>
On 2 Mar 2004 01:13:45 -0500, "Rafal 'Raf256' Maj" <spa### [at] raf256com>
wrote:

>It seems that every indent in Yours code start with an 0xa0 charter, 

That looks like the ever-popular non-breaking-space character.

Perhaps it's the KNode software?

The NBSP is a favorite among WYSIWYG HTML editors.  Of course, there
is no such thing as WYSIWYG HTML, but vendors will keep selling the
tools as long as Web designers (or their clients) continue to
believe--or wish--that this fantasy is real.

I can envision newsreader software trying the same thing.

-- 
------------------- Richard Callwood III --------------------
~  U.S. Virgin Islands    ~  USDA zone 11  ~  18.3N, 64.9W  ~
~  eastern Massachusetts  ~  USDA zone 6 (1992-95)          ~
--------------- http://cac.uvi.edu/staff/rc3/ ---------------


Post a reply to this message

From: Tyler Eaves
Subject: Re: World on a Donut
Date: 2 Mar 2004 18:49:11
Message: <pan.2004.03.02.23.50.23.796315@NOSPAMml1.net>
On Tue, 02 Mar 2004 19:25:08 -0400, Richard Callwood III wrote:

> On 2 Mar 2004 01:13:45 -0500, "Rafal 'Raf256' Maj" <spa### [at] raf256com>
> wrote:
> 
>>It seems that every indent in Yours code start with an 0xa0 charter, 
> 
> That looks like the ever-popular non-breaking-space character.
> 
> Perhaps it's the KNode software?

Quite possible. I edit my POV code in vim, so I can't imagine that being a
problem. I usually swear by pan for usenet, but it doesn't support binary
attachments[1], so I use KNode when posting images.




[1] - Somewhat odd really. It DISPLAYS them fine, including displaying
images in the message body, it just can't POST them.


Post a reply to this message

From: Barron Gillon
Subject: Re: World on a Donut
Date: 4 Mar 2004 00:17:48
Message: <4046bbfc$1@news.povray.org>
Ha...  That's odd because I'm using XP (excelent!) and Outlook Express (meh,
but it is convienient) and it worked just fine.  I'd imagine it's your
reader.  My condolences.  I'm not sure what to think of the clouds, but
that's some beautiful water!


Post a reply to this message

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