Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EnvMapLights Class for Environment Map Lighting #1819

Closed
ostapagon opened this issue Jun 17, 2024 · 0 comments
Closed

Add EnvMapLights Class for Environment Map Lighting #1819

ostapagon opened this issue Jun 17, 2024 · 0 comments

Comments

@ostapagon
Copy link

🚀 Feature

Introduce an EnvMapLights class that illuminates a scene using a 2D discrete environment map. This environment map can be derived from spherical harmonics.

Motivation

Currently, PyTorch3D supports various types of lights, but there is no direct way to use 2D discrete environment maps for scene illumination. Adding this feature would enhance the lighting capabilities of PyTorch3D, making it easier to achieve realistic lighting effects in 3D scenes. This is particularly useful for applications in computer graphics and vision where environment lighting plays a crucial role.

Pitch

The EnvMapLights class will allow users to illuminate scenes using a 2D discrete environment map. The environment map can be obtained from spherical harmonics, offering a versatile and efficient way to simulate complex lighting conditions.

Implementation links:

Here is a link to a commit on forked repo with class and notebook.
Google Colab Notebook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants