Pyra Learning OpenGL ES 2.0 for Pyra

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
12,116
Location
Somewhere off the coast of the EU
Okay, I installed git-lfs then ran lfs fetch which reported downloading some 1.4MB. My ship.glb file remains at 132 bytes and when I look at it is like you say a reference with a sha256sum and a size in it. Meanwhile my built code still crashes. Maybe I'll try the download from github later.
 

kaprikawn

Very Active Member
Joined
Sep 28, 2008
Messages
383
Location
UK
Website
kaprikawn.wordpress.com
Okay, I installed git-lfs then ran lfs fetch which reported downloading some 1.4MB. My ship.glb file remains at 132 bytes and when I look at it is like you say a reference with a sha256sum and a size in it. Meanwhile my built code still crashes. Maybe I'll try the download from github later.
In the assets directory, can you try :
Code:
git lfs install
rm ship.glb
git checkout .
EDIT: I've just tried this on a Mint VM instance I've got, and it worked there.
 
Last edited:

kaprikawn

Very Active Member
Joined
Sep 28, 2008
Messages
383
Location
UK
Website
kaprikawn.wordpress.com
I've introduced batch rendering to improve the performance of rendering the floor :

https://kaprikawn.wordpress.com/2020/02/23/learning-to-learn-opengl-es-2-0-part-27-batch-rendering/

@levi I think I know why yours isn't working now, it's probably because the updated gltf files haven't been copied into the build directory. I thought CMake did that, but I now think it doesn't. I've updated the 'run' script to cope with that now, so it should just work after you pull down the latest master version (or tag v3.8). Or if not just run

Code:
./run --fullscreen --clean
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
12,116
Location
Somewhere off the coast of the EU
Thanks, yes that's running well on my system now. Even on a repo where I hadn't installed git-lfs first and then ran ./run a second time after rechecking out the bigger files it spotted those changes and ran as per your gif on your blog.
 
Top