-
Notifications
You must be signed in to change notification settings - Fork 4
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
Alpha-value parameter for transparent renderers #10
Comments
I have pushed an example implementation to feature-isosurface-transparency branch. This also makes face culling of isosurfaces more configurable. The updated demo shows a transparent isosurface around an opaque one. |
The first image really looks very nice! This approach seems at least a good initial solution - most of the visualisations I had in mind can still work. I had not thought of the "hiding" effect you show in the second image - this is quite an unfortunate effect... Could one deactivate this depth check individually (in the sense the arrow-renderer would still hide anything behind it, but the isosurfaces would not)? For 50% opacity that could be a workaround, as the colors would be mixed appropriately. Do the visual artifacts in the last image only appear when shadowing is used in the shader? |
Would this be reasonably easy to implement via the shaders, simply giving all a renderer's triangles an alpha value?
It would be useful for all renderers, but especially transparent isosurfaces would be a very cool feature, see for example this:
The text was updated successfully, but these errors were encountered: