Joint enumeration and texture attached

still WIP