three-mesh-bvh
three.js
three-mesh-bvh | three.js | |
---|---|---|
5 | 449 | |
2,277 | 98,992 | |
- | - | |
9.5 | 9.9 | |
3 days ago | about 11 hours 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.js
-
Implementing Bloom Effect with Mapbox and Three.js
Regarding the optimization of the effect, I found an issue on the three.js GitHub repository: https://github.com/mrdoob/three.js/issues/14104 The alpha channel issue seems to be a difficult problem, which has been present since 2018. At the end of the discussion, a solution proposed by a contributor is not to modify the UnrealBloomPass but to blend the source texture and target texture in the shader.
-
Finding Stars and Affirmations in the Sky with Three.js for Ayra Starr
Here's how we used Three.js to place and find affirmations in the sky.
- Ask HN: Tips to get started on my own server
-
Incredible JavaScript Animation Libraries
Three.js is dedicated to generating 3D visuals, offering a powerful suite of features and tools. It is built atop WebGL and optimizes GPU usage for rapid rendering, ensuring smooth performance across devices, including those with limited resources. Three.js's versatility allows for the creation of a vast spectrum of 3D graphics and animations, ranging from simple shapes to intricate models.
-
JavaScript Libraries That You Should Know
7. three.js
-
React: A Mess That Shouldn't Exist In Web Development
Most of frontend libraries are made with Vanilla JS. An example of library that you might frequently use is "Chart.js". But React is not compatible with Chart.js so here it comes "React-chartjs-2" A wrapper library to work with Chart.js in React ecosystem. Oh you want to use "three.js" for some cool 3D? you will need "React-three/fiber". In my case, I need to implement "telegram-web-app", not so fast, I have to create my own wrapper to be able to use it.
- JPEG XL Is a Stupid Name
-
Things you should know before learning Three.js
For one of my 100-Day Challenges, I chose to dive into Three.js, a JavaScript 3D library. It's easy to start learning, and it becomes difficult to master with the inclusion of shaders.
- JavaScript 3D Library
-
Why I Personally Decided to Bet on JavaScript
Nonetheless, it offers nearly infinite possibilities. You can code and create anything, from a mobile app with React Native to a desktop application with Electron.js. Furthermore, JavaScript provides excellent frameworks and libraries that can be applied in various approaches, such as React, Three, Vue, Meteor, and Astro.
What are some alternatives?
drei - 🥉 useful helpers for react-three-fiber
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
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
p5.js - p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
3DTilesRendererJS - Renderer for 3D Tiles in Javascript using three.js
model-viewer - Easily display interactive 3D models on the web and in AR!
three-typescript-webpack-starter - A starter project for using Three.js, TypeScript, SCSS and Webpack.
heatmap.js - 🔥 JavaScript Library for HTML5 canvas based heatmaps
THREE-CSGMesh - Conversion of a CSG library for use with modern THREE.js
A-Frame - :a: Web framework for building virtual reality experiences.
aframe-extras - Add-ons and helpers for A-Frame VR.
framer/motion - Open source, production-ready animation and gesture library for React