Commit Graph

22 Commits

Author SHA1 Message Date
Viktor Kovacs
6f1707ae10 Write double-sided triangles during glTF export #63 2021-04-25 18:45:21 +02:00
Viktor Kovacs
0d329ea37b Add Rhino exporter. 2021-04-25 18:01:52 +02:00
Viktor Kovacs
1bc47cfa08 Aynchronous export. 2021-04-25 16:03:17 +02:00
Viktor Kovacs
fa015f7fb5 MeshPhongMaterial's shininess should be between 0.0 and 100.0, so I modified the conversion and all of the importers accordingly. 2021-04-17 12:45:40 +02:00
Viktor Kovacs
bc74ed9b04 Replace tabs with spaces. 2021-04-15 14:53:33 +02:00
Viktor Kovacs
134793d790 Minor modification. 2021-04-11 10:28:29 +02:00
Viktor Kovacs
89aaca6081 Write header in obj and mtl files. 2021-04-11 10:24:43 +02:00
Viktor Kovacs
3607ab3649 Always use texture buffer instead of url in case of export. 2021-04-09 08:25:00 +02:00
Viktor Kovacs
c958cf549c Write generator tag in asset. 2021-04-06 17:51:45 +02:00
Viktor Kovacs
2b37ad351e Remove unused function. 2021-04-04 13:02:43 +02:00
Viktor Kovacs
30e4fdfcad Minor modification. 2021-04-01 15:39:09 +02:00
Viktor Kovacs
c770b84e26 Replace tabs with spaces everywhere. 2021-03-31 18:02:14 +02:00
Viktor Kovacs
41d1d58eb9 Write utf-8 encoded json in binary gltf. 2021-03-29 15:23:09 +02:00
Viktor Kovacs
28347b9bd8 Do not pretty print json in case of binary gltf export. 2021-03-28 17:00:32 +02:00
Viktor Kovacs
fdb4b00fdc Create texture buffer view only if needed. 2021-03-28 16:45:47 +02:00
Viktor Kovacs
31aa3f24e4 Align main chunks to 4-byte boundary. 2021-03-28 16:39:44 +02:00
Viktor Kovacs
b4832a7cd0 Write position bounds to gltf file. 2021-03-28 16:30:02 +02:00
Viktor Kovacs
a35bceadea Write separate buffer view for all accessors. 2021-03-28 15:48:08 +02:00
Viktor Kovacs
e86486e314 Write all textures in the same buffer during gltf binary export. 2021-03-28 15:01:54 +02:00
Viktor Kovacs
4a3649e8f1 Remove callbacks from exporter. 2021-03-28 14:10:42 +02:00
Viktor Kovacs
c15e7ff3b4 Store the original file buffer in textures. 2021-03-28 14:06:55 +02:00
Viktor Kovacs
9264c1dd6d Add code for new version. 2021-03-27 08:29:19 +01:00