three-mesh-bvh
THREE-CSGMesh
three-mesh-bvh | THREE-CSGMesh | |
---|---|---|
5 | 1 | |
2,277 | 430 | |
- | - | |
9.5 | 5.7 | |
3 days ago | 4 months ago | |
JavaScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
three-mesh-bvh
-
Procedural CAD Modelling tools for WebGL
the default one ( with the sop/boolean node ) uses https://github.com/gkjohnson/three-mesh-bvh, which is very stable already.
-
Checking a mesh is inside another mesh
Have you tried using https://github.com/gkjohnson/three-mesh-bvh ? That may give you some easier collision detection tools.
-
Super Soldier Battle Game - Three.js - AWS Serverless
The game is currently unplayable for me (10fps) and I can run Witcher 3, so I definitely should be able to run this. You need to do some heavy optimizations. Looking at the console, while there is a high amount of time spent on rendering, over half the frame is spent on raycasting. You have to either reduce the amount of raycasters in your game, reduce the number of objects raycast against, divide meshes into smaller chunks (default raycast loops through entire geometry, so highpoly large meshes are really bad for you) and/or use BVH to speed up raycasting https://github.com/gkjohnson/three-mesh-bvh
-
FPS-style controls with a large GLB model loaded
There is a different raycast method, not too hard to implement and that probably will run a lot better https://github.com/gkjohnson/three-mesh-bvh
-
Raycaster is lagging/superslow on mouse move event
or trying https://github.com/gkjohnson/three-mesh-bvh
THREE-CSGMesh
-
Intersecting Objects Shadow Problem
Currently I'm thinking of trying CSG (https://github.com/manthrax/THREE-CSGMesh) . - It's hard to tell, but from the demo's (like this one: https://manthrax.github.io/THREE-CSGMesh/demos/CSGShinyDemo.html) I don't see the lines where the objects intersect, presumably because the shadow works on them as one object. However can see the same kind of lines I'm having where the cubes intersect the floor. These type of lines are especially noticeable when the shadow is strong. Still, CSG seems like a bit of effort, (and possibly a performance cost) so I'm still hoping there is a more straight forward solution... Thanks again.
What are some alternatives?
drei - 🥉 useful helpers for react-three-fiber
three-bvh-csg - A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh
THREE.js-PathTracing-Renderer - Real-time PathTracing with global illumination and progressive rendering, all on top of the Three.js WebGL framework. Click here for Live Demo: https://erichlof.github.io/THREE.js-PathTracing-Renderer/Geometry_Showcase.html
3d-Teleporter-in-Three-JS - 3d Teleporter with Saitama model
3DTilesRendererJS - Renderer for 3D Tiles in Javascript using three.js
hedron - Perform live shows with your three.js creations
three-typescript-webpack-starter - A starter project for using Three.js, TypeScript, SCSS and Webpack.
three.js - JavaScript 3D Library.
aframe-extras - Add-ons and helpers for A-Frame VR.
EspNowFloodingMesh - Arduino EspNow managed flooding mesh network with mqtt
WebXR-games - Curated list of cool WebXR Games & Experiences