I think the title pretty much sums up my issue. I’m loading a 3ds file using ofx3DModelLoader and need to warp the vertices. I’m scouring through the addon to find how this might be possible. No luck so far.
It would be great to be able to convert the model to an ofMesh. Failing all this, another option would be to build a program that formats the data in an obj file and use this to construct an ofMesh.
I think you can do with ofxAssimpModelLoader look in: https://github.com/Mukei/openFrameworks/blob/master/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.h
there are the methods :
ofMesh getMesh(string name);
ofMesh getMesh(int num);
just for you!
Thanks kalwalt. Didn’t even think of using that. I’ll try this tomorrow.
Works perfectly. Can’t believe I didn’t know about this addon.
Nice that is what you really mean! as it is said: one never stops learning …