Commit Graph

153 Commits

Author SHA1 Message Date
kovacsv
b063321a5b Rename url parameters for default and background color. 2021-07-11 15:44:22 +02:00
kovacsv
d32dc8485a Replace default material without reloading the model. 2021-07-11 11:15:52 +02:00
kovacsv
f85eebfb3f Init sidebar panels from the website code. 2021-07-10 18:48:59 +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
59635a6291 Minor modification. 2021-07-02 12:04:59 +02:00
kovacsv
4001ba2e2e Property handling. 2021-07-02 12:02:53 +02:00
kovacsv
626591698a Decode ifc strings. 2021-06-29 09:18:24 +02:00
kovacsv
482caec6a0 Add property types. 2021-06-27 00:22:33 +02:00
kovacsv
ee035c130e Add property types. 2021-06-27 00:19:56 +02:00
kovacsv
d07c9eba2e Use boolean property type. 2021-06-27 00:02:06 +02:00
kovacsv
8669e1301f Merge branch 'dev' into ifcimporter 2021-06-27 00:00:48 +02:00
kovacsv
a0e84d016c Add boolean property type. 2021-06-27 00:00:31 +02:00
kovacsv
183f752d7f Use property groups. 2021-06-26 23:57:10 +02:00
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
2b38556eff Change canvas background color #85 2021-06-25 08:41:34 +02:00
kovacsv
14d11a0c41 Set background color when using the viewer on your website #92 2021-06-24 19:36:15 +02:00
kovacsv
f4b8ca18c6 Callback instead of return value because of async loading. 2021-06-24 18:24:12 +02:00
kovacsv
5a027f193f Return the created viewer elements so later modifications are possible. 2021-06-24 18:20:33 +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
89796d2971 Read meta data from glTF. 2021-06-20 18:40:50 +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
c1bdfde874 Rhino material doesn't work when it's imported from layer 0 #87 2021-06-17 10:08:01 +02:00
kovacsv
d402b7f531 Remove unnecessary log. 2021-06-16 21:56:24 +02:00
kovacsv
3bbae2cf68 There is a problem with the mesh name #84 2021-06-16 21:55:17 +02:00
kovacsv
b9db7fd9e2 Use cross vector calculation when calculating triangle normal. 2021-06-16 09:04:23 +02:00
kovacsv
3761fee986 Merge branch 'dev' into ifcimporter 2021-06-15 08:51:28 +02:00
kovacsv
67a249f528 Fix batch task running in case of zero count. 2021-06-14 14:25:23 +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
855ba95d66 Merge branch 'dev' into ifcimporter 2021-06-13 07:30:35 +02:00
kovacsv
8fbe59d656 Add public IntegerToHexString function. 2021-06-13 07:30: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
756c6376c2 Visual glitches on mobile #75 2021-06-03 08:29:12 +02:00
Viktor Kovacs
377ab38e6c All materials render black on some mobile devices #69 2021-05-29 14:07:41 +02:00