vanruesc / rabbit-hole Goto Github PK
View Code? Open in Web Editor NEWAn experimental voxel engine.
License: zlib License
An experimental voxel engine.
License: zlib License
Hi Raoul,
I'm having some issues with the volume editor code. I've been able to solve a couple errors but don't seem to be making much progress so I wanted to reach out.
I'm looking at public/editor/index.js.
Currently, the volume editor linked in the readme does not work for me. It throws some 404 errors. I pulled down the repo and fixed these errors by copying the terrain and textures folders from public/demo to public/editor.
Then, I got an error that "setOrbit was not a function". I fixed this by commenting out line 11801.
Then, I got an error "TypeError: Cannot read property 'length' of undefined" which comes from line 9814
I'm afraid I'm missing a file or library or else I wouldn't keep getting errors. Thank you for your help.
I'm using Chrome OS Version 74.0.3729.125 (Official Build) (64-bit).
By the way, the Demo project worked perfectly.
Uncaught ReferenceError: SYNTHETICEVENT is not defined
at index.min.js:1
Really love the work you've done here. I'm trying to get going with this in a current project, having difficulty understanding how to do basic things like generate/update LOD for something like a game landscape.
Any examples you might have laying around for doing things like this:
https://github.com/felixpalmer/lod-terrain
Would be massively helpful in the integration process.
The VoxelOctree
is currently a pointer-based construct that doesn't allow non-power-of-two octree sizes. This restriction should be removed.
To accomplish that goal, most of the linear octree code from the world octree submodule should be moved to the external sparse-octree module. Afterwards, the VoxelOctree
can be refactored into a linear octree more easily.
Benefits:
Due to the fact that volume chunks are being processed in isolation, there are gaps between the generated surface meshes. It is therefore necessary to devise a seam patching strategy in which the produced meshes are stitched together.
These two articles could prove helpful:
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.