File:Moon rotating full VEx5.ogv

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Moon_rotating_full_VEx5.ogv (Ogg Theora video file, length 16 s, 512 × 512 pixels, 3.73 Mbps, file size: 7.12 MB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Animated rotation of the earth's moon. The lit side of the full moon is shown, as an observer looking from the sun's direction would see it. On earth, only one side is visible, but the moon rotates relatively to the sun during one month. In order to render the animation of a full rotation, images from spacecraft beyond the moon had to be used. At the terminator near the right edge, craters can be seen most clearly.
The rendering uses vertical exaggeration such that the elevations are amplified by a factor of 5 to make the craters more visible.
Date
Source Own work
Author Geek3
Other versions

Source Code

[edit]
 
This image was created with POV-Ray.
 
This image was created with ImageMagick.

The frames of the animation were created with POV-Ray, a free 3D rendering program. Two components are required:

  • A surface color map, free image from NASA's 1994 Clementine mission.
  • An elevation map (from USGS, public domain) with grey values encoding surface altitudes. The elevation map can be used as a simple bump map for fast rendering, or (as in this case) to reconstruct a full 3D model with realistic shadows.

Executing POV-ray rendering:

povray +H512 +W512 +UA +AM1 +A0.03 +R6 +KI0 +KF1 +KC +KFI1 +KFF400 +Oframe Moon_rotating_full_VEx5.pov

Assembling the gif animation with ffmpeg:

ffmpeg -i frame%03d.png -r 25 -q:v 7 Moon_rotating_full_VEx5.ogv

Source file Moon_rotating_full_VEx5.pov:

// Moon_rotating_full_VEx5.pov
#version 3.7;
#include "colors.inc"

global_settings { assumed_gamma 1 }

camera { location <0, 0, -220> look_at <0, 0, 0> up 0.00526 right 0.00526 }

light_source {
    <0.3,0,-1> * 200
    color White
}

// use true 3D surface
#include "functions.inc"
#declare ele=function{
    pigment{
        image_map{
            jpeg "elevation.jpg" map_type 1 interpolate 2
        }
    }
}

#declare rs=0.03; // ratio of roughness to radius, original 0.006
isosurface {
    function { f_sphere(x,y,z, 1) + rs * (1 - ele(x,y,z).gray) }
    contained_by { sphere {0,1.01} }
    accuracy 0.00001
    max_gradient 1.2
    texture {
        pigment {
            image_map { jpeg "moon_surface.jpg" map_type 1 }
        }
        finish {
            ambient rgb 0.006*<1,1,1> // space is dark
            diffuse 1.4 // brightness
            brilliance 1.0 // seems most realistic
        }
    }
    scale <1,1,-1>
    rotate <0,-90+360*clock,0>
    translate <0,0,0>
}


Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:53, 16 April 201716 s, 512 × 512 (7.12 MB)Geek3 (talk | contribs){{Information |Description ={{en|1=Animated rotation of the earth's moon. The lit side of the full moon is shown, as an observer looking from the sun's direction would see it. On earth, only one side is visible, but...

There are no pages that use this file.

Transcode status

Update transcode status
Format Bitrate Download Status Encode time
VP9 480P 1.15 Mbps Completed 19:35, 3 September 2018 32 s
VP9 360P 562 kbps Completed 19:35, 3 September 2018 26 s
VP9 240P 281 kbps Completed 19:35, 3 September 2018 13 s
WebM 360P 511 kbps Completed 14:53, 16 April 2017 18 s
QuickTime 144p (MJPEG) 896 kbps Completed 20:20, 17 November 2024 1.0 s

Metadata