OpenDroneMap-ODM/contrib/blender
Mark Hale 997375493f VR videos.
Signed-off-by: Mark Hale <mark.hale@physics.org>
Former-commit-id: 7e14c54ae7
2017-03-07 23:04:09 +00:00
..
README.md VR videos. 2017-03-07 23:04:09 +00:00
common.py Code formatting. 2017-03-06 17:11:23 +00:00
odm_photo.py Video script. 2017-02-28 01:10:07 +00:00
odm_video.py VR videos. 2017-03-07 23:04:09 +00:00
photo_360.blend Video script. 2017-02-28 01:10:07 +00:00
photo_vr.blend Added EXIF metadata. 2017-02-22 22:59:59 +00:00

README.md

Blender scripts

odm_photo

Renders photos from ODM generated texture models. Currently can produce 360 panoramic photos and 360 3D panoramic (VR) photos. NB: the default resolution for 360 photos is 6000x3000 (maximum supported by Facebook).

Requirements

  • Blender
  • ExifTool (must be on your PATH)

Usage

To generate a 360 panoramic photo:

blender -b photo_360.blend --python odm_photo.py -- <project-path>

Output is <project-path>/odm_photo/odm_photo_360.jpg.

To generate a 360 3D panoramic photo:

blender -b photo_vr.blend --python odm_photo.py -- <project-path>

Output is <project-path>/odm_photo/odm_photo_vr_L.jpg and <project-path>/odm_photo/odm_photo_vr_R.jpg.

NB: argument order matters!

odm_video

Renders videos from ODM generated texture models. Currently can produce 360 panoramic videos. NB: the default resolution is 4096x2048 (maximum supported by Facebook).

Requirements

Usage

To generate a 360 panoramic photo:

blender -b photo_360.blend --python odm_video.py -- <project-path> <camera-waypoints.xyz> <number-of-frames>

Output is <project-path>/odm_video/odm_video_360.mp4.