Commit Graph

73 Commits

Author SHA1 Message Date
kovacsv
be6e69729c Fix typo. 2021-09-13 08:42:48 +02:00
kovacsv
ec9766ae81 Access all files as arraybuffer, and convert to text if needed. 2021-08-27 08:11:35 +02:00
kovacsv
5130717732 Always return file extension in lower case. 2021-08-06 19:01:43 +02:00
kovacsv
2a71f7d6b5 PBR materials for o3dv format. 2021-08-05 15:38:07 +02:00
kovacsv
0b22e22161 Add solid generators. 2021-08-01 10:51:46 +02:00
kovacsv
e90d318baf Add sphere import test. 2021-07-24 10:04:48 +02:00
kovacsv
c1a9cae13f Add sphere generator. 2021-07-24 09:58:21 +02:00
kovacsv
fb81e4ff5a Rename importer to engine. 2021-07-22 21:18:37 +02:00
kovacsv
3f30909b2e Use Physically Based Rendering when possible #99 2021-07-19 19:31:12 +02:00
kovacsv
46644d47c3 Use Physically Based Rendering when possible #99 2021-07-19 17:44:43 +02:00
kovacsv
a24c3bea05 Skip url parameters when determining file name or extension. 2021-07-17 09:57:55 +02:00
kovacsv
ab0d0172e7 Add support for GLB Draco Mesh Compression #97 2021-07-15 23:37:07 +02:00
kovacsv
b063321a5b Rename url parameters for default and background color. 2021-07-11 15:44:22 +02:00
kovacsv
46ef2c7a93 Fix tests. 2021-07-11 11:29:52 +02:00
kovacsv
e8ed3fe9b9 Test fix. 2021-07-08 18:33:48 +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
2b38556eff Change canvas background color #85 2021-06-25 08:41:34 +02:00
kovacsv
c7f0d128a7 Add properties to model and mesh. 2021-06-20 17:23:17 +02:00
kovacsv
67a249f528 Fix batch task running in case of zero count. 2021-06-14 14:25:23 +02:00
kovacsv
1cdf592c4f Visualization is slow in case of large number of meshes #82 2021-06-13 18:25:44 +02:00
Viktor Kovacs
0000c59fcd Fix duplicated test case names. 2021-06-07 21:53:30 +02:00
Viktor Kovacs
a3d283f613 Add o3dv file format for testing purposes. 2021-05-27 20:20:00 +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
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
67a4754ec9 Add test where two cubes are connecting in one vertex. 2021-05-21 19:36:13 +02:00
Viktor Kovacs
d72e8ad79d Add solidity check tests. 2021-05-21 19:33:02 +02:00
Viktor Kovacs
7dbfa862c8 Add test for topology calulation for two cubes connecting in one edge. 2021-05-21 19:31:03 +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
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
bdfa2d2b85 A cube bounding box calculator test. 2021-05-15 12:56:53 +02:00
Viktor Kovacs
ee271cb06b Move cube model generation to test utils. 2021-05-15 12:52:55 +02:00
Viktor Kovacs
4ee5eb6040 Bounding box calculation test. 2021-05-15 11:57:00 +02:00
Viktor Kovacs
8937cafdfd Add minimal octree implementation. 2021-05-14 16:58:28 +02:00
Viktor Kovacs
dd3a56c003 Surface and volume calculation example. 2021-04-29 21:23:28 +02:00
Viktor Kovacs
1bc47cfa08 Aynchronous export. 2021-04-25 16:03:17 +02:00
Viktor Kovacs
ddec4bd898 Clear importer data after import. 2021-04-20 11:48:08 +02:00
Viktor Kovacs
b746023187 Fix test after code modification. 2021-04-15 21:20:19 +02:00
Viktor Kovacs
9f9851a2ec Async importers. 2021-04-15 14:52:16 +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
6fbbdf4b69 Make a parameter from default color instead of the a member in importer. 2021-04-07 15:07:12 +02:00