bimvie.ws-viewer
bimvie.ws-viewer copied to clipboard
Colors/Reuse/Selection
So there are quite a few combinations of colors/reuse/selection, all of them should work, efficiently.
Colors:
- Indices/Vertices/Normals + Type (like IfcDoor) -> Color is based on the type, a SceneJS material can be used
- Indices/Vertices/Normals/Colors -> Color is based on per-vertex colors, no SceneJS material
Reuse:
- Reused (for example a window with the same dimensions being reused all over the building)
- Not reused (for example just one instance, or simply no reuse defined in original IFC file)
Selection:
- An object can be not-selected
- An object can be the primary selected object (just one object allowed to be in this state)
- An object can be part of the secondary selection (multiple objects allowed)
"Complications":
- An object that is being reused, that is also being selected, should obviously not change the color of the other reused objects
- Figure out an intuitive way of visualising the difference between the primary/secondary selection
For "selection", would this involve some sort of constraint that prevents certain objects from being selected?
Oh no with "non-selected" I mean the default state, in which an object is simply not selected. I think every object should be selectable, at least for now.
Yet another combination:
- Geometry that has less then 65000 or something vertices, which is fine
- Geometry that has more than that, we split it into multiple objects now to make sure WebGL is going to be able to handle it