-
Notifications
You must be signed in to change notification settings - Fork 148
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
Collisions detection (Depth calculation) #1
Comments
Hi @libertyfree I cannot see the attachments you added |
when I render the map, it works. But, when I rotating the map, the models is coverd the wall layers, how can I fixed? |
Hi @codingBingo0309, with no more detail or code, it's hard to know what your code is doing wrong. The picture I posted is from one of my projects on a real building, so if you create the layers following the instructions I provided for the layer types order per floor, it should work. This gives me the idea to add a multi floor example showing exactly how it should be to work well. |
Sorry, I missing my code.
It's my code:
|
Working heavily on this until improved. |
Minor version by [@jscastro76](https://github.com/jscastro76), some enhancements and bugs. #### ✨ Enhancements - #144 Improve 07-alignmentTest.html adding 3D objects inside the building - #143 CameraSync adjustment to avoid depth issues between 3D objects and Fill-extrusions - #139 Add a full dispose button to 15-Performance.html demo - #1 Collisions detection (Depth calculation) #### 🪲 Bug fixes - #147 Error in BuildingShadows when used from a script module
@libertyfree @codingBingo0309 please check out the new version 2.1.4 as it includes an important change in the CameraSync depth calculation. I also updated the 07-alignmenttest.html example as per #144, including 2 very big dinosaurs within the walls of Chicago museum to test deeply and very close the depth of the fill extrusions and the 3D Objects. |
@libertyfree @codingBingo0309 does this change solved your issue with the depth calculations in your building? |
If so check the latest version, I did another update (#145) on depth calculations that I think it solves 100% of the issues an any zoom level. At least it solved for me all the different issues I had in very different objects |
This issue was initially created to enable collisions detection between 3D objects and make it configurable through an optional param, but the conversation derived in depth calculation to avoid collisions between 3D Objects and Fill-extrusions, which is definitely needed.
The text was updated successfully, but these errors were encountered: