cginternals / webgl-operate

A TypeScript based WebGL rendering framework.
https://webgl-operate.org
MIT License
166 stars 25 forks source link

Instanced rendering example #259

Closed p-otto closed 3 years ago

p-otto commented 3 years ago

Add access to the lower-level glTF interfaces GLTFMesh and therefore GLTFPrimitive. Since GLTFPrimitive has references to both the underlying GPU buffers and textures (via the material), this makes rendering of assets without the whole Scene and SceneRenderPass logic possible.

Additions to API:

msoechting commented 3 years ago

Hi, there was a missing import required for successful compilation, I added it in this PR on your fork.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.05%) to 20.165% when pulling a231fb103d06176243416b1e6a7c5f9d750b7489 on p-otto:instanced-rendering-example into d1155783acc2cc9dbbef377ee66ca6124d747a6d on cginternals:master.