opensim-org / opensim-viewer

Front end of web based viewer of OpenSim models, data
Apache License 2.0
13 stars 3 forks source link

Utilize ColorNodes to pass and interpolate colors on the viewer side #172

Closed aymanhab closed 1 month ago

aymanhab commented 1 month ago

Pass ColorNode for each GeometryPath that embeds the color as a translation, then apply the translation as color within the useFrame callback. The backend side of this is in the opensim-viewer-backend repo, this is the front end which should be harmless if no ColorNode is present

aymanhab commented 1 month ago

Ready for review (front end). Associated gltf file as zip is here that has baked in colors: walkColors.zip

aymanhab commented 1 month ago

Thanks much @AlbertoCasasOrtiz