-
Hi all, I want to use a group of irradiancemeters to measure a scene. Iteratively render each meter is time consuming, so I tried to use batch sensor to wrap the irradiancemeters and render the results. However, it seems the batch sensor doesn't think the irradiancemeter as a sensor. I guess because it is wrapped in a Shape object? An example code to reproduce the problem is as below:
It will produce this output:
I am wondering if I use the batch sensor in a wrong way. If this feature has not been supported yet, is there any other way to simultaneously measure irradiance of a group of positions? Many thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @cocoakang, I'm afraid you're touching on a limitation of this sensor plugin: it is designed to be declared as a child node to the I think this could be addressed by modifying the plugin to accept a |
Beta Was this translation helpful? Give feedback.
Hi @cocoakang, I'm afraid you're touching on a limitation of this sensor plugin: it is designed to be declared as a child node to the
Shape
defining the surface on which the incident flux is to be computed;batch
expectsSensor
child nodes so it won't accept arectangle
(Shape
) wrapping anirradiancemeter
.I think this could be addressed by modifying the plugin to accept a
shape
as an (optional) parameter, opening it to new use cases in the process.