Feature #289

Sensors and emitters in ShapeGroups

Added by Sidney Cadot about 4 years ago. Updated almost 4 years ago.

Status:FeedbackStart date:07/14/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

It would be useful to be able to include sensors and emitters in shape groups, for example when modeling ophysical enclosures of cameras or lamps.

History

#1 Updated by Wenzel Jakob almost 4 years ago

  • Status changed from New to Feedback

Yes, this would be really nice. The only way I could imagine doing this is by adding a new Instanced<Sensor/Emitter> class which gets created for every instance of a sensor and emitter, and which is registered with the scene. So in that sense it would not be "true" instancing, but probably still very useful.

I'm not sure how to handle some quite important use cases though (such as what happens when a ray intersects an instanced light source -- how can the renderer determine the corresponding InstancedEmitter object and use that for internal computations?)

I'd classify this as a longer-term goal, which will probably require some rearchitecting of the renderer core.

Also available in: Atom PDF