Skip to content
New issue

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

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

Already on GitHub? # to your account

Path tracer #292

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Path tracer #292

wants to merge 27 commits into from

Conversation

i-make-robots
Copy link
Collaborator

@i-make-robots i-make-robots commented Dec 21, 2024

Features

  • added PathTracer panel
  • includes antialasing, camera selection, and runs 20 samples per pixel to a depth of 4 bounces.
  • also improved faster sphere intersect test

Todo

  • sun direction and color are not available to both viewports.
  • duplicate code in viewports could be simplified
  • texture color not available in path tracer
  • reflections
  • refractions

Examples

Left is path trace, right is OpenGL 3.
image
Screenshot 2024-12-20 164526

@i-make-robots
Copy link
Collaborator Author

Added Environment node to share sun position, sun color, and ambient color with everyone.

image

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

Successfully merging this pull request may close these issues.

1 participant