DomeViewer - zicher3d-org/domemaster-stereo-shader GitHub Wiki

The Dome Viewer tool creates an immersive fulldome and panoramic image + movie viewer.

Table of Contents

DomeViewer for Softimage Introduction

The DomeViewer tool creates an immersive fulldome image+movie viewer in Softimage. You can use the "Clips" property editor window to change the media file displayed on the fulldome viewer mesh. The DomeViewer toolbar button makes it easy to explore high resolution domemaster angular fisheye formatted still images, and video files.

DomeViewer for Maya Introduction

The Dome Viewer tool creates an immersive fulldome and panoramic image/image sequence/movie viewer.

The viewer supports all image and movie formats that can be opened using the Maya File Texture and Movie Nodes. You can display immersive images, image sequences, and movie files with accelerated RAM playback in the Maya viewport. Tilted fulldome theater screens can be simulated with the "Dome Tilt" attribute.

The following panoramic formats are supported:

  • 180 Degree Fulldome
  • 180 Degree Fulldome on 4:3 Ratio Background
  • 180 Degree Fulldome on 16:9 Ratio Background
  • 360 Degree Angular Fisheye
  • Mirror Ball
  • Equirectangular / LatLong / Spherical
  • Cube Map 3x2
  • Cylindrical
  • Vertical Cross Cube
  • Horizontal Cross Cube
  • Vertical Tee Cube
  • Horizontal Tee Cube
  • Vertical Strip Cube
  • Horizontal Strip Cube
  • Mental Ray Horizontal Strip Cube1
  • Quadsphere (Starglobe)
  • Gear VR Mono Cube
  • Ricoh Theta S Camera
  • Facebook Cube Map 3x2
  • Facebook Pyramid
  • Facebook Vertical Strip
  • LG360 Camera
  • Samsung Gear 360 Camera

The dome viewer tool supports the following media formats:

  • png
  • tif
  • tga
  • jpg
  • bmp
  • psd
  • exr
  • mov available on Mac OS X
  • qt available on Mac OS X
  • avi available on Windows

You can load stereoscopic 360° imagery in the following image layouts:

  • None - Mono 2D
  • Side by Side Stereo
  • Over Under Stereo
  • Stereo Image Pair

The stereo display control allows you to view the stereo imagery using:

  • Full Color Anaglyph
  • Luminance Anaglyph
  • Freeview (Parallel)
  • Freeview (Crossed)
  • Horizontal Interlace
  • Checkerboard
  • Center Eye
  • Left Eye
  • Right Eye

Dome Viewer User Interface

This is a screenshot of the DomeViewer GUI. The window is dockable so you can have the window floating or stuck to the left or right side of your Maya user interface.

DomeViewer Window

Panorama Options

Panorama Controls

The Panorama Format options menu allows you to choose the type of panoramic imagery you want to view. If you click on the menu, you can use the up and down arrows to cycle through the different panorama display modes.

A small thumbnail image is used to show what a sample image looks like in each panoramic format type.

Media Loading Options

Media Loading

The Media Type options menu allows you to choose the type of imagery you want to load in the viewer. You can choose between Still Image, Image Sequence, and Movie File.

When you set the Media Type to the Movie File setting a movie node is added to the Dome Viewer shading network. On Windows the movie playback node supports AVI files. On Mac OS X the movie playback node supports Quicktime .mov and .qt files.

If you want to display a high resolution animation in the Dome Viewer it is recommended to use the image sequence option over the movie file.

Stereo Format

The Stereo Format control allows you to choose how the stereoscopic 360° left and right views are loaded. The available choices are "None - Mono 2D", "Side by Side Stereo", "Over Under Stereo", and "Stereo Image Pair".

Stereo Display

The Stereo Display control allows you to choose how the stereoscopic 360° imagery will be viewed in Maya's realtime stereo viewport window. The available choices are "Full Color Anaglyph", "Luminance Anaglyph", "Freeview (Parallel)", "Freeview (Crossed)", "Horizontal Interlace", "Checkerboard", "Center Eye", "Left Eye", and "Right Eye".

The folder icon next to the Image Name field allows you to select media from your hard drive.

If you set the Stereo Format control to "Stereo Image Pair" then you will be presented with a Left Image Name and Right Image Name set of image browsing controls.

Viewer Options

Viewer Controls

The Dome Tilt Angle allows you to tip the viewer geometry to simulate a tilted dome theater screen. For example a value of 45 sets the theater screen to have a forward tilt of 45 degrees.

The Field of View control adjusts the panoramic camera's field of view in degrees.

