Commit Graph

43 Commits

Author SHA1 Message Date
kovacsv
0afce83a49 Fix conversion when a node has multiple meshes. 2021-10-24 17:30:48 +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
19ca7a697b Add helper functions for async task running. 2021-10-23 08:36:01 +02:00
kovacsv
654ffd0acc Use one main object in viewer instead of an array of meshes. 2021-10-22 17:25:16 +02:00
kovacsv
419e8775dd Move three importer among other importers. 2021-09-05 08:04:55 +02:00
kovacsv
ec9766ae81 Access all files as arraybuffer, and convert to text if needed. 2021-08-27 08:11:35 +02:00
kovacsv
b65964565f "Invalid header information" when loading a PLY file #118 2021-08-16 19:01:48 +02:00
kovacsv
c92d1b7580 Utilize other texture maps. 2021-08-12 08:17:26 +02:00
kovacsv
1e6e6b65af Restructure libs. 2021-08-10 19:24:59 +02:00
kovacsv
294ae6a975 Set texture parameters. 2021-08-10 17:28:10 +02:00
kovacsv
759913d698 Add VRML loader. 2021-08-10 17:18:00 +02:00
kovacsv
1b2b899b48 Move tga loader initialization to loaders. 2021-08-10 08:25:39 +02:00
kovacsv
73bdaae0e1 Add collada importer. 2021-08-09 21:18:31 +02:00
kovacsv
47a6138870 Add tga loader. 2021-08-09 19:39:02 +02:00
kovacsv
0727048cc8 Merge branch 'dev' into three_importer
# Conflicts:
#	source/threejs/threeconverter.js
2021-08-09 18:27:18 +02:00
kovacsv
70324a38b7 Hide progress dialog only when all textures are loaded #108 2021-08-09 18:21:18 +02:00
kovacsv
9625bb721e Remove emissive color settings because it breaks some models. 2021-08-08 22:13:37 +02:00
kovacsv
ad66ea839f Load libraries one after other. 2021-08-08 22:06:14 +02:00
kovacsv
b85c199444 Rename variable, add some todos. 2021-08-08 16:27:08 +02:00
kovacsv
dc0fdbbc5d Handle mesh names. 2021-08-08 16:07:44 +02:00
kovacsv
984c900189 Handle textures from embedded data url, embedded blob, and external files. 2021-08-08 15:49:49 +02:00
kovacsv
9686de8817 Material and texture handling. 2021-08-08 15:11:26 +02:00
kovacsv
9432b5b9de Handle external textures. 2021-08-08 13:50:37 +02:00
kovacsv
d244cd458a Use common function in rhino importer. 2021-08-08 13:50:24 +02:00
kovacsv
8062aec93d Minor modification. 2021-08-08 09:16:55 +02:00
kovacsv
f365fc4fbd Build fix. 2021-08-06 22:34:53 +02:00
kovacsv
53b9218cc5 Dispose three objects after reading. 2021-08-06 22:31:43 +02:00
kovacsv
a5561c6f1a Embedded texture handling. 2021-08-06 22:17:33 +02:00
kovacsv
2a0b7eadf2 Handle loader errors. 2021-08-06 18:54:52 +02:00
kovacsv
395c3d524a Transform meshes. 2021-08-06 18:31:13 +02:00
kovacsv
a8de237a51 Minor modifications. 2021-08-06 17:38:08 +02:00
kovacsv
0a269785da Add experiment to load models using three.js loaders. 2021-08-06 17:00:29 +02:00
kovacsv
c9125c53b2 Typo fix. 2021-08-06 16:55:56 +02:00
kovacsv
55aafe8d88 Texture resizing to power-of-two sides is slow #105 2021-07-28 20:25:55 +02:00
kovacsv
79e344187d Use arrow callback instead of function. 2021-07-22 21:20:50 +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
265da7548d Modify source structure. 2021-07-15 20:58:50 +02:00