-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
ofxAssimpModelLoader getMesh doesn't apply matrix transformation #7303
Comments
Hey @dimitre - yes that is correct and I believe intended behavior. I was also thinking though that it might be good to have getTransformedMesh or something like that. There is quite a bit of work to do with ofxAssimpModelLoader now that all the PBR and latest assimp fixes are in but we should look into some more helper features ( saving too! ). |
Great. yeah it would be nice to have getTransformedMesh! |
Awesome! Yeah, any improvements to the addon would be great. 👍 |
The new ofxAssimp add-on has functions for the original mesh openFrameworks/addons/ofxAssimp/src/ofxAssimpModel.h Lines 167 to 174 in dd09e97
or getting the OF mesh transformed by the bones and animations openFrameworks/addons/ofxAssimp/src/ofxAssimpModel.h Lines 175 to 182 in dd09e97
|
closed by #7776 |
when I'm using ofxAssimpModelLoader object vs. drawing the meshes with getMesh they don't have the same position / scale.
Reading the code a bit I suppose there is a global transformation matrix and another for each mesh that it applies when drawing ofxAssimpModelLoader object.
Should getMesh output the mesh with the matrixes applied?
The text was updated successfully, but these errors were encountered: