Maxwell Object functions

Maxwell Object functions

openImage( string path )

Loads an image to the Maxwell Render GUI.

Parameters

path: Path of the image. Read the relevant section of the manual for a full description of supported image formats.

Returned Value

Nothing

Example

This code will load an image into Maxwell Render from C:\users\demo\myimages and assign it to the variable "myimage".

var myimage = openImage("C:\users\demo\myimages");

openMxi( string path )

Loads an MXI file to the Maxwell Render GUI and displays its parameters in the UI.

Parameters

path: Path of the MXI file.

Returned value

Nothing

Example 1

This code will load an image into Maxwell Render from xxxpath.

some code here

Example 2

The path is stored in a variable which is then specified as the path parameter.

a more complex example