-
Notifications
You must be signed in to change notification settings - Fork 242
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
Bitmap and Checkerboard - max() Method Not Implemented #707
Comments
Hi @Microno95 Indeed! The |
Great! I'll work on that, though I won't have access to my computer til Sunday so not before then 😅 Is there any interest for volume textures that are swept or tiled versions of 2d textures like 3d rotated cross-sections and swept sections? And is there any interest in composing textures/volumes through plugins that implement combining them at runtime through simple operations like addition, multiplication, mixing (using a texture or constant)? I can roll them into the same PR as extensions to textures/volumes. |
Thank you!
I'm not quite sure I understand the second half. What types are we talking about here? Composing these by using Overall, I think these are nice features but don't have their place in the main repository. We've discussed the ability to write and publish extensions/plugins to Mitsuba 3 a few times. I think something like this would be a great candidate. There's still a bit more work to be done on our end for this to be available. |
Ah, I meant in the context of specifying scenes in xml files. It's not the simplest to say combine two images directly in mitsuba 3 and rather that's left to external software. Perhaps, as you said, a separate mitsuba extensions library makes more sense. I'd be very happy to contribute to it. |
Summary
I am using a 2d texture to represent a rotationally symmetric 3d volume (really useful in the case of certain types of volume emitters, refer to #678) but I'm finding that it is not possible to obtain the maximum of a bitmap or checkerboard texture.
System configuration
System information:
Variants:
Description
Bitmap and Checkerboard should have very simple implementations of the max method given that bitmap computes the mean (which can compute the max alongside it) and checkerboard has known components.
Happy to implement this and create a PR if there's no plans to do it. Will also see if it's straightforward to do for the
mesh_attribute
texture as well.The text was updated successfully, but these errors were encountered: