Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import OBJ file #1

Merged
merged 2 commits into from
Sep 25, 2014
Merged

Import OBJ file #1

merged 2 commits into from
Sep 25, 2014

Conversation

yllan
Copy link
Contributor

@yllan yllan commented Sep 20, 2014

Screen Capture

Abstract

Add *.obj file import ability. It voxelizes the *.obj file with *.mtl textures. The voxelization algorithm is basically the same as my three.js voxelizer, which was explained in the slide: Incarnation: Turning Real World Objects into Perfume World. The only difference is: with the speed of C++, I could actually check if each voxel has intersection with a given triangle face.

Dependencies

Example OBJ File

Hack

assimp seems have a bug that will crash while parsing obj file without a newline at the last line (The Perfume 3D scan data don't have the last newline). To workaround this, it appends a newline to a copy of the original obj file.

So that people without the ssh-key will be able to checkout.
@satoruhiga satoruhiga merged commit 637d5cd into perfume-dev:master Sep 25, 2014
@satoruhiga
Copy link
Contributor

Super cool!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants