All,
Not sure how many people are still using their old Samsung Gear VR and the ORBX Media Player, but here is a Lua script that will render out appropriate content and a corresponding script so that content can be viewed as a VR tour on Samsung gear VR devices with the ORBX Media Player installed on the corresponding android phone.
Let me know if you find bugs, I will try to fix. Instructions are as follows, are also included in the scripts headers, and as a tooltip under the ellipses "..." in the UI.
-- Description:
-- This script renders all the available render targets of the loaded project as Cubemap or Equirectangular images to a user specified Directory created by this script.
-- Additionally it writes a Lua VR tour script suitable for the Orbx Media Player on android phones to the same directory, creating a package of files,
-- the user specified folder of which can be dropped into the 'ORBX>media' folder on the phone so that it will appear in the media player when it starts.
-- The script will also write stero pair versions of the image suitable for 3D display on a Leia Lume Pad 2 android tablet.
-- A log file is created in the directory immediately above the package folder.
--
-- Setup
-- The Render Target to be rendered requires both a Camera and a Film settings with an Image resolution node be connected, otherwise ithe script will not complete.
--
-- User supplied data.
-- Asks the user for an output directory and saves all the images to that directory (<rendertargetname>_01.png, <rendertargetname>_02.png, ...) and optionally a tour script.
-- Asks user for the file format of the output
-- Requires recource files to be located in the Octane scripts directory in a sub folder called resources i.e. C:\Program Files\OTOY\Scripts\Recources,
-- this can be changed by editing the script.
--