Module vrCubeImages
[frames] | no frames]

Module vrCubeImages

Functions
 
createCubeImages(node_name, type, resolution, supersampling, filename)
Exports an environment image.
Function Details

createCubeImages(node_name, type, resolution, supersampling, filename)

 

Exports an environment image.

Parameters:
  • node_name (string) - Use this node for the camera position.
  • type (integer) - Type of the cube image format. Possible values (0 = Separate Images, 1 = Vertical Cross, 2 = Horizontal Cross, 3 = Spherical Map).
  • resolution (integer) - Image resolution of one cube side in pixels.
  • supersampling (integer) - Supersampling. Possible values (0 = Off, 1 = 4x, 2 = 16x, 3 = 64x).
  • filename (string) - Filename of the image(s). Default type is png if no extension is specified. For separate images, provide a single filename (including extension), the name is extended for the 6 sides. Example: 'C:/cube.png' => 'C:/cube_zleft.png', 'C:/cube_zright.png', 'C:/cube_ztop.png', 'C:/cube_zbottom.png', 'C:/cube_zfront.png', 'C:/cube_zback.png' for z-up vector.