three-mesh-bvh
three-bvh-csg
three-mesh-bvh | three-bvh-csg | |
---|---|---|
5 | 4 | |
2,277 | 520 | |
- | - | |
9.5 | 9.0 | |
3 days ago | 15 days ago | |
JavaScript | JavaScript | |
MIT License | 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-bvh-csg
-
Is there a tutorial for making a CAD tool with Three.js?
there's csg, but that's just very simple boolean operations https://codesandbox.io/s/csg-house-y52tmt try this library for instance https://github.com/gkjohnson/three-bvh-csg
-
RT/CSG v2, very simple, declarative constructive solid geometry
rt/csg is a thin abstraction around the amazing three-bvh-csg library by @garrettkjohnson which enables these complex operations to be fast enough for runtime use.
- Make corners of mesh rounded
-
react-three/csg, a very simple to use csg abstraction
this is the vanilla library that enables it: https://github.com/gkjohnson/three-bvh-csg the fastest csg implementation i have ever tried.
What are some alternatives?
drei - 🥉 useful helpers for react-three-fiber
THREE-CSGMesh - Conversion of a CSG library for use with modern THREE.js
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
3DTilesRendererJS - Renderer for 3D Tiles in Javascript using three.js
GameDev - 👾 The code for my game dev + computer graphics experiments on YouTube. [Moved to: https://github.com/SuboptimalEng/Gamedex]
three-typescript-webpack-starter - A starter project for using Three.js, TypeScript, SCSS and Webpack.
webxr-threejs-midi-visualizer - WebXR, augmented reality MIDI data visualization, built with Three.js and Tone.js. See video: https://youtu.be/lIecCGtbqSM
three.js - JavaScript 3D Library.
three-js-games - 👾 The code for my Three.js game dev experiments on YouTube.
seiri - https://youtu.be/c_YhltkgsgQ