← Back

ofxPolyvox

github.com/kalwalt/ofxPolyvox · @kalwalt
OF 0.7 Geometry Graphics

a simple wrapper for polyvox lib, to make voxel meshes with a Minecraft style or as Marching cubes

4 1 Last commit 13y ago Created 14y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

develop 1 commit ahead · last commit 13y ago

README

ofxPolyvox



a simple OpenFrameworks addon that wrap the polyvox library, to make voxel meshes with a Minecraft style or as Marching cubes.

This addon is under heavy development. I'm using the git version from the master branch of polyvox

http://gitorious.org/polyvox but should be better to use the more stable release from here:

http://www.volumesoffun.com/polyvox-download/

For info about polyvox:

http://www.volumesoffun.com/polyvox-about/

http://www.volumesoffun.com/polyvox-documentation/

Anyway you can just use as it is without change polyvox version. For now you can create your polyvox mesh and draw with OpenGL calls via Vertex and Index buffer or with void polyvoxToOfMesh(const PolyVox::SurfaceMesh<PositionMaterialNormal>& surfaceMesh, ofMesh& polyvxToOfMesh) outputting the polyvox mesh to an ofMesh. Just a note: if you want to use the LowPassFilter execute() you need to download instead the develop branch.

Tested with OF 0072. Updated to polyvox 0.2 version. Done some tests in armv7l arch with PandaboardES : ofxPolyvox::draw() it's not working at the moment. Should be adapted to GLES in a near future.

roadmap:

Get this addon

HTTPS
SSH