You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I am trying to load GLTF animations using pyscript (THREE js), and trying to replicate this https://tympanus.net/codrops/2019/10/14/how-to-create-an-interactive-3d-character-with-three-js/
I have seem some success mostly in being able to load the GLTF model, however I am still facing issue trying to access some variables commonly used between javascript and python (python delegating certain functions using create_proxy)
for example, Im trying to access gltf.animations variable outside the loader function and dont get the thing back
can someone please help me bridge the gap ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello I am trying to load GLTF animations using pyscript (THREE js), and trying to replicate this
https://tympanus.net/codrops/2019/10/14/how-to-create-an-interactive-3d-character-with-three-js/
I have seem some success mostly in being able to load the GLTF model, however I am still facing issue trying to access some variables commonly used between javascript and python (python delegating certain functions using create_proxy)
for example, Im trying to access gltf.animations variable outside the loader function and dont get the thing back
can someone please help me bridge the gap ?
the code is here
https://jsfiddle.net/3k02Lszt/
(look at the part inside py-scipt tag)
Beta Was this translation helpful? Give feedback.
All reactions