Commit Graph

28 Commits

Author SHA1 Message Date
kovacsv
f546ce65c0 No need to have a separate material for lines. 2023-10-17 17:58:31 +02:00
kovacsv
cba71f92fa Add lines to the mesh data structure. 2023-10-15 21:40:19 +02:00
kovacsv
104983ef6e Prepare exporter model for hierarchical export. 2023-05-07 09:35:58 +02:00
kovacsv
b9fe936047 Add utility function for string to rgba color conversion. 2023-01-21 22:54:31 +01:00
kovacsv
c168f944f6 Rename Color to RGBColor. 2022-06-25 10:20:58 +02:00
kovacsv
a4d386c521 Use ES modules. 2022-01-10 18:10:51 +01:00
kovacsv
6dc21ae06b Provide only material color for importer. 2021-12-30 16:20:03 +01:00
kovacsv
233cc2c2d7 Store instance id in mesh instances. 2021-12-25 10:49:59 +01:00
kovacsv
65ab4aa9f5 Create separate material classes for phong and physical materials. 2021-12-04 18:26:58 +01:00
kovacsv
5e078b2e66 Rename EnumerateTransformedMeshInstances to EnumerateTransformedMeshes. 2021-11-19 08:05:13 +01:00
kovacsv
57c7c216db Remove unused functions. 2021-11-08 17:54:34 +01:00
kovacsv
addc8dfbac Remove o3dv test files without nodes. 2021-10-27 10:05:04 +02:00
kovacsv
fc2dd12aa0 Always return arraybuffer during export. 2021-10-27 09:55:01 +02:00
kovacsv
7abc6efc93 Import all models as hierarchical model, but put all the meshes under the root node. 2021-10-27 08:25:47 +02:00
kovacsv
e6eff40543 Remove empty nodes during model finalization. 2021-10-26 19:45:26 +02:00
kovacsv
af5a0fef13 Add node to mesh instance instead of transformation. 2021-10-26 08:50:20 +02:00
kovacsv
034c4079c9 Create quaternion from axis and angle. 2021-10-26 07:37:06 +02:00
kovacsv
44460d0597 Enumerate mesh instances. 2021-10-25 16:22:49 +02:00
kovacsv
0143d29a9d Add multiple instances of the same mesh in tests. 2021-10-25 08:32:11 +02:00
kovacsv
dd7a0ed14f Add node hierarchy to model. 2021-10-22 11:17:36 +02:00
kovacsv
46644d47c3 Use Physically Based Rendering when possible #99 2021-07-19 17:44:43 +02:00
kovacsv
46ef2c7a93 Fix tests. 2021-07-11 11:29:52 +02:00
kovacsv
93f85738cb Organize properties in groups. 2021-06-26 23:53:08 +02:00
kovacsv
c7f0d128a7 Add properties to model and mesh. 2021-06-20 17:23:17 +02:00
Viktor Kovacs
251b42ad06 Do not calculate same normal multiple times so triangulation won't effect curved normal calculation. 2021-05-24 20:40:34 +02:00
Viktor Kovacs
8a29a6c682 Default color handling (switched off). 2021-04-05 12:22:59 +02:00
Viktor Kovacs
c770b84e26 Replace tabs with spaces everywhere. 2021-03-31 18:02:14 +02:00
Viktor Kovacs
9264c1dd6d Add code for new version. 2021-03-27 08:29:19 +01:00