Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a sphere that looks like Earth

How can you create a sphere in POV-Ray that looks like Earth? Presumably the answer would involve taking some kind of map of Earth and somehow wrapping it around a sphere as a texture. A Google search got me as far as http://www.physics.sfasu.edu/astro/courses/phy315/povray6.html but when I tried following the directions with the supplied files, the result is garbled; the texture doesn't seem to be wrapped correctly.

like image 500
rwallace Avatar asked Feb 07 '17 10:02

rwallace


People also ask

Why is the Earth not exactly a sphere?

The Earth is not a perfect sphere. Because it is spinning, it "bulges" at the middle. This makes the Earth a "squished sphere," or "oblate spheroid." "Datums" include an approximation of this spheroid.

Why does Earth look like a sphere?

Earth is massive enough that the pull of gravity maintains its roughly spherical shape. Most of its deviation from spherical stems from the centrifugal force caused by rotation around its north-south axis. This force deforms the sphere into an oblate ellipsoid.

Can a planet not be a sphere?

While all the planets in our solar system are nice and round, some are rounder than others. Mercury and Venus are the roundest of all. They are nearly perfect spheres, like marbles. But some planets aren't quite so perfectly round.

What would a Dyson sphere look like from Earth?

In theory it would either be totally gone or a very dull red, Dysons og idea was to capture all the energy and all we would see would be waste heat.


1 Answers

I never used povray but a simple google search led to this page (where you can download the pov-planet sources) and about 2 minutes in the povray manpage resulted in

povray -Otest -Iplanets-1.pov

which in turn produced an test.png with some planets.

You can try this as a starting point.

(POV-Ray 3.7.0.1.unofficial @ archlinux 64bit)

like image 195
birdspider Avatar answered Oct 16 '22 15:10

birdspider