Custom materials #144
Replies: 3 comments 7 replies
-
Hi @csparker247 - This is definitely of interest to us. We have a number of folks here doing similar multi-modal imaging who would like to visualize in Voyager. We do have a somewhat hacky way to do it right now using overlay maps, but it is not a robust solution. It's certainly feasible though, and would not be much work. It's on our last to work on at some point, but we won't turn down a PR :) |
Beta Was this translation helpful? Give feedback.
-
Hey @csparker247 I finally had some time to work on this. You can check out an initial implementation at https://github.com/Smithsonian/dpo-voyager/tree/dev-texture-swap. The branch name is a little misleading, I ended up extending our overlay functionality instead of swapping textures. But I think it's a little more efficient in the long run. Alternate maps are accessible via the material menu and can also be changed in tour step states. Happy to hear any feedback you may have for your use cases. |
Beta Was this translation helpful? Give feedback.
-
Finally had a chance to look into this feature. Before anything else, thanks! I think this is going to be very useful for us. Here's a few things I noticed:
|
Beta Was this translation helpful? Give feedback.
-
My research group often works with objects that have been imaged under multiple modalities (e.g. RGB, spectral, XRF) in addition to 3D. For example, here's a 3D model of an object, and here's the same 3D surface but textured with an infrared image. We'd like the ability to switch between materials (i.e. textures) as part of the Voyager interface. As far as I can tell, this is not part of the current API.
Given that there is currently built-in material switching support in Voyager, it seems possible that it could be relatively simple to support user-defined materials, but I'm not that familiar with the code base. Has this been considered? Does this idea align with your plans for Voyager? We could possibly have a student contribute this feature if that would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions