Commit Graph

71 Commits

Author SHA1 Message Date
Attila Kocsis
84e8935180 added gltf 2.0 input to geometryc
Preferred output coordinate system transformation added.

glTF2.0 is tested with all models from https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0

Static mesh output looks ok for all of them, but as output file format hasn't changed only static mesh is exported. No animation, nodes, materials. etc.
2019-11-08 07:06:52 -08:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Leandro Freire
855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
attilaz
72d0a0c4fa index buffer generation using final vertex data (#1816)
This results a smaller output file for some meshes.
2019-07-13 09:07:33 -07:00
Бранимир Караџић
56cbbb0283 Cleanup. 2019-04-20 19:04:31 -07:00
attilaz
ed885c3c5a using meshoptimizer for vertex cache/fetch optim and index/vertex buffer compression 2019-04-13 16:07:06 +02:00
Бранимир Караџић
cda981b8e3 Cleanup. 2019-02-07 18:04:28 -08:00
Бранимир Караџић
55ab61fe7d Fixed build. 2019-02-03 19:52:12 -08:00
Бранимир Караџић
f6f6a22119 Adding bounds overlap tests. 2019-02-03 19:47:33 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Branimir Karadžić
63e298795d Cleanup. 2018-12-21 18:02:39 -08:00
Branimir Karadžić
0740b29de7 Cleanup. 2018-12-10 19:39:00 -08:00
Branimir Karadžić
5579ac4686 Cleanup. 2018-10-21 20:33:29 -07:00
Branimir Karadžić
6bff345637 StringView cleanup. 2018-10-21 19:17:44 -07:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Kyle Rocha
1f3846224b uint32 size indices and vertexBaseIndex to Forsyth (#1304)
- Forsyth::OptimizeFaces() now has 2 overloads, 1 for uint16_t and one
for uint32_t sized indices. Internally each overload now calls down to
the templated OptimizeFacesImpl() providing the respective index type.

- The new 'vertexBaseIndex' is the starting vertex index
subtracted from each index in indexList to allow safe operation on
multiple objects in a single index buffer.

- Also replaced the interal int typedefs with common types provided by
stdint.h
2017-12-30 20:46:21 -08:00
Branimir Karadžić
a6a166020d Fixed build. 2017-10-04 20:40:01 -07:00
Branimir Karadžić
374b4b4469 geometryc: Fixed uv/normal output. 2017-10-04 20:31:58 -07:00
Branimir Karadžić
3e212b519f Moving code around and renaming files. 2017-07-15 21:01:08 -07:00
Branimir Karadžić
b83204d516 Added kExitSuccess/Failure constants. 2017-06-20 21:42:23 -07:00
Branimir Karadžić
baa7cd9282 Cleanup. 2017-06-18 17:12:30 -07:00
Branimir Karadžić
525af7685e Renaming CrtFile* -> File*. 2017-06-11 21:01:38 -07:00
Branimir Karadžić
6a6c5e3af9 Cleanup. 2017-06-10 22:31:59 -07:00
Branimir Karadžić
dbceaf702e Cleanup. 2017-05-25 20:24:02 -07:00
Branimir Karadžić
fab6630bf8 Added tools version info. 2017-05-10 20:55:31 -07:00
Branimir Karadžić
c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić
423c655095 Cleanup. 2017-04-03 20:43:57 -07:00
Branimir Karadžić
c992291e94 Updating code to match bx. 2017-01-08 15:55:14 -08:00
Branimir Karadžić
3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić
65ef9e8b39 Fixed build. 2016-12-05 20:00:08 -08:00
Dario Manesku
7b2752c450 Added 28-wireframe. Geometryc now has --barycentric feature. Example meshes updated. Commit has only glsl shaders. 2016-02-29 01:06:39 +01:00
Branimir Karadžić
597b10128e Cleanup. 2016-02-21 14:08:20 -08:00
Steinar V. Kaldager
b4919c85e8 Fixed backwards error check in geometryc.
bx::open() returns true on success, so there
should be a negation in this error check.
2016-02-13 19:47:30 +00:00
Branimir Karadžić
016bfc4290 Improved reader/writer error handling. 2016-01-31 16:00:02 -08:00
Branimir Karadžić
4bb2b623d3 Happy New Year! 2016-01-01 00:11:04 -08:00
Branimir Karadžić
30b7d5dc26 Cleanup. 2015-12-27 20:04:17 -08:00
Branimir Karadžić
3d2405232e geometryc: Fixed empty primitive group crash. 2015-08-29 23:46:10 -07:00
Branimir Karadžić
d1f99896ec Moved public header files into bgfx subdirectory.
grep -rl '<bgfx.h>' . | xargs sed -i 's@<bgfx.h>@<bgfx/bgfx.h>@g'
2015-09-18 20:19:12 -07:00
Nodrev
4df0cca212 Fixing geometryc for meshes exported without uv coordinates 2015-06-02 22:37:22 +02:00
Branimir Karadžić
efed576e75 Fixed variable shadowing. 2015-04-04 19:45:45 -07:00
Dario Manesku
720efbbdb0 Cleanup. 2015-03-23 04:28:23 +01:00
Dario Manesku
7c472b4ca5 Geometryc now properly handles relative obj indices. 2015-03-23 04:28:23 +01:00
Branimir Karadžić
c46aa66812 Updated ib-compress. 2015-01-03 16:08:56 -08:00
Branimir Karadžić
c25dd466be Updated copyright year. 2015-01-01 15:04:46 -08:00
Branimir Karadžić
7da5e874ae Merge branch 'master' of github.com:bkaradzic/bgfx 2015-01-01 11:14:33 -08:00
Branimir Karadžić
227d3f4df1 Updated ib-compress. 2015-01-01 11:14:20 -08:00
Branimir Karadzic
f11b368f93 Cleanup. 2014-12-31 20:05:29 -08:00
Branimir Karadžić
c6efb167ba Added index buffer compression support. 2014-12-31 16:11:07 -08:00
Branimir Karadžić
4bde27dc19 Fixed compiler error. 2014-12-05 20:29:41 -08:00
m.milanovic@levi9.com
8e57c9fa2b Use tinystl/unordered_map in geometry 2014-08-22 16:51:25 +02:00