three-mesh-bvh
OpenJSCAD.org
three-mesh-bvh | OpenJSCAD.org | |
---|---|---|
5 | 12 | |
2,277 | 2,530 | |
- | 1.8% | |
9.5 | 5.9 | |
3 days ago | 2 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
OpenJSCAD.org
-
A blocky based CAD program
its uses https://github.com/jscad/OpenJSCAD.org library to create the 3d model
- Is there some way to implement a web-based customizer?
-
Procedural CAD Modelling tools for WebGL
then there are 2 others, sop/CSGboolean and sop/CADboolean. CSGBoolean is indeed based on CSG, and uses jscad. And the CAD one (which I show in the video in this post) is based on opencascade, which is the most powerful/stable. Then the output of both of those nodes is converted to threejs in order to be displayed in webgl.
-
Is there a way to share a network drive or a folder over the internet?
That being said, https://github.com/jscad/OpenJSCAD.org sounds like a winner for your requirement of NOT having to download a file across the internet.
-
Show HN: Replicad, the Library for CAD in the Browser
this looks very nice. i think i like the ergonomics of your library... the "sketch on a plane then extrude" workflow feels nice and familiar.
could you compare and contrast replicad to JSCAD (https://openjscad.xyz)?
the examples in your docs are quite sluggish to load in Safari, but the workbench is very snappy!
- Marrying OpenSCAD and Go
- advantages over JSCAD?
-
10 ways to get the best out of OpenSCAD
No one has mentioned OpenJSCAD, which is the same idea in Javascript: http://openjscad.azurewebsites.net/
https://github.com/jscad/OpenJSCAD.org/tree/V2
A fairly substantial rewrite is underway, the V2 branch linked above.
-
Code CAD – Use code to create CAD models
- Browserify to bundle the design into a website. Directly from the source CAD files, without rendering to a huge mesh file format.
It's cool because you get access to the whole javascript ecosystem, and it's native to the browser.
https://openjscad.xyz/
- Support for Javascript?
What are some alternatives?
drei - 🥉 useful helpers for react-three-fiber
three.js - JavaScript 3D Library.
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
SolidPython - A python frontend for solid modelling that compiles to OpenSCAD
3DTilesRendererJS - Renderer for 3D Tiles in Javascript using three.js
cadquery - A python parametric CAD scripting framework based on OCCT
three-typescript-webpack-starter - A starter project for using Three.js, TypeScript, SCSS and Webpack.
BOSL2 - The Belfry OpenScad Library, v2.0. An OpenSCAD library of shapes, masks, and manipulators to make working with OpenSCAD easier. BETA
oce - OpenCASCADE Community Edition (OCE): a community driven fork of the Open CASCADE library.
THREE-CSGMesh - Conversion of a CSG library for use with modern THREE.js
CascadeStudio - A Full Live-Scripted CAD Kernel in the Browser