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

Parallelize using Rayon #14

Merged
merged 3 commits into from
Aug 16, 2024
Merged

Parallelize using Rayon #14

merged 3 commits into from
Aug 16, 2024

Conversation

soumyasen1809
Copy link
Owner

  • Used Rayon to render image
  • Parallelize rendering of random balls

- Used rayon to parallelize the inner-most loop of render
- Moved writing image to ppm file outside the loop

%SOFTWARE
- Parallel iterator used for outer i,j loops
to render image faster

%SOFTWARE
- Use rayon par_iter to create the random balls
using random material.
- Extend worlds to add the balls

%SOFTWARE
@soumyasen1809 soumyasen1809 added the enhancement New feature or request label Aug 16, 2024
@soumyasen1809 soumyasen1809 self-assigned this Aug 16, 2024
@soumyasen1809 soumyasen1809 merged commit 3ec5954 into main Aug 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant