POV-Ray : Newsgroups : povray.general : Generate planet maps Server Time
31 Oct 2024 23:28:02 EDT (-0400)
  Generate planet maps (Message 1 to 4 of 4)  
From: Helix
Subject: Generate planet maps
Date: 3 Mar 2005 05:05:02
Message: <web.4226e04af9f92804d54e11790@news.povray.org>
Hi,

I'm looking for a macro/scene file which will generate planet maps and
output them into files.

I need to generate planet (flat) maps and also use them as spherical map.

Does it exist ? If not, how can I do this ?
I've found "Blender World Forge"
(http://www.selleri.org/Blender/scripts/text.html), but I want to do this
with POV-Ray :)

Thanks.


Post a reply to this message

From: Warp
Subject: Re: Generate planet maps
Date: 3 Mar 2005 06:18:34
Message: <4226f28a@news.povray.org>
Helix <nomail@nomail> wrote:
> I'm looking for a macro/scene file which will generate planet maps and
> output them into files.

> I need to generate planet (flat) maps and also use them as spherical map.

  You mean something like this?


// Render for example at -w800 -h400 +a0.1
camera
{ spherical
  location 0
}

sphere
{ 0, 1 inverse
  pigment
  { bozo color_map
    { [0 rgb <0,0,.7>]
      [.55 rgb <.2,.5,1>]
      [.55 rgb <.4,.8,.4>]
      [.8 rgb <.7,.5,.2>]
      [1 rgb <1,1,1>]
    }
    scale .5
    turbulence 1
  }
  finish { ambient 1 }
}


Post a reply to this message

From: Helix
Subject: Re: Generate planet maps
Date: 3 Mar 2005 07:15:00
Message: <web.4226ff7268d27c1bd54e11790@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Helix <nomail@nomail> wrote:
> > I'm looking for a macro/scene file which will generate planet maps and
> > output them into files.
>
> > I need to generate planet (flat) maps and also use them as spherical map.
>
>   You mean something like this?

Yeah ! I exactly meant this ! Your scene file is pretty cool :)

Now I need to set colors proportion (eg. 70% brown earth, 30% blue water) or
have random colors.
Next, texturize a spere with the map and add some cloud effect or any kind
of atmospheric effects.

Are there any scripting facilities in POV-Ray in order to generate n bmp
files ? With 1 < n < 1000.

So it will be:
- 1_flat.bmp
- 2_flat.bmp
- ....
- 999_flat.bmp
- 1000_flat.bmp

And:
- 1_sphere.bmp
- 2_sphere.bmp
- ....
- 999_sphere.bmp
- 1000_sphere.bmp


Post a reply to this message

From: Warp
Subject: Re: Generate planet maps
Date: 3 Mar 2005 10:07:43
Message: <4227283f@news.povray.org>
Helix <nomail@nomail> wrote:
> Are there any scripting facilities in POV-Ray in order to generate n bmp
> files ? With 1 < n < 1000.

  Read the documentation about animation.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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