Commit Graph

46 Commits

Author SHA1 Message Date
kovacsv
5d76010284 Merge branch 'dev' into ifcimporter 2021-06-26 23:54:09 +02:00
kovacsv
93f85738cb Organize properties in groups. 2021-06-26 23:53:08 +02:00
kovacsv
32bac5ddc1 Build fix. 2021-06-22 16:41:28 +02:00
kovacsv
43694b89c2 Property import tryout. 2021-06-22 16:38:37 +02:00
kovacsv
0524a0cbb1 Remove todo. 2021-06-22 15:42:18 +02:00
kovacsv
8d59266c50 Close model after import. 2021-06-22 15:11:09 +02:00
kovacsv
477dcbe1cd Merge branch 'dev' into ifcimporter 2021-06-22 12:01:39 +02:00
kovacsv
8d8fbc4447 Import user strings for meshes, and add a todo for the whole model. 2021-06-20 20:07:11 +02:00
kovacsv
c1bdfde874 Rhino material doesn't work when it's imported from layer 0 #87 2021-06-17 10:08:01 +02:00
kovacsv
f2c5bffa9b Merge branch 'dev' into ifcimporter 2021-06-13 18:31:23 +02:00
kovacsv
1cdf592c4f Visualization is slow in case of large number of meshes #82 2021-06-13 18:25:44 +02:00
kovacsv
e416aae4bc Transparency handling. 2021-06-13 07:37:11 +02:00
kovacsv
64cad6383a Fix JSHint errors. 2021-06-12 19:51:23 +02:00
kovacsv
4df8d25236 Add experimental importer for ifc. 2021-06-12 19:49:26 +02:00
kovacsv
dde3e08687 Load external libraries only once. 2021-06-12 18:04:21 +02:00
kovacsv
094189ce4f Delay load rhino3dm so it will be loaded only if it's needed. 2021-06-12 17:58:58 +02:00
Viktor Kovacs
edd2245915 Comment to explain checker code. 2021-06-05 09:15:12 +02:00
Viktor Kovacs
c7ef690933 All materials render black on some mobile devices #69
Let's detect the wrong devices, and set precision to mediump only if needed.
2021-06-05 09:01:24 +02:00
Viktor Kovacs
ff46ecc7d2 Rename files. 2021-06-03 21:53:40 +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
a9aebe77f4 Export mesh names to rhino. 2021-04-25 18:48:10 +02:00
Viktor Kovacs
0d329ea37b Add Rhino exporter. 2021-04-25 18:01:52 +02:00
Viktor Kovacs
e6452eb39f Modify error message when there are no 3D meshes in the rhino file. 2021-04-22 08:28:17 +02:00
Viktor Kovacs
edeb864576 Free importer resources after import. 2021-04-20 10:55:03 +02:00
Viktor Kovacs
c4a0d68a37 Detailed error messages. 2021-04-19 08:32:52 +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
cf65d1f204 Override diffuse color only it it is completely black. 2021-04-17 12:16:01 +02:00
Viktor Kovacs
fc0aafb4dc Allow fully transparent objects. 2021-04-17 10:34:04 +02:00
Viktor Kovacs
4104197f31 Error handling in case of wrong file. 2021-04-16 18:39:30 +02:00
Viktor Kovacs
1cb267a2b8 Handle SubD objects. 2021-04-16 17:26:04 +02:00
Viktor Kovacs
5956c9f131 Handle different material types. 2021-04-16 17:13:31 +02:00
Viktor Kovacs
3f5d29f9fc Handle instances in rhino importer. 2021-04-16 14:47:18 +02:00
Viktor Kovacs
a5900585f4 Fix up direction for rhino importer. 2021-04-15 21:19:19 +02:00
Viktor Kovacs
33d4d5ac50 Do not use hash mark in material names. 2021-04-15 21:16:56 +02:00
Viktor Kovacs
489269b17f Make material color win over display color. 2021-04-15 20:47:30 +02:00
Viktor Kovacs
a2aaedbbae Rhino import experiment. 2021-04-15 20:23:08 +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
8a29a6c682 Default color handling (switched off). 2021-04-05 12:22:59 +02:00
Viktor Kovacs
e5e59f3e5d Get default color from importer. 2021-04-05 09:49:55 +02:00
Viktor Kovacs
473da09052 Add function to reload the same model again. 2021-04-02 10:05:18 +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
d1000c0c93 Add function to run a single task asynchronously. 2021-03-31 17:52:26 +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
c15e7ff3b4 Store the original file buffer in textures. 2021-03-28 14:06:55 +02:00
Viktor Kovacs
9264c1dd6d Add code for new version. 2021-03-27 08:29:19 +01:00