For the benefit of others here is the correct way to script an animation. The name of file minus the sequence number is to be specified. In place of the sequence number an asterisk is placed.
If you have a file sequence named MyCubeMapvideo_001.jpg, MyCubeMapvideo_002.jpg and so on the below script should work. Unfortunately it seems that you can only get 10-13 frames if the file format is JPG (on a Galaxy S6).
The JSON file is to be named the same as the first frame of the animation.
I am now eagerly awaiting a tool that can convert JPG and PNG files into device specific OKX files. Sort of an Xmas wish I guess
Cheers,
Kim
{
"title": "MyCubeMapvideo",
"author": "Yours truly",
"url": "MyCubeMapvideo_*",
"loop": true,
"fps": 60,
"scrub": 0.1
}
Jax wrote:kimusan wrote:Goldorak wrote:Yes, if you drop 001.jpg-300.jpg you can load an image sequence (in any format, including cube maps) as follows (can be EXR or PNG but they night take longer to load)
{"title":"MyCubeMapvideo_VR",
"author":" Goldorak",
"url:","*.jpg",
"loop":true,
"fps":60,
"scrub":0.1}
This will allow you to develop and test your content locally. We use ORC for 100+ frame 18K renders at scale, and further leverage the ORC render nodes to encode .OKX frames (OKX == device specific GPU image data specifically exported for an ORC supported target platform). This can be as high as 9 mins/frame for Gear VR compression compatible with Note 4 and later - which is longer than the render itself in some cases.
ORC generates a default JSON (you can edit it) that is included in an ORBX package along with all the frames for the job on completion. You can fetch it from a private URL, and even publish this URL to share with others. This way you can treat the render job a as a pure movie or navigable scene on its own right out of ORC.
Goldorak, I can't get this to work. The JSON file is named 001.json and the animation files are 001.jpg - 030.jpg, and I am running ORBX 2.0.7 (BTW in general Update does not seem to work at all on my Note 4 and Gear VR so I have to uninstall the app I want to update and then install it).
Hi Kimusan,
We are aware of the App update issue, we are working with Oculus to resolve this issue for our next release.
also, if you send me your project package, I could help with the debugging.