ofxAssimpModelLoader Update #7722
Replies: 9 comments 4 replies
-
Just a note that this new approach would sit side by side with the older model loader, so it wouldn't break existing code. One thing to figure out is:
vs:
vs:
ofx could be the namespace for addons. curious what others think. |
Beta Was this translation helpful? Give feedback.
-
about clashes, |
Beta Was this translation helpful? Give feedback.
-
I agree to currently I'm keeping in mind to make addon with |
Beta Was this translation helpful? Give feedback.
-
Making progress on ofxAssimp. I have a branch that still needs some work here: The ofx::assimp::Model class imitates the assimp scene structure and takes a node hierarchy. Each node (including the model) extends ofNode. Or you can access a node using colons as separators. https://nickhardeman.com/temp/OFExamples/ofxAssimpExample/ Not sure why the gltf models are failing and throwing an error. But it also seems to be happening with the original add-on. |
Beta Was this translation helpful? Give feedback.
-
Added ability to give weights to animations and a transition function on the model class to help manage smooth transitions between animations. |
Beta Was this translation helpful? Give feedback.
-
Pushed up an example specifically about animation and bones here: Going to focus next on an example about meshes, retrieving them, drawing them, pulling their textures, etc. Cleaned up the example a little bit and added some additional functionality like enable / disable functionality per node. |
Beta Was this translation helpful? Give feedback.
-
An example focused on moving around meshes without bones and how to get textures. |
Beta Was this translation helpful? Give feedback.
-
ofxAssimpAdvancedExample. Setting materials on meshes, 16 models using the same resources using speed and time offsets. Setting light position with offset based on bone position and orientation. https://nickhardeman.com/temp/OFExamples/ofxAssimpAdvancedExample/ |
Beta Was this translation helpful? Give feedback.
-
This is close, but I need to add some better comments to the code. Assimp 5.3.1 fixes the gltf loading crash, but the pull request I made to apothecary fails on the msys2 clang64 check. Seems unrelated to assimp and maybe to svgtiny, but I can't make sense of how to remedy it. |
Beta Was this translation helpful? Give feedback.
-
Looking to put some effort towards improving ofxAssimpModelLoader. I made a list of features / functions that seem beneficial. I also tried finding relevant issues, but may have missed some. Please feel free to suggest anything or share anything that seems tricky to work with the current ofxAssimpModelLoader add-on.
General:
Animations
Mesh Helper:
Textures
Bones
Platform Specific
Relies on
Beta Was this translation helpful? Give feedback.
All reactions