bjornbytes / lovr

Lua Virtual Reality Framework
https://lovr.org
MIT License
2k stars 138 forks source link

Old animator samples do not animate in current lovr #56

Closed mcclure closed 6 years ago

mcclure commented 6 years ago

I build two copies of lovr. lovr-march is built from commit 58e59d9 Mar 3 2018. lovr-sept is built from 48dcb50 Sep 11 2018.

I load up this example. https://lovr.org/docs/Animation I have to download scyther, rename some of the files, and I have to delete the shader = line because lovrPoseMatrix appears to not be supported anymore. Whatever, no problem.

The problem: It does not animate. If I run the sample in lovr-march, it animates. If I run it in lovr-sept, it remains in t-pose. I am seeing similar effects with my existing code based on the lovr animator documentation.

mcclure commented 6 years ago

I confused myself-- I don't need to delete shader = in new code, I need to delete it for old code-- the problem is the lovrPoseMatrix is required for new code. OK then