You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
right now nexus_three.js (in the master branch) or Nexus3D.js (in the threejsES6 branch) use the lowest resolution LOD for raycasting: the model can be pretty large, so traversing the tree and raycasting multiple nodes is more complicated and expensive (also in terms of RAM, since I have to keep all the nodes in javascript, vs. just keeping the GPU buffers).
For obvious reasons picking can only be done on the model at the resolution that has been already loaded, I could add a switch to enable higher resolution picking.
Otherwise I can patch nexus_three.js to also return the face and the face normal (the face index would not be that useful i guess).
Nexus3D.js is using the ThreeJS internal raycasting, albeit at the coarse LOD, and should return face and face index.
Hello Federico,
Is it possible to get faces/triangles normals when raycasting to a Nexus object like in other model formats in ThreeJS ?
The raycaster.intersectObjects seems to return only the position of the intersection.
Thank you in advance.
The text was updated successfully, but these errors were encountered: