Commit Graph

62 Commits

Author SHA1 Message Date
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
kovacsv
f045d214c7 Add mesh instance id to identify a mesh in the node hierarchy. 2021-10-24 09:43:24 +02:00
kovacsv
24e53e242a Generate unique id for nodes. 2021-10-23 11:16:32 +02:00
kovacsv
d3c5a1436b Experimental conversion based on node hierarchy. 2021-10-23 10:01:36 +02:00
kovacsv
7875457785 Add is empty function to node. 2021-10-23 09:05:42 +02:00
kovacsv
cd2adbeab3 Store transformation in node. 2021-10-22 15:55:38 +02:00
kovacsv
dd7a0ed14f Add node hierarchy to model. 2021-10-22 11:17:36 +02:00
kovacsv
ccfe303f93 Add enumerate function for node. 2021-10-21 12:17:26 +02:00
kovacsv
bb9724578d Add mesh enumeration function to model. 2021-10-17 11:42:58 +02:00
kovacsv
16614d81e1 Enumerate mesh indices recursively. 2021-10-16 16:02:33 +02:00
kovacsv
97312fe080 Enumerate children only. 2021-10-16 11:59:36 +02:00
kovacsv
9dcf49b548 Add node class. 2021-10-16 11:53:19 +02:00
kovacsv
8493391517 Change canvas background color #85
Option to set default material for meshes with no material information #45
2021-08-14 11:12:41 +02:00
kovacsv
751b09ffda Add material comparator function. 2021-08-07 21:24:44 +02:00
kovacsv
0b22e22161 Add solid generators. 2021-08-01 10:51:46 +02:00
kovacsv
c1a9cae13f Add sphere generator. 2021-07-24 09:58:21 +02:00
kovacsv
108448fe85 Export metallic and roughness factor only if no metallic roughness texture is present. 2021-07-19 20:17:05 +02:00
kovacsv
46644d47c3 Use Physically Based Rendering when possible #99 2021-07-19 17:44:43 +02:00
kovacsv
5851aedb1d Use arrow callbacks everywhere. 2021-07-12 08:49:12 +02:00
kovacsv
d32dc8485a Replace default material without reloading the model. 2021-07-11 11:15:52 +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
a0e84d016c Add boolean property type. 2021-06-27 00:00:31 +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
kovacsv
ea77b98642 Add basic information to the sidebar. 2021-06-20 11:31:39 +02:00
kovacsv
b9db7fd9e2 Use cross vector calculation when calculating triangle normal. 2021-06-16 09:04:23 +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
d971350443 Minor modification. 2021-05-24 20:51:27 +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
6613cd96cd Add todo. 2021-05-24 20:19:01 +02:00
Viktor Kovacs
38cde4b11f Use cuboid generator in tests. 2021-05-24 13:15:33 +02:00
Viktor Kovacs
0394d60581 Add quaternion class. 2021-05-24 09:19:44 +02:00
Viktor Kovacs
2815c27a32 Add cuboid generator. 2021-05-23 18:05:53 +02:00
Viktor Kovacs
265464fb60 Fix closed model detection when meshes are connected in an edge. 2021-05-22 09:40:43 +02:00
Viktor Kovacs
aff5740fba Add todo. 2021-05-21 19:20:00 +02:00
Viktor Kovacs
5184fe9346 Move material and triangle to a separate file. 2021-05-21 09:38:09 +02:00
Viktor Kovacs
55072f6d6d Base class for model and mesh so they can be handled similarly. 2021-05-21 09:29:44 +02:00
Viktor Kovacs
a39de09715 Add base enumerator class so meshes and models can be handled in the same way for calculations. 2021-05-20 10:07:37 +02:00
Viktor Kovacs
4bceb5b2b2 Fix solid body detection: an edge should appear with different directions in the neighbour triangles. 2021-05-18 17:21:37 +02:00
Viktor Kovacs
9a8e54a804 Minor modification. 2021-05-17 16:55:54 +02:00
Viktor Kovacs
bdef08756a Code for surface area and volume calculation. 2021-05-17 16:05:52 +02:00
Viktor Kovacs
f02b660b23 Add topology calculator. 2021-05-15 19:23:14 +02:00
Viktor Kovacs
39ecb7af61 Add bounding box calculator. 2021-05-15 12:04:48 +02:00
Viktor Kovacs
4ee5eb6040 Bounding box calculation test. 2021-05-15 11:57:00 +02:00
Viktor Kovacs
e7c42dd067 Build fix. 2021-05-15 11:49:00 +02:00