-
Notifications
You must be signed in to change notification settings - Fork 364
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
Option to make selected objects not appear floating in front of others #100
Comments
This is what I meant with xeokit/xeokit-sdk#493, but it's way better explained here |
Solutionxeokit-bim-viewer
xeokit-sdk
CaveatTo make this work within the renderer, we need to make selected objects always appear opaque when selectedGlowThrough is This is a necessary hack at this point, because of the way renderer is currently architected. It will take a slightly deeper change to be able to preserve the original transparency of each selected object. However, perhaps the opacity is desirable? |
Is it possible to define different behavior for over and select? |
@Amoki at the xeokit-sdk level it's supported for highlight and select, so could also be made to work for mouse-over as well. Examples of selection and highlighting objects on mouse hover: https://xeokit.github.io/xeokit-sdk/examples/#picking_canvas_mesh_highlight_glowThroughFalse |
Another possibility: Add Colorize tool #107 |
Feedback from user:
We would like to have Selection Tool work like Colorize Objects. The main difference is that we do not want the Selected Entity to be visible behind other solid materials (walls etc...).
Possible options:
Notes:
(1) would allow us to have different colors on selected objects
(2) restricts us to the same color for all selected objects
(2) is likely cleaner than (1) architecturally, because xeokit's "colorized" was not intended for visualizing selected objects and may break user expectations (and require hacks)
The text was updated successfully, but these errors were encountered: