Exporting Holograms
Holographic Object Package (.hop)
Last updated
Holographic Object Package (.hop)
Last updated
In Looking Glass Studio 1.1 we introduced the Holographic Object Package (.hop) file format! .hop files are intended to be used as a sharing format that allow you to keep all your settings you've applied in Looking Glass Studio, like Depthiness, Focus, Quilt rows & columns and light field direction. Every type of hologram can be exported as a .hop file. To create a .hop file you'll need to right click your playlist item, then select export. Choose the folder you want your .hop file saved in, and then name it whatever you'd like! Looking Glass Studio will then export your hologram!
This information is for folks who want to build their own apps that can parse .hop files, if you're just looking to export & share .hop files you can ignore this section.
The .hop format is using the same compression style as a normal zip archive. You can rename a hologram.hop file to a hologram.zip file to view the contents inside the hop file.
Currently, a hop file will contain the source hologram (quilt, rgb-d, light field set) and a .json file, which contains the settings used by Looking Glass Studio.
The Json structure is the same regardless of the hologram type, however, there are settings that will not be used for certain holograms.
These settings apply to all three hologram types. position_x
and position_y
only apply once the Holograms have been zoomed in.
position_x: controls the position of the hologram. valid values are floats between -1
and 1
.
position_y: controls the position of the hologram. valid values are floats between -1
and 1
.
zoom: controls how zoomed in the hologram is. valid values are floats between 0
and 1
.
duration: controls how long an image will be displayed, for videos this is not modfiable.
The important settings for RGB-D are:
depthiness: Controls the extrusion of the 3D mesh in Looking Glass Studio. Valid values are floats between 0
and 3
.
depthInversion: Changes the direction of the depth. Valid values are true
or false
.
chromadepth: changes the depth to use a hue/saturation based depth method, common in exports from depthkit or record3D. Valid values are true or false.
depthPosition: controls the position of the depth map relative to the rgb part of the image. Valid values are: top
, bottom
, left
and right
.
focus: controls the z depth position of the 3D mesh in Looking Glass Studio, valid values are floats from 0
to 0.5
The important settings for quilts are:
viewX: number of columns, valid values are whole numbers.
viewY: number of rows, valid values are whole numbers.
viewTotal: total number of views, valid values are whole numbers.
invert views: changes view direction, this is not currently used or recommended to change.
aspect: changes the aspect ratio of the footage, valid values are any float. 0.75 is the portrait's aspect ratio. and 1.77 is the aspect ratio for the Looking Glass 16" & 32" devices.
The important settings for light field photosets are:
focus: changes the focal point of the light field photoset, allowing you to change the focus. valid values are floats between 0
and 0.5
viewOrderReversed: changes the direction which the views of a photoset are loaded in.