POV-Ray : Newsgroups : povray.binaries.images : Earth at night (17K) Server Time
19 Aug 2024 16:12:38 EDT (-0400)
  Earth at night (17K) (Message 11 to 17 of 17)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Matt Giwer
Subject: Re: Earth at night (17K)
Date: 30 Nov 2000 22:55:39
Message: <3A27213C.25A6D1BE@ij.net>
Jon Berndt wrote:
> 
> > > There does exist a daylight version of the nighttime pic I posted the
> URL for.
> > > If I can find it I'll post the URL for that, as well.
> >
> > I'd love to have the original of that one posted as an image on a
> > related website.
> 
> I now have one in my clutches. But, it's a couple MB in size. Probably too
> big to post here. I need a volunteer to take it and put it on an FTP server.

	I volunteer. I have DREAMHOST. 

-- 
<a href="http://www.giwersworld.org/holo2/holo-faq.phtml">This is
where I come from and have been.</a>
	--	The Iron Webmaster, 157


Post a reply to this message

From: Matt Giwer
Subject: Re: Earth at night (17K)
Date: 30 Nov 2000 22:56:44
Message: <3A27217C.64A2424D@ij.net>
Jon Berndt wrote:
> 
> > I now have one in my clutches. But, it's a couple MB in size. Probably too
> > big to post here. I need a volunteer to take it and put it on an FTP
> server.
> 
> I was wrong. I compressed it with low loss in .jpg format. I now have:
> 
> 1) Earth_day.jpg   ~900Kb
> 2) Earth_night.jpg   ~600Kb
> 
> Should I post them separately, here, or what?

	I can't answer that but email to me is fine. 

-- 
Strong drink is evil. It makes you shoot 
at revenooers and miss. 
	-- The Iron Webmaster, 243


Post a reply to this message

From: Kevin Wampler
Subject: Re: Earth at night (17K)
Date: 1 Dec 2000 02:19:51
Message: <3A2750CF.CF7E5AC3@u.arizona.edu>
It's a pretty basic scene (and mostly copied from your earlier post), but
hopefully it might be of some help.

#version unofficial MegaPov 0.5;

#include "colors.inc"

camera {
  location  <0.0, 3.5, -3.0>
  direction 1.5*z
  right     4/3*x
  look_at   <0.0, 1.0,  0.0>
}

background { color Black }

#declare Day = texture {
  finish {
    ambient 1
    diffuse 0
  }
  pigment {
    image_map {
      png "earth-land.png"
      map_type 1
      interpolate 2
    }
  }
}

#declare Night = texture {
  finish {
    ambient 1
    diffuse 0
  }
  pigment {
    image_map {
      png "earth_night.png"
      map_type 1
      interpolate 2
    }
  }
}

sphere {
  <0, 0, 0>, .5
  texture {
    slope <-8, 1.5, 5>
    texture_map {
      [0 Night]
      [.425 Night]
      [.575 Day]
      [1 Day]
    }
  }
  rotate <0,-140,0>
  scale 2
  translate <0,1,0>
}


Post a reply to this message


Attachments:
Download 'earth2.jpg' (19 KB)

Preview of image 'earth2.jpg'
earth2.jpg


 

From: Kevin Wampler
Subject: Re: Earth at night (17K)
Date: 1 Dec 2000 03:39:06
Message: <3A276363.31C5D92F@u.arizona.edu>
Oh, I probably should say, that although this is a cheat, it's pretty easy to
use.      Just set the vector after slope to be the position of the light
minus the position of the center of the sphere.  If you actually want to do a
realistic job with the lights, you might see if you can write a Megapov macro
that scans over the sphere testing points, then uses eval_pigment (is that
what it's called?) to test if a point corresponds to a light, in which case it
places a small glow there.  You could even use the trace function to see if
the point is shadowed, so you only put lights on the shadowed side.  This
would probably be pretty slow though, and seems like too much effort when
something far simpler does (in my opinion) a pretty good job.


Post a reply to this message

From: Jon S  Berndt
Subject: Re: Earth at night (17K)
Date: 1 Dec 2000 06:43:02
Message: <3A278F34.25B96882@hal-pc.org>
Kevin Wampler wrote:
> 
> It's a pretty basic scene (and mostly copied from your earlier post), but
> hopefully it might be of some help.

Very nice. Now, there are two things left to do:

1) Make the blue (all the water) pigment transparent and let a water texture
show through that would properly reflect solar illumination,

2) put in some clouds

There is a web site that posts a global satellite photo of just clouds every
three hours. Wrap the earth in another sphere slightly larger with the clouds
and another transparent color.

I may try it, but again, that is a little beyond my capabilities.

Jon

--
-------------------------------------------------------
Jon S. Berndt
League City, Texas
jsb### [at] hal-pcorg
-------------------------------------------------------



Post a reply to this message

From: Kevin Wampler
Subject: Re: Earth at night (17K)
Date: 1 Dec 2000 13:32:44
Message: <3A27EE86.1DF39E19@u.arizona.edu>
Check out http://www.btinternet.com/~consty/render/render_f.htm I think it has
exactly what you want, and there's a sample pov file included.


Post a reply to this message

From: Jon Berndt
Subject: Re: Earth at night (17K)
Date: 1 Dec 2000 15:12:10
Message: <3a28061a$1@news.povray.org>
"Kevin Wampler" <wam### [at] uarizonaedu> wrote in message
> Check out http://www.btinternet.com/~consty/render/render_f.htm I think it
has
> exactly what you want, and there's a sample pov file included.

Which has a link that points, here:

http://maps.jpl.nasa.gov

Jackpot!

Jon


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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