Emmanuel Arias Soto a894904f11 Fix basic example
Context: When parsing a mesh with primitives that have indices pointing to different buffer views, the VAO will use the last GL_ELEMENT_ARRAY_BUFFER that was bound to it. In this scenario, the mesh will not be rendered properly.

When binding a mesh, return VAO and EBOs so that primitives can bind to the proper element array buffer.
2022-05-14 19:54:03 +02:00
..
2020-09-28 16:06:31 +02:00
2020-09-28 16:04:14 +02:00
2022-05-14 19:54:03 +02:00
2019-01-14 22:11:11 +09:00
2018-11-15 17:03:38 -05:00
2019-01-14 22:11:11 +09:00
2018-11-15 17:02:20 -05:00
2018-11-15 17:02:20 -05:00
2018-11-15 17:02:20 -05:00

Basic glTF viewer

Requirements

  • glew
  • glfw3
  • premake5(linux)
  • OpenGL 3.3+ GPU

Build on Linux and macOS

$ premake5 gmake
$ make

Build on Visual Studio

Plese use solution file located at basic folder.

Limitation

There are so many limitations in this example(e.g. no PBR shader. the shader only shows texture of textures[0] if available).