This is OpenGL(3.3) renderer for researchers who are designing neural nets to infer skin weights of given 3D model.
Libraries below should be installed before running.
- assimp
- glfw
- glm
I tested with Ubuntu 18.04 with inputs of collada files (both of Ground Truth and prediction models)
If you want to your other collada files, edit main.cpp.
- Note : I tested for collada files with having only one mesh which is positioned in the first children node of the root. (i.e., If you want to input a collada file with multiple meshes, edit model.h file or you can use blender to merge all the meshes. In case you choose latter method, then you don't have to change codes:) )
I used model and animation from Mixamo.com Description:
- "GT model" and "OURS model" → just visualizing two models
- "GT weights" and "OURS weights" → visualizing each vertex with bones that are influencing to it. (each bone is assigned to different color. You can check out given colors in main.cpp file)
- "Deformation Error" → this is eulcidean distance between same vertices of GT & OURS model. I used this notation from the paper named "Neuroskinning: Automatic skin binding for production characters with deep graph networks."
- fractions of sample codes from LearnOpenGL(https://learnopengl.com/)
- basics of skeletal animation from blog "http://ogldev.atspace.co.uk/www/tutorial38/tutorial38.html"
- Notation of deformation error from Liu, Lijuan, et al. "Neuroskinning: Automatic skin binding for production characters with deep graph networks." ACM Transactions on Graphics (TOG) 38.4 (2019): 1-12.