Saturday, August 20, 2016

VR Environment

Some of the feedback we received was that the plain white background that MARUI used as a VR environment was - well - boring at best, and hard to look at in some scenes.

So we added some new options to the settings dialog:


Not only can you now change the background color, you can also use a cube-map environment!

This has two advantages:
If you want to use MARUI for PreViz, you can load a cube-map of the final VR environment (game level etc) and get a better feeling on how the model might fit into the overall scene.
And if you don't, you can just pick a nice and relaxing environment to escape your office:



If you don't have any cube-map textures, you can find a lot of them at http://www.humus.name/index.php?page=Textures

Currently only .PNG images are supported (we're working on supporting more file formats), so you may have to convert the files manually.
Also take care that the image size must be a "power-of-two" number. Which means they could either be 512x512 pixels (low quality), 1024x1024 pixels, or 2048x2048 pixels (high quality). You could use higher resolutions, but in current-generation VR devices, you won't see a difference anymore.

We chose to label the textures "front", "up", "right", and so on to avoid confusion, but very often, cube-maps are named in a different convention, describing the directions as "positive Z" or "negative X".

Here is a quick guide on what the directions mean:
negX : Left
negY : Down (ie: the floor)
negZ : Front (ie: your view direction)
posX : Right
posY : Up (ie: the sky)
posZ : Back (ie. behind your back)

Take care that the files will only be loaded when you click the "Set CubeMap Files" button, and that the "Render CubeMap Environment" checkbox must be checked in order to see it.

You might want to save your VR settings by clicking the "Save" button at the bottom of the settings dialog. Otherwise you'll have to select the files again every time.

Now get the latest version at www.marui-plugin.com VR-PlugIn for Maya and try it out!