Philip Rideout
df9791faaf
gltf_viewer: add stats and view controls.
2019-03-14 12:18:56 -07:00
Philip Rideout
e3e7073f74
gltf_viewer: add support for drag-and-drop.
...
You can now drop gltf or glb files into the app.
Note that we will soon be migrating from SDL to GLFW, which also
has support for drag-and-drop.
2019-03-14 10:06:44 -07:00
Philip Rideout
cc3177ce34
gltf_viewer: fix indirect light controls.
2019-03-13 17:12:58 -07:00
Philip Rideout
7bc6b3c818
Replace gltf_viewer and introduce gltfio::SimpleViewer.
...
The new gltf_viewer app has an optional zero-arguments mode whereby it
loads a resgen-embedded binary model, which is useful for quick
sanity testing. If you don't specify an IBL, it loads a compressed
version of the pillars IBL.
2019-03-13 16:21:58 -07:00
Mathias Agopian
7b3475f1da
API change: rename matrix factory functions
...
scale() -> scaling()
translate() -> translation()
rotate() -> rotation()
These static functions create a matrix, they don't modify it.
Fixes #826
2019-03-04 14:34:02 -08:00
Caleb Leak
d2f8fa5a36
Fixed printing of wrong file names
...
In multiple samples when a file didn't exist, it printed the first file as being the offending argument, regardless of which actually was.
2019-02-11 09:04:21 +01:00
prideout
5ee359cf40
Move math namespace to fix #746 .
2019-02-07 09:23:07 -08:00
Romain Guy
20ffb52dc2
Re-enable glTF support ( #505 )
...
* Revert "Rollback MeshAssimp enhancements."
This reverts commit b3dce967eb .
* Re-enable glTF support
* Start looking for texture ids at 1, not 0
* Detect if the importer is glTF
* glTF and regular materials both work
2018-11-26 13:14:28 -08:00
magicwhale
fc0d587b40
Added support for more features in gltf_viewer sample
2018-11-19 09:27:08 -08:00
magicwhale
bc38c8a773
Edited MeshAssimp and added gltf_viewer sample code
2018-11-19 09:27:08 -08:00