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

[Feature] Add ColorRamp #821

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

Conversation

denghilbert
Copy link

@denghilbert denghilbert commented Jul 25, 2023

Description

This PR adds ColorRamp, similar in Blender to Mitsuba. The current implementation only supports RGB or Monochrome color representation, as Blender did. All the interpolation methods used in Blender are implemented and tested.

Testing

Many local tests use Blender as GT for comparison (since there is no Blender on the server).

Checklist

  • My code follows the style guidelines of this project
  • My changes generate no new warnings
  • My code also compiles for cuda_* and llvm_* variants. If you can't test this, please leave below
  • I have commented my code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I cleaned the commit history and removed any "Merge" commits
  • I give permission that the Mitsuba 3 project may redistribute my contributions under the terms of its license

@wjakob wjakob force-pushed the master branch 3 times, most recently from 3f3b8d0 to 1bdea6e Compare October 12, 2023 19:49
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

Successfully merging this pull request may close these issues.

1 participant