building a new class to display objects?

edited March 2017 in GLSL / Shaders

Hello, I have been trying to use processing for a project with projection mapping.

However in order to make use of the projection matrix I got from calibration, I had to create a new class that reads an obj geometry and multiply each of its vertex position to the matrix manually. Than renders each face according to the projector center. All this because I couldn't figure out how to manipulate the processing PShader nor the PGraphics3D ...

I feel what I am doing is totally useless and troublesome, and I would like some help and ask how can I simply get the matrix obtained from calibration to be applied to a camera object, or something like that.

Processing file including all tabs and data files can be found at https://adobe.ly/2oaGyFv Please have a look.

Thank you

Sign In or Register to comment.