hanatos / corona-13

cpu path tracing test bed
GNU General Public License v3.0
42 stars 1 forks source link

More questions #3

Open ib00 opened 2 years ago

ib00 commented 2 years ago

I have a few more questions:

  1. Where are emitters (area light sources) added and used?
  2. Are things in include/vol subdirectory (eg, 'lighthierarchy.h') for volumetric emitters (ie, volumetric grid data processed and used as an emitter) only?

Thanks!

hanatos commented 2 years ago
  1. for instance https://github.com/hanatos/corona-13/blob/master/src/shaders/color.c#L71 https://github.com/hanatos/corona-13/blob/master/src/lights.d/list.c#L56
  2. yes, that is heterogeneous volume related only