Single/multiple scattering on a per-volume basis?

Discussion related to the LuxRender Material system, programming API and Scene file format.

Moderators: jromang, tomb, zcott, coordinators

Single/multiple scattering on a per-volume basis?

Postby J the Ninja » Tue May 10, 2011 1:03 am

At the moment, Lux is switched between single and multiple scattering with the volume integrator, which is per-scene. Would it be possible to allow this to be set per-volume? The real world obviously contains a mix of both light and heavily scattering volumes (like, say, dusty air and people), it seems rather limiting to have to set this per-scene.
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2207
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Single/multiple scattering on a per-volume basis?

Postby patrickwalz » Wed May 11, 2011 7:31 pm

i was wondering about this myself - iv seen photon map integrators that were plugins for pbrt that were unified (emmission, single, and multiple) so it should just be a matter of making the pieces...
patrickwalz
 
Posts: 75
Joined: Sun Mar 07, 2010 12:54 pm

Re: Single/multiple scattering on a per-volume basis?

Postby jeanphi » Thu May 12, 2011 6:40 am

Hi,

You could indeed create a custom volume integrator that would check a new volume property and adjust the algorithm accordingly. Remember that we're just scratching the surface of what is possible with the infrastructure.

Jeanphi
jeanphi
Developer
 
Posts: 6569
Joined: Mon Jan 14, 2008 7:21 am


Return to Materials, API & Scene file format

Who is online

Users browsing this forum: No registered users and 0 guests