ramakarl / voxelizer Goto Github PK
View Code? Open in Web Editor NEWVoxelization of a triangle in 3D. Pure math demo.
License: Other
Voxelization of a triangle in 3D. Pure math demo.
License: Other
Hello, thank you for sharing this! I wanted to play with it before trying to implement it in my game but I can't seem to compile it.
The errors I get are:
Error C3861 'setdepth3D'
Error C3861 'checkHit3D'
Error C3861 'drawCircle3D'
Error C3861 'drawCircle3D'
Error C3861 'drawCircle3D'
Error C3861 'drawCube3D'
Error C3861 'moveHit3D'
Error C3861 'moveHit3D'
These functions are not defined in any of the files :/
@ramakarl in other issue you ask for vertices, for these:
Vector3DF(
0.0,
-20.81406,
8.171592
),
Vector3DF(
0.0,
-14.862897,
-13.38261
),
Vector3DF(
20.0,
0.0,
0.0
)
it seems clear that d1 will be invalid, as we will divide by 0 here: https://github.com/ramakarl/voxelizer/blob/master/math_voxelizer/main_voxelizer.cpp#L237
have you tested this by rotating the triangle about the planes using quaternions on every axis?
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.