ramakarl / voxelizer

Voxelization of a triangle in 3D. Pure math demo.
Other
30 stars 1 forks source link

Does not compile #1

Closed badVibes-- closed 2 years ago

badVibes-- commented 4 years ago

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 :/

rob-evercoast commented 3 years ago

Still an issue.

Mashpoe commented 3 years ago

same issue, I could not find these functions in the project

Amorph commented 3 years ago

This is not an issue at all. DDA Rasterizer is not usable, it fails on some edge cases, like triangle parallel to some axis.

ramakarl commented 2 years ago

The library has been updated to build. Library and voxelizer now build separately. See "How to Build" instructions in the readme. Will reopen if there are still build issues. I'm not sure what @Amorph is talking about. He doesn't provide failing test cases. If rasterizer issues are observed, send me reproduceable vertex positions and I will take a look.