kovacsv
|
31f622dede
|
Add utility function for color conversion.
|
2022-01-07 22:45:43 +01:00 |
|
kovacsv
|
dbf1865c46
|
Set vertex color for materials only if they have vertex color in all appearances.
|
2022-01-05 19:10:12 +01:00 |
|
kovacsv
|
a13f82f687
|
Remove material parameter from mesh.
|
2022-01-04 19:49:13 +01:00 |
|
kovacsv
|
b526bea0bb
|
Add mesh material which is inherited to triangles during finalization.
|
2022-01-03 19:34:08 +01:00 |
|
kovacsv
|
2969050880
|
Move mesh clone function to the mesh class.
|
2022-01-03 18:46:16 +01:00 |
|
kovacsv
|
d4b3a2e009
|
Use set or map instead of pure object.
|
2022-01-02 10:00:13 +01:00 |
|
kovacsv
|
862677bbf7
|
Move color class to a separate file.
|
2022-01-01 10:59:36 +01:00 |
|
kovacsv
|
3795b5cacd
|
Get mesh type instead of checking triangle count.
|
2021-12-31 10:37:16 +01:00 |
|
kovacsv
|
6dc21ae06b
|
Provide only material color for importer.
|
2021-12-30 16:20:03 +01:00 |
|
kovacsv
|
630f85145b
|
Create model finalizer class.
|
2021-12-30 14:40:54 +01:00 |
|
kovacsv
|
2d8acfe7da
|
Move mesh utils to a separate file.
|
2021-12-30 10:16:49 +01:00 |
|
kovacsv
|
3b6e784081
|
Check vertex color indices in tests.
|
2021-12-29 17:28:46 +01:00 |
|
kovacsv
|
c6b2dbb95a
|
Do not show default material popup when there are vertex colors.
|
2021-12-29 09:39:50 +01:00 |
|
kovacsv
|
f57d31eca8
|
Add test for exporting vertex colors to glTF.
|
2021-12-29 08:41:36 +01:00 |
|
kovacsv
|
10f7df63bc
|
Export vertex colors to glTF.
|
2021-12-28 21:55:53 +01:00 |
|
kovacsv
|
0eee801446
|
Store vertex colors for triangles.
|
2021-12-28 21:15:33 +01:00 |
|
kovacsv
|
e5a2839c18
|
Minor modification.
|
2021-12-28 17:00:27 +01:00 |
|
kovacsv
|
3a5c65bdc8
|
Store vertex colors in mesh.
|
2021-12-28 16:44:00 +01:00 |
|
kovacsv
|
f46ae4b88b
|
Add transformation option for exporter model.
|
2021-12-28 09:18:29 +01:00 |
|
kovacsv
|
fe8012e657
|
Use a separate model class for export.
|
2021-12-26 00:40:06 +01:00 |
|
kovacsv
|
233cc2c2d7
|
Store instance id in mesh instances.
|
2021-12-25 10:49:59 +01:00 |
|
kovacsv
|
1cf59b750f
|
Remove solidity check from volume calculation.
|
2021-12-18 10:31:40 +01:00 |
|
kovacsv
|
65ab4aa9f5
|
Create separate material classes for phong and physical materials.
|
2021-12-04 18:26:58 +01:00 |
|
kovacsv
|
b901a9ab30
|
Pass preferred shading type to three.js conversion instead of preferred material type.
|
2021-12-04 16:59:24 +01:00 |
|
kovacsv
|
a689614e52
|
Remove unused clone functions.
|
2021-12-04 16:18:26 +01:00 |
|
kovacsv
|
b4b899dd28
|
Simplify mesh instance counting.
|
2021-11-26 20:11:28 +01:00 |
|
kovacsv
|
583ab14e34
|
Create mesh nodes during o3dv import.
|
2021-11-22 14:25:56 +01:00 |
|
kovacsv
|
31d472aa9a
|
Clean up generator parameters interface.
|
2021-11-22 14:02:02 +01:00 |
|
kovacsv
|
5e078b2e66
|
Rename EnumerateTransformedMeshInstances to EnumerateTransformedMeshes.
|
2021-11-19 08:05:13 +01:00 |
|
kovacsv
|
ca3fd182b0
|
Introduce node types. GroupNode is a node that contains child nodes and optionally some meshes. MeshNode is a node that contains only one mesh. MeshNodes are not visible in the tree.
|
2021-11-13 20:56:35 +01:00 |
|
kovacsv
|
79cd5189dc
|
Revert "Add transformation for mesh objects."
This reverts commit d75ff6464c.
|
2021-11-13 20:43:54 +01:00 |
|
kovacsv
|
d75ff6464c
|
Add transformation for mesh objects.
|
2021-11-13 20:06:19 +01:00 |
|
kovacsv
|
57c7c216db
|
Remove unused functions.
|
2021-11-08 17:54:34 +01:00 |
|
kovacsv
|
a1c77ea263
|
Set material type and shading model based on the most used material type in the model.
|
2021-10-29 18:33:46 +02:00 |
|
kovacsv
|
94e8f15a24
|
Check if the model is empty based on the node hierarchy.
|
2021-10-27 10:04:50 +02:00 |
|
kovacsv
|
d78feaceee
|
Remove empty nodes recursively.
|
2021-10-27 09:54:40 +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
|
ad132b2eed
|
Calculate geometric values based on mesh instances.
|
2021-10-26 18:54:51 +02:00 |
|
kovacsv
|
7eac7dee43
|
Treat models with no node hierarchy as one flat hierarchy under the root node.
|
2021-10-26 18:40:20 +02:00 |
|
kovacsv
|
c1e3a33107
|
Mesh instance is not needed in mesh.
|
2021-10-26 14:47:03 +02:00 |
|
kovacsv
|
6f9801010b
|
Use mesh instance id to identify meshes.
|
2021-10-26 13:15:56 +02:00 |
|
kovacsv
|
af5a0fef13
|
Add node to mesh instance instead of transformation.
|
2021-10-26 08:50:20 +02:00 |
|
kovacsv
|
92eac095e1
|
Calculate world transformation from node.
|
2021-10-26 07:53:25 +02:00 |
|
kovacsv
|
504c38848d
|
Automatically remove trailing whitespaces in Visual Studio Code.
|
2021-10-25 16:30:25 +02:00 |
|
kovacsv
|
44460d0597
|
Enumerate mesh instances.
|
2021-10-25 16:22:49 +02:00 |
|
kovacsv
|
f5cedf6842
|
Add key generator to mesh instance id.
|
2021-10-24 21:22:14 +02:00 |
|
kovacsv
|
90539cc15d
|
Move MeshInstanceId to a separate file.
|
2021-10-24 18:08:50 +02:00 |
|
kovacsv
|
bd6a66a781
|
Move mesh instance id to model utils.
|
2021-10-24 16:48:43 +02:00 |
|
kovacsv
|
4250ab3b58
|
Add mesh instance object that represents a mesh with transformation.
|
2021-10-24 16:46:49 +02:00 |
|