Should be displaying my sunset VRML world here
If instead you're seeing this text, you need a more modern web browser..
Drag your mouse around the background to rotate the view.
Roll the mouse wheel, or on a touch screen drag 2 fingers, to look up or down.
Right-click, or long-tap to get the menu if you want to choose full-screen view.
The ESC key escapes from full-screen, or on a touch-screen long-tap brings up the menu again then choose to end full-screen mode.
I traced this one at a higher resolution than usual because the Moon edges show aliasing (jagged lines) with low resolution. I used width and height of 1024 pixels:
povray +KFF6 +W1024 +H1024 +FN BackgroundMaker.pov
For the Moon I originally used just a lit sphere, but that was pretty unconvincing, so I located a nice picture of the moon online (NASA has lots of great pictures which are all in the Public Domain, and Wikipedia has some too, that generally are free to use and modify under one of the CreativeCommons licenses). Then I loaded it into the free painting and image manipulation program GIMP to cut the Moon from its background, and place it on a transparent background. I tried a few experiments, such as adding glow (looked fake) and increasing the brightness (good), then saved it as a png image, because png allows transparency. Here are the files to download if you want to examine them:
- sunset.pov
- This is a pretty simple POV-Ray scene
- BackgroundMaker.pov
- Notice I changed the position this background is viewed from. See the translate command at the end of the file.
- backgroundViewer.wrl
- This views the background in a VRML world.
- The background images:
- BackgroundMaker1.jpg
BackgroundMaker2.jpg
BackgroundMaker3.jpg
BackgroundMaker4.jpg
BackgroundMaker5.jpg
BackgroundMaker6.jpg
- full-moon-bright-512x512.png
- This is the Moon image I worked up in GIMP.