Image Exposure controls the brightness of the image in the viewer. For a floating point image you can easily use values beyond the normal 0-1 / 0-255 dynamic range.

The Color Tint swatch allows you to apply a subtle color correction / color gain to the panoramic image. This can be used to add warmth to a sunrise scene or adjust for a color cast in the image. You can adjust the Image Exposure and Color Tint settings later by opening the Outliner, selecting the domeViewer item, and then changing the settings in the Attribute Editor's Extra Attributes section.

Time Controls

Time Controls

The "Time Controls" section is needed if you choose either the Image Sequence or the Movie File setting in the Media Type options menu.

The Time options menu lets you adjust the native frame rate used in Maya. This will allow you to control the speed of the movie and image sequence playback. The default time value is 30 fps. Internally, the Time options menu adjusts both the Maya workingUnitTimeDefault and workingUnitTime optionsVars in the Maya preferences.

The Start Frame and End Frame allow you to choose what part of the animated sequence will be displayed.

The Interactive Preview Cache menu item enables RAM caching for the image sequence/movie. Once the sequence has loaded and played through the active start to end frame range the RAM caching will dramatically accelerate the playback speed.

Extra Controls

Extra Controls

The Connect Alpha Channel checkbox allows you to load panoramic imagery in the viewport with the transparent information from the alpha channel passed through to the base surface material. The checkbox is disabled by default so you can easily view panoramic renderings that have been rendered with a transparent sky region by mental ray's physical sky and sun or Image Based lighting modes and still see the sky in the DomeViewer tool.

If the 180 degree fulldome mode is enabled you have the option of using the Bradbury Alignment Grid. This high resolution grid pattern allows you to precisely work out the placement of fulldome imagery in a calibrated space.

You can control the visibility and transparency of the Bradbury alignment grid by selecting the domeViewerGrid object's transform node in the outliner and editing the values in the Attribute Editor's Extra Attributes section.

The Link Panorama to Camera checkbox is useful if you are trying to navigate around in the panoramic image viewer. This control will point constrain the panoramic background to the viewer camera. The panoramic background will be linked so it follows the camera's motion, while allowing the camera view to freely tumble and roll in the viewport.

The Show Focal Length in HUD checkbox will turn on the current focal length HUD (Heads Up Display) message in the viewport. This is handy if you are trying to dynamically adjust the zoom level in the viewport using the Zoom view navigation control or the panoramic camera shape's focal length attribute.

The Flip the Panoramic Image checkbox will mirror the panoramic image so you are viewing the texture map as if it was an environmental reflection map. This effect is done by scaling the domeViewer shape (scaleX * -1).

Buttons

Buttons

The Create Viewer button adds an immersive viewer to the scene.

Note: It is important to save your current scene before running this command as Maya won't ask you to save any unsaved changes before loading the DomeViewer.

The Load Image into Render View button loads the current image that is listed in the Image Name text field in the Render View window. The image is auto-sized to fit the Render View window size. You can view the image at the native resolution by pressing the 1:1 button in the Render View toolbar.

View Navigation Controls

Viewer Nav Controls

After you add a Dome Viewer to your Maya scene you can use the standard Maya view navigation hotkeys + mouse buttons to easily navigate in the viewport. If you are on a laptop, or find your self using Maya with a graphics tablet or a trackpad you might find it helpful to use the set of view navigation controls in the lower part of the Dome Viewer window.

The Roll command makes it easy to simulate an "over the shoulder" style head rotation in a fulldome scene.

The Zoom control allows you to simulate different focal lengths when using the dome viewer. This control modifies the active camera shape node's focal length setting.

Editing the Extra Attributes

You can change the Dome Viewer's display mode, Exposure, Color Tint, and Transparency settings after creation using the Attribute Editor window.

Extra Attrs

Start by selecting either the DomeViewer node, or the DomeViewerGrid node in the outliner. Then open up the attribute editor and switch to the first tab named "DomeViewer" or "DomeViewerGrid". Scroll down to the Extra Attributes section (at the bottom of the Attribute Editor to see the custom settings.

The Double Sided Shading controls allow you to apply backface culling to the fulldome mesh and grid. This is useful if you want to view the fulldome "screen" from a distance and hide the foreground part of the screen that obscures the view.

Culling Disabled

Culling Enabled

Dome Viewer Example Video

This is video clip that shows a preview of the Dome Viewer features.

http://www.youtube.com/watch?v=hfIIDKswLm4&hd=1

Special Thanks

I would like to thank Aaron Bradbury for the fulldome alignment grid: http://www.luniere.com/2013/03/07/hi-res-fulldome-alignment-grid/