Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
"binvox" reads a 3D model file and rasterizes it into a 3D voxel grid. For documentation, go to http://www.cs.princeton.edu/~min/binvox The binary versions, downloadable at http://www.cs.princeton.edu/~min/binvox, support several 3D file formats. The open source version supports the OBJ 3D file format (more formats will be added in the future). This software is Copyright (c) 2004-2007 by Patrick Min, send me e-mail at patrick.n.min "at" gmail.com with your questions and comments. This software is released under the terms of the GNU General Public License, version 2, see the file LICENSE for details (or run 'binvox -gpl | more'). compiling binvox ---------------- You need to have GLUT installed to compile binvox. You can find it at http://www.xmission.com/~nate/glut.html. After you've compiled it, put the 'libglut.a' file in the 'lib' subdirectory. compiling under Linux --------------------- cd binvox-0.38/vox/binvox setenv OS LINUX make compiling under Mac OS X ------------------------ Download the xcode development environment from Apple. Make sure you also install (find these in the Packages folder of the disk image): - gcc-4.0 - DeveloperTools - DevSDK - X11SDK cd binvox-0.38/vox/binvox setenv OS LINUX make The "OS" variable is still set to LINUX because of the minor differences between the two. The makefiles rely on an environment variable VENDOR to be set to "apple" for the MAC OS X specific tweaks (so do a setenv VENDOR apple if that one for some reason isn't set). compiling under Windows ----------------------- Install cygwin (available at www.cygwin.com). Make sure to get gcc, tcsh, and make. The steps below assume you've decompressed the binvox-0.38.tar.gz to a directory C:\binvox-0.38 From a command shell (start -> run -> cmd), type: - tcsh - setenv OS WINDOWS - cd /cygdrive/c/binvox-0.38/vox/binvox - make This will create binvox.exe in that same directory.