flaxcommunityprojects / flaxcsgjs Goto Github PK
View Code? Open in Web Editor NEWA csg.js and earcut port for the FlaxEngine
A csg.js and earcut port for the FlaxEngine
Currently when clicking on it, you end up clicking on the mesh.
This call has to be intercepted and then we have to click on the correct csg node.
Only rebuild the things that have changed
The current tooling is ok-ish, but it could be better
It's might be a decent idea to first check if the bounding boxes intersect before doing expensive subtractive/intersection csg.
Add texture coordinates. They also have to get interpolated and everything.
We could take a look at https://github.com/NeuronRobotics/JCSG and figure out where our bugs are
Certain things such as rotated cylinders inside cubes can lead to a stack overflow.
Mostly for showing off/making a pretty looking cube. Won't be part of this library, but rather, we'll add some notes about this being a possible shader.
Maybe supporting some extra vertex attribute like "hard-edge" would be an option as well.
It'd lead to much neater code if the NodeTypes were classes/instances of a class. Then it'd also be much easier to extend. And saving the different surface materials would become trivial.
To perfectly mimic whatever the FlaxEngine does, building a physics collider would be a good idea.
The ability to set different materials for different surfaces would be pretty neat.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.