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 2 months ago

aymanhab commented 2 months 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 2 months ago

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

aymanhab commented 2 months ago

Thanks much @AlbertoCasasOrtiz