FrickeFresh
FrickeFresh

Reputation: 1748

How to load a glTF file in OpenGL ES

So after spending time looking around, I am not sure how I would even go about loading and using a glTF file I have found and want to use for my OpenGL ES 3.0 program.

Are there are loaders or am I charge of extracting all the data from the glTF file?

EDIT:

I am developing on Android API 24 with NDK to use OpenGL ES 3.0

Upvotes: 2

Views: 4001

Answers (2)

rotoglup
rotoglup

Reputation: 5238

AFAIK, as of today (April 2017), there is no easy/official way to load & draw a GLTF model in native/mobile environments - the webgl ecosystem is currently more friendly.

GLTF being quite young, you would have to find some code around, or build your own.

Another alternative would be to try to use assimp to convert your GLTF model to a format that you can easily display.

Upvotes: 1

Maadiah
Maadiah

Reputation: 439

Check out the ATW Vulkan Sample from Khronos Group

Upvotes: 0

Related Questions