Light-map instrument

From Eclat-Digital Ocean 2014 Documentation
Jump to: navigation, search
instrument-2014.png

Description

Cornell box floor rendered with an orthographic camera
scene file

This instrument collects light reaching a scene geometry. The scene geometry surfaces are mapped to the result image buffer using the geometry's UV coordinates, scaled to fit the image frame.

Children nodes

sensor-2014.png sensor
Sensor : List of channels defined by a sensitivity spectrum
postprocessing-2014.png postprocessing
Postprocessing : The post-processing filter chain

Parameters

xresolution
int
Horizontal buffer resolution
yresolution
int
Vertical buffer resolution
pixelfilter
list
The ray pixel filter
shutter
real
Shutter time or exposure
wlmin
real
Low bound of simulation wavelength range (Since Ocean 2014 R2)
wlmax
real
High bound of simulation wavelength range (Since Ocean 2014 R2)
material
string
The material that should collect light

Example

<?xml version="1.0" encoding="UTF-8"?>
<oceanroot version="2.3">
<instrument type="lightmap" name="floorlightmap">
	<prm xresolution="512" yresolution="512"/>
	<prm pixelfilter="bilinear"/>
	<prm shutter="0.8"/>
	<prm wlmin="380E-9"/>
	<prm wlmax="780E-9"/>
	<prm material="floor"/>
	<sensor type="ciexyz" name="sensor"/>
	<postprocessing type="" name="postprocessing">
		<filter type="xyztorgb" name="filter1" enabled="1" xwhite="0.3127" ywhite="0.329"/>
	</postprocessing>
</instrument>
</oceanroot>

See also

Instrument types