Commit Graph

43 Commits

Author SHA1 Message Date
kovacsv
5851aedb1d Use arrow callbacks everywhere. 2021-07-12 08:49:12 +02:00
kovacsv
f2589dc2a1 Use eslint instead of jshint. 2021-07-12 07:32:53 +02:00
kovacsv
61e09c78f3 Add default value to segment count. 2021-07-08 18:27:12 +02:00
kovacsv
2a53e933ea Add cylinder generator. 2021-07-08 18:20:43 +02:00
kovacsv
f407f8f61e Add cylinder generator. 2021-07-04 20:14:45 +02:00
kovacsv
93f85738cb Organize properties in groups. 2021-06-26 23:53:08 +02:00
kovacsv
89796d2971 Read meta data from glTF. 2021-06-20 18:40:50 +02:00
kovacsv
d402b7f531 Remove unnecessary log. 2021-06-16 21:56:24 +02:00
kovacsv
3bbae2cf68 There is a problem with the mesh name #84 2021-06-16 21:55:17 +02:00
kovacsv
8fbe59d656 Add public IntegerToHexString function. 2021-06-13 07:30:11 +02:00
Viktor Kovacs
a3d283f613 Add o3dv file format for testing purposes. 2021-05-27 20:20:00 +02:00
Viktor Kovacs
0394d60581 Add quaternion class. 2021-05-24 09:19:44 +02:00
Viktor Kovacs
51f42f8505 Revert PNG Transparency #21
It breaks other models, so keep it as it is until a better solution.
2021-05-11 20:47:21 +02:00
Viktor Kovacs
3842e1afcf PNG Transparency #21
Treat materials with png texture automatically as transparent.
2021-05-11 20:43:57 +02:00
Viktor Kovacs
482a6958a7 Flip triangles when the model should be mirrored. 2021-04-25 19:52:33 +02:00
Viktor Kovacs
ba0d642512
Revert "Add optional edge displaying and settings" 2021-04-25 15:19:17 +02:00
X-Ryl669
8a5782b8ec Add optional edge displaying and settings 2021-04-23 17:55:35 +02:00
Viktor Kovacs
78460fe743 Do not take byte stride into account when it is zero. Although it is not valid according to the specification, it seems it can be handled as if byte stride was not specified. 2021-04-20 18:55:32 +02:00
Viktor Kovacs
ddec4bd898 Clear importer data after import. 2021-04-20 11:48:08 +02:00
Viktor Kovacs
2e85bf20b5 Minor modification. 2021-04-20 10:56:57 +02:00
Viktor Kovacs
edeb864576 Free importer resources after import. 2021-04-20 10:55:03 +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
33d4d5ac50 Do not use hash mark in material names. 2021-04-15 21:16:56 +02:00
Viktor Kovacs
a2aaedbbae Rhino import experiment. 2021-04-15 20:23:08 +02:00
Viktor Kovacs
79207aa413 Minor modification. 2021-04-15 14:54:47 +02:00
Viktor Kovacs
bc74ed9b04 Replace tabs with spaces. 2021-04-15 14:53:33 +02:00
Viktor Kovacs
9f9851a2ec Async importers. 2021-04-15 14:52:16 +02:00
Viktor Kovacs
6fbbdf4b69 Make a parameter from default color instead of the a member in importer. 2021-04-07 15:07:12 +02:00
Viktor Kovacs
e5e59f3e5d Get default color from importer. 2021-04-05 09:49:55 +02:00
Viktor Kovacs
b60305dd19 Possibility to set the default material color for importer in case of no-material surfaces. 2021-04-02 09:25:41 +02:00
Viktor Kovacs
0c03fb3bca Revoking urls is now the responsibility of the main importer object. 2021-03-31 08:14:35 +02:00
Viktor Kovacs
2450cb8feb Minor modification. 2021-03-31 07:47:37 +02:00
Viktor Kovacs
11d2f04580 Move buffer cache to the main importer class. 2021-03-30 19:22:38 +02:00
Viktor Kovacs
a9eb17269d Fix build. 2021-03-30 15:45:11 +02:00
Viktor Kovacs
90f8a07857 Revoke created object urls for export. 2021-03-30 15:44:30 +02:00
Viktor Kovacs
0c394f9aa8 Handle buffer cache by importers instead of the main importer object. 2021-03-30 12:21:46 +02:00
Viktor Kovacs
becbe31a9e Store object urls only for textures so they can safely revoked when the model is disposed. 2021-03-30 01:53:24 +02:00
Viktor Kovacs
3a02cb8f8e Revoke object urls from file list and model when they are no longer needed. 2021-03-30 00:45:43 +02:00
Viktor Kovacs
5d45d9eb57 Minor modification. 2021-03-29 15:25:37 +02:00
Viktor Kovacs
c15e7ff3b4 Store the original file buffer in textures. 2021-03-28 14:06:55 +02:00
Viktor Kovacs
a1210d2129 Fix lgtm issues. 2021-03-28 09:59:51 +02:00
Viktor Kovacs
aefcd42084 Reorder function in importer base class. 2021-03-27 12:56:41 +01:00
Viktor Kovacs
9264c1dd6d Add code for new version. 2021-03-27 08:29:19 +01:00