-
Notifications
You must be signed in to change notification settings - Fork 33
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
(p) allow user to set clipping box on google 3d tiles #758
Comments
progress so far: 3DStreet/aframe-loader-3dtiles-component#14 |
Linked the branch WIP to this ticket. Barely works, steps before it's "ready" would be:
|
@vincentfretin curious if you have any quick idea to advise on this AABB vs. OBB issue... ^^ |
I don't see any rotation applied to your clipPlanes THREE.Plane. Did you try setting clipPlane.rotation.y for each of your plane for example? |
@vincentfretin you're right it's not very robust. Instead of reinventing the wheel, I can try this next: example: |
The interesting part of obb-collider that handles the rotation was taken when we created our own OrientedBoxHelper if you remember 3dstreet/src/editor/lib/viewport.js Lines 42 to 84 in 48a2923
but here for your THREE.Plane I'm not sure this is relevant, it may be for the initial creation of the bounding box to get a correct size, but you still need to have your planes rotated that are used on your material. |
@vincentfretin would you be willing to try to help with this? Some notes:
Any other ideas? |
closed by #882 |
nytimes/three-loader-3dtiles#165
The text was updated successfully, but these errors were encountered: