 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Jon S. Berndt" wrote:
>
> Matt Giwer wrote:
> >
> > Thank you good sir, a thousand thank yous. May Allah bless you. That is
> > exactly the image I have been looking for, for a year now.
>
> You are most welcome. It seemed like the kind of picture somebody surely must be
> able to use!
>
> > And since you post the code. I plan a daylight sphere and a night
> > sphere trivially displaced so that half is dark and half is light. And
> > that being animation material.
>
> I considered this, too, and, given the right daytime earth image, I might
> eventually try it, as well. Post your results when you get something. I'd like
> to see it.
>
> I was trying to think of how it could be most realistically done. Would a
> layered texture work? I don't know.
When I get to it, just a plain image map. Daylight on one, night on the
other. If I just shift them 0.00001 or so along an imaginary line
connecting noon with midnight and one is mathematically "above" the
other.
> 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.
--
It's not as though Rocker had to say No. 7 train
to know he was talking about New York City.
-- The Iron Webmaster, 22
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> > 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.
Jon
Post a reply to this message
Attachments:
Download 'earth.jpg' (19 KB)
Preview of image 'earth.jpg'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> 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?
Jon
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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-pc org
-------------------------------------------------------
Post a reply to this 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.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Kevin Wampler" <wam### [at] u arizona edu> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |