tuntenfisch / voxels Goto Github PK
View Code? Open in Web Editor NEWGPU-based implementation of Dual Contouring in Unity for destructible voxel terrain.
License: MIT License
GPU-based implementation of Dual Contouring in Unity for destructible voxel terrain.
License: MIT License
Hey, so I'm looking around this project and the code, and for the most part, it's pretty good.
I saw that you wrote "...I'm sure my implementation can be improved, too. That being said, my whole GPU-based approach might be suboptimal in the first place since I have to read back the mesh to the CPU."
If you have some free time, look into my solution for this: rendering the meshes with Graphics.DrawProceduralIndirect, and to do collision entirely using the volumetric data that I generate and keep on the CPU. That way there is no communication between the two units other than sending my dense & packed volumetric data to the GPU.
Now I did make some mistakes while implementing my system (and I might change that in the following day). I tried to batch my chunks using Graphics.DrawProcerualIndirect and all of that but it didn't quite work as expected and it can be actually slower sometimes.
I know that Nel's Meor has a radically different approach, where the physics is also done on the GPU itself, but that requires running the whole game on the GPU and I'm not really a big fan of that.
a man, a mystery
Hi,
Just installed your voxel engine, I know you're providing it free, thank you.
As part of academic research in HCI for immersive analytics I've been trying to get a specific environment, your engine might be ideal for it.
SO far I was only able to create the cave system I need using this library:
https://assetstore.unity.com/packages/tools/particles-effects/fastnoise-70706
I managed to use 2 layers of noise to create something similar to:
https://www.youtube.com/watch?v=Df4Hidvq11M
but with larger caves interspersed.
I was wandering if you had time to consider how practical it would be to plug that noise library into your voxel engine.
Regards,
Sergio.
Hi,
Thanks so much for sharing your project with the world!
Just wanted to ask, do you have any advice for storing and loading changes done in the editor?
Please add a note to the top of the README that Git LFS is required. With a link to:
Is it possible to generate chunks on all axes?
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.