Commit Graph

28 Commits

Author SHA1 Message Date
Arthur Brainville (Ybalrid)
5cf468ce1c glview can now load static geometry modified by sparse accessor 2019-03-06 14:48:44 +00:00
Arthur Brainville (Ybalrid)
c35996cf7e handle not having default scene 2019-01-27 20:52:04 +00:00
Arthur Brainville (Ybalrid)
24840cdbed fix glview in case gltf asset doesn't have a default scene 2019-01-27 20:52:04 +00:00
Syoyo Fujita
3f4a7798ab Add support for building glview with draco.
Fix out-of-bounds access when calling DrawMesh().
Fix potential out-of-bounds access when filling window title string.
2019-01-27 00:38:34 +09:00
viperscape
5e5525d01b add win32 includes 2018-11-14 10:19:39 -05:00
viperscape
e82c54196d rework to include VS 2017 project, fully configured and tested 2018-11-14 10:15:58 -05:00
Syoyo Fujita
6190633db7 Added 'warning' message parameter to glTF loader API.
Asset loading failure messages(e.g. image file is missing) are now stored in `warning` message, not `error` message.
2018-07-27 16:49:10 +09:00
Syoyo Fujita
c7ebe93a70 Add method for computing byteStride to Accessor struct.
This would fix issue #29.
2018-01-03 17:47:08 +09:00
Syoyo Fujita
0fc763d219 Accessor.min and Accessor.max are now optional parameter.
Set BufferView.byteStride default value to 0(= tightly packed). Fixes #13.
2017-07-12 18:29:29 +09:00
Syoyo Fujita
d44e2d2612 Remove Accessor.byteStride. 2017-07-03 00:56:16 +09:00
soma_arc
3b031090d5 Fix file/define/class name referenced in glview 2017-06-22 13:34:53 +09:00
Syoyo Fujita
4de15d04c7 Remove unused examples.
Refactor source code.
2017-06-04 17:42:41 +09:00
Syoyo Fujita
e849d49f5b Fix draw length for GL_LINES. 2016-11-24 17:41:44 +09:00
Syoyo Fujita
06e76d7c9b Initial support of node hierarchy. 2016-11-24 03:10:02 +09:00
Syoyo Fujita
8d44a946cc Fix mouse button state management. 2016-11-23 21:41:53 +09:00
Syoyo Fujita
6b8100a0b5 Rename function. 2016-11-23 18:26:49 +09:00
Syoyo Fujita
d1b86d1345 Comented debug printf. 2016-11-23 18:22:04 +09:00
Syoyo Fujita
a5f1895cb1 Improve UI for one-button mouse. 2016-11-23 17:45:35 +09:00
Syoyo Fujita
5b0cdf40eb Initial GL rendering support of curves primitive(render as GL_LINES). 2016-10-18 20:39:33 +09:00
Syoyo Fujita
c254c5b250 Fix typo(extra -> extras)
Add some curves support to glview.
2016-10-17 20:00:19 +09:00
Syoyo Fujita
42246ec25c Improve windows build.
Don't report error when `in_normal` is not used in the shader.
2016-06-11 16:10:39 +09:00
Syoyo Fujita
ffee8a95f5 Print warning when bufferView.target == 0. 2016-06-06 01:20:52 +09:00
Syoyo Fujita
e06f56a43b Retinal display fix for glview. 2016-06-05 22:35:37 +09:00
Syoyo Fujita
3ba3cadee4 Initial support of loading binary glTF(.glb). 2016-05-01 20:03:43 +09:00
Syoyo Fujita
eab5ced99b Apply cpplint.
Use Google C++ style.
2016-04-20 14:06:56 +09:00
Syoyo Fujita
98388933f9 texture support. 2016-02-07 17:38:17 +09:00
Syoyo Fujita
928a63d126 Use GLFW_INCLUDE_GLU 2015-12-21 11:48:32 +09:00
Syoyo Fujita
a4d26881cb Initial commit. 2015-12-20 20:27:54 +09:00