User Tools

Site Tools


tutorials:light-modeling-sensors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorials:light-modeling-sensors [2025/06/04 14:10] – created MHtutorials:light-modeling-sensors [2025/11/02 03:59] (current) MH
Line 9: Line 9:
 Note: The output of a sensor node is normalized to absorbed radiance per square meter, independent of the actual size of the sensor.  Note: The output of a sensor node is normalized to absorbed radiance per square meter, independent of the actual size of the sensor. 
  
-Note: Sensor nodes can be enabled and disabled for the light model using the LM.setEnableSensors(true/false) function. By default they are disabled, since GroIMP version 2.1.4, before they were enabled by default. Having them disabled speeds up the light computation time for scenarios where not sensor nodes are involved. +Note: Sensor nodes can be enabled and disabled for the light model using the //LM.setEnableSensors(true/false)// function. By default they are disabled, since GroIMP version 2.1.4, before they were enabled by default. Having them disabled speeds up the light computation time for scenarios where not sensor nodes are involved. 
  
 Below an (incomplete) example for the spectral GPUFlux light model: Below an (incomplete) example for the spectral GPUFlux light model:
Line 21: Line 21:
 const FluxLightModel GPU_LM = new FluxLightModel(RAYS, DEPTH); const FluxLightModel GPU_LM = new FluxLightModel(RAYS, DEPTH);
 // enable dispersion // enable dispersion
-GPU_LM.setDispersion(true); +GPU_LM.setEnableSensors(true); 
  
 //check what the sensor node has sensed //check what the sensor node has sensed
tutorials/light-modeling-sensors.1749039031.txt.gz · Last modified: 2025/06/04 14:10 by MH