Commit Graph

178 Commits

Author SHA1 Message Date
kovacsv
9901ba1f4c Add sphere to function names where a sphere is expected. 2021-07-27 08:14:31 +02:00
kovacsv
743c4dcf1b Remove unused variable. 2021-07-25 16:44:11 +02:00
kovacsv
9405aff3dd Make mesh visibility options available from context menu #102 2021-07-24 13:49:22 +02:00
kovacsv
c1a9cae13f Add sphere generator. 2021-07-24 09:58:21 +02:00
kovacsv
6169e39450 Store file format (text or binary) in file object. 2021-07-23 17:50:49 +02:00
kovacsv
79e344187d Use arrow callback instead of function. 2021-07-22 21:20:50 +02:00
kovacsv
d992b42541 Use arrow callback instead of function. 2021-07-22 21:11:58 +02:00
kovacsv
e49bd60561 Add the possibility to add environment map to self-hosted viewer. 2021-07-20 21:08:02 +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
7d013878fc Use the same values that are coming from the texture. 2021-07-19 19:33:10 +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
682976075d Add more self-host examples. 2021-07-17 21:49:29 +02:00
kovacsv
a24c3bea05 Skip url parameters when determining file name or extension. 2021-07-17 09:57:55 +02:00
kovacsv
239a4df91c Add possibility to init only one viewer manually. 2021-07-17 09:50:23 +02:00
kovacsv
b24dd5cd9b Separate function for model import. 2021-07-16 08:45:28 +02:00
kovacsv
04da400129 Handle as error when it fails to load draco decoder. 2021-07-15 23:44:59 +02:00
kovacsv
ab0d0172e7 Add support for GLB Draco Mesh Compression #97 2021-07-15 23:37:07 +02:00
kovacsv
265da7548d Modify source structure. 2021-07-15 20:58:50 +02:00
kovacsv
009925c4b6 Rename result to output. 2021-07-13 07:30:22 +02:00
kovacsv
ec4bc495a2 Add reset to defaults button to settings panel. 2021-07-13 06:42:30 +02:00
kovacsv
fec23eb236 Add more eslint rules. 2021-07-12 18:41:38 +02:00
kovacsv
14833e40a9 Uncaught TypeError when using .glb #96 2021-07-12 17:39:20 +02:00
kovacsv
5851aedb1d Use arrow callbacks everywhere. 2021-07-12 08:49:12 +02:00
kovacsv
f2589dc2a1 Use eslint instead of jshint. 2021-07-12 07:32:53 +02:00
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