Volume light sources are light emitting boxes. The orientation and size of the box and the other required parameters are specified in the following dialog:
The 'Location' vector gives the box center, whereas the other three vectors point from the center of the box to the centers of three rectangles that define the boundary of the box:
Access by OLE automation
OLE automation controllers can modfiy a volume light source named 'MyName' in the SPRAY object list by the following OLE commands:
object_parameter("MyName", "x"): read/write the x-coordinate of the position
object_parameter("MyName", "y"): read/write the y-coordinate of the position
object_parameter("MyName", "z"): read/write the z-coordinate of the position
object_parameter("MyName", "x1"): read/write the x-coordinate of vector 1
object_parameter("MyName", "y1"): read/write the y-coordinate of vector 1
object_parameter("MyName", "z1"): read/write the z-coordinate of vector 1
object_parameter("MyName", "x2"): read/write the x-coordinate of vector 2
object_parameter("MyName", "y2"): read/write the y-coordinate of vector 2
object_parameter("MyName", "z2"): read/write the z-coordinate of vector 2
object_parameter("MyName", "x3"): read/write the x-coordinate of vector 3
object_parameter("MyName", "y3"): read/write the y-coordinate of vector 3
object_parameter("MyName", "z3"): read/write the z-coordinate of vector 3