-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
glTF support #284
Comments
Just use assimp with the oryol engine, it brings completly glFT-support. |
Several ways to achieve this (more or less brain-dumping, none of this works yet out-of-the-box):
I have some changes in mind to move loading of complex assets (basically asset files which reference other asset files, like textures) out of Oryol, and into some sort of asset-loading-collection module... but first I want to finish the switch to sokol_gfx for the rendering backend. |
Thanks! BTW, the intention is to procgen assets in a webworker using the gltf format(s). So, runtime loading is the hope. |
Any chance there is mikktspace support in here? Or should I just pull in the reference files from blender? https://wiki.blender.org/index.php/Dev:Shading/Tangent_Space_Normal_Maps |
Asset loading/parsing and shaders are all performed by the application code (or maybe later in external custom modules). Right now you would need to write your own loader. You can look at the Dragons sample for inspiration, which loads mesh, skeleton and animation data from a custom '.orb' binary format: Using this loader: https://github.com/floooh/oryol-samples/blob/master/src/Common/OrbLoader.cc And this fileformat parser: https://github.com/floooh/oryol-samples/blob/master/src/Common/OrbFile.cc |
Thanks Andre!
…On Thu, Dec 21, 2017 at 5:45 AM Andre Weissflog ***@***.***> wrote:
Asset loading/parsing and shaders are all performed by the application
code (or maybe later in external custom modules). Right now you would need
to write your own loader. You can look at the Dragons sample for
inspiration, which loads mesh, skeleton and animation data from a custom
'.orb' binary format:
https://github.com/floooh/oryol-samples/blob/7f01ccdd9853a18aef0a405a1bb634fa954314ba/src/Dragons/Dragons.cc#L210-L236
Using this loader:
https://github.com/floooh/oryol-samples/blob/master/src/Common/OrbLoader.cc
And this fileformat parser:
https://github.com/floooh/oryol-samples/blob/master/src/Common/OrbFile.cc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#284 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAhV_W_ccHATitJHiLoQ6LjBj2UvpGfxks5tCkT1gaJpZM4Q68Sr>
.
|
We need glTF support:
https://github.com/KhronosGroup/glTF
The text was updated successfully, but these errors were encountered: