Comments (7)
Also want to mention that there's https://gkjohnson.github.io/three-bvh-csg/ as an option, which is used in the react-three-fiber ecosystem (and the react-three-fiber library for reference: https://github.com/pmndrs/react-three-csg)
from threlte.
@grischaerbe you had some thoughts about this; could you put them in writing to guide potential contributors?
Yes, of course. I do actually favor "three-bvh-csg" because the API surface is just so much smaller and it seems feature complete enough to be a viable package in the Threlte ecosystem. The author of the package is known to deliver great stuff for Three.js already, so that's a plus as well.
from threlte.
I love this idea. You could describe solid models declaratively and easily connect them to user inputs.
I'd just like to add that there are other CSG engines out there. I'm convinced the current state of the art is manifold. I'm using their webassembly release in my threlte project and it is really fast and capable. You can even preserve UV coordinates and normals throughout all the boolean operations, see https://manifoldcad.org/model-viewer.html. The only limitation is that manifold requires manifold meshes. But if you think a little big about CSG, the result for non-manifold meshes can't be well-defined.
from threlte.
@jirihon thanks for the input! Would you be interested in submitting a PR for porting manifold to @threlte/extras
?
from threlte.
On second thought it looks like that is so big it would need to be its own package, something like @threlte/manifold
from threlte.
@jirihon thanks for the input! Would you be interested in submitting a PR for porting manifold to
@threlte/extras
?
Oh, that would be way beyond my current abilities and current focus. I'm getting slowly into the magic of Threlte architecture and I am increasingly appreciating all the effort that has gone into it.
from threlte.
@grischaerbe you had some thoughts about this; could you put them in writing to guide potential contributors?
from threlte.
Related Issues (20)
- [documentation] Mobile Nav doesn't work after navigation HOT 1
- Font still loads from Google's CDN despite choosing to using a local font... HOT 3
- Getting warnings from the console, despite 'characters' and 'sdfGlyphSize' not being a required dependency. HOT 1
- Homogenize Top Bar Layout
- Porting drei
- Formatting indents with spaces or tabs consistantly across the codebase
- Showcase page images don't work in Firefox or Safari and causes crash
- Improve or replace Tweakpane for readability and to fix StackBlitz examples
- Rename `<Center>` to `<Align>`
- Align labels in CONTRIBUTING.md to labels used in GitHub HOT 1
- Clean up the Documentation Layout HOT 1
- Feedback button & form on a sidebar HOT 2
- [xr] Provide fallback slot in `<XR>` HOT 2
- [xr] Provide `<Head>` component HOT 4
- [xr] Controller events fire multiple times if `<Controller>` is mounted multiple times
- [xr] Tighten types around `<Controller left|right />`
- [xr] Rename property `controller` to `targetRay` in `useController` return
- [xr] Move `useGamepad` to extras, add `useMappedGamepad` hook
- Add smoothing to `<TeleportControls>` based on target distance
- Documentation of basics of XR development
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from threlte.