kaolin icon indicating copy to clipboard operation
kaolin copied to clipboard

Multiple light source in a scene

Open Entongsu opened this issue 3 years ago • 7 comments

Hello,

Thank you for sharing this great project.

I have a question about the lighting setting. I wonder whether kaolin supports Multiple light source rendering in the same scene. Thank you!

Entongsu avatar Apr 17 '22 21:04 Entongsu

Hi @Entongsu ! Thank you for your interest in Kaolin! Currently we support spherical harmonics which should be usable for multiple light sources. We are planning to add more related features, is there anything in particular that you are looking for?

Caenorst avatar Apr 17 '22 22:04 Caenorst

Thank you for your reply. I wonder how many light sources that I can add in a scene. I am not very sure how to add multiple light sources in the same scene. Could you give me some hints over this? Thank you.

Entongsu avatar Apr 18 '22 07:04 Entongsu

What do you want to do with those light sources?

Caenorst avatar Apr 19 '22 16:04 Caenorst

I plan to render a scene with different light sources with different colors from different locations.

Entongsu avatar Apr 19 '22 18:04 Entongsu

What renderer are you intending to use?

Caenorst avatar Apr 19 '22 18:04 Caenorst

I want to use kaolin for the rasterizer and rendering.

Entongsu avatar Apr 19 '22 18:04 Entongsu

Hi @Entongsu , we recently added spherical gaussian features for lighting, see:

  • https://github.com/NVIDIAGameWorks/kaolin/blob/master/examples/tutorial/diffuse_lighting.ipynb
  • https://github.com/NVIDIAGameWorks/kaolin/blob/master/examples/tutorial/sg_specular_lighting.ipynb

Caenorst avatar Dec 21 '22 16:12 Caenorst