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

Add RGB to Triangle, ITMMesh and the generated OBJ files. Fix #21 #22

Closed
wants to merge 4 commits into from

Conversation

vinjn
Copy link

@vinjn vinjn commented Sep 19, 2015

Fix #21

Set OpenNIEngine to useInternalCalibration to align color with depth.
@carlren
Copy link
Collaborator

carlren commented Nov 17, 2015

@victorprad could you check @vinjn 's PR and merge it? I'm a little too busy right now :)

fprintf(f, "v %f %f %f\n", triangleArray[i].p1.x, triangleArray[i].p1.y, triangleArray[i].p1.z);
fprintf(f, "v %f %f %f\n", triangleArray[i].p2.x, triangleArray[i].p2.y, triangleArray[i].p2.z);
}
const auto& clr = triangleArray[i].clr;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vinjn: Please can you replace auto with Vector3f? The former breaks the build on older compilers.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, what about other changes.

@connerbrooks
Copy link
Contributor

@vinjn I made a pull request on your fork which adds rgb info to the CUDA version of the meshing engine and fixes the issue mentioned by @sgolodetz. I have tested this with and without rgb information and it works well.

Add rgb information when meshing with CUDA.
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.

None yet

5 participants