-
-
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
ofxAssimp vs. ofxAssimpModelLoader - normalized tex coordinates #8263
Comments
Hmm, I think it's a bit more complicated in ofxAssimp since each model can have multiple textures so the default is Texture2D which is tex coords 0 -> 1. openFrameworks/addons/ofxAssimp/src/Source/ofxAssimpSrcScene.h Lines 34 to 47 in 24d166e
|
Most models use normalized coordinates so the default is to load |
Great it works! thank you. |
I'm porting some code from ofxAssimpModelLoader to ofxAssimp
I use to load some 3d objects and the change the texture to fit content (to simulate led panels)
I've noticed in ofxAssimpModelLoader it is using pixels coordinates, if I have a texture in original model
and with ofxAssimp the whole model is getting the top left pixel color, so I suppose it is working with normalized tex coordinates.
Is this intentional? if yes how can I change to pixel coordinates?
Thank you
cc: @NickHardeman
The text was updated successfully, but these errors were encountered: