Commit Graph

28 Commits

Author SHA1 Message Date
kovacsv
b901a9ab30 Pass preferred shading type to three.js conversion instead of preferred material type. 2021-12-04 16:59:24 +01:00
kovacsv
79cd5189dc Revert "Add transformation for mesh objects."
This reverts commit d75ff6464c.
2021-11-13 20:43:54 +01:00
kovacsv
d75ff6464c Add transformation for mesh objects. 2021-11-13 20:06:19 +01:00
kovacsv
71cfe70c71 Improve conversion speed in case of high number of nodes. 2021-11-02 08:40:06 +01:00
kovacsv
a1c77ea263 Set material type and shading model based on the most used material type in the model. 2021-10-29 18:33:46 +02:00
kovacsv
7abc6efc93 Import all models as hierarchical model, but put all the meshes under the root node. 2021-10-27 08:25:47 +02:00
kovacsv
7eac7dee43 Treat models with no node hierarchy as one flat hierarchy under the root node. 2021-10-26 18:40:20 +02:00
kovacsv
6f9801010b Use mesh instance id to identify meshes. 2021-10-26 13:15:56 +02:00
kovacsv
504c38848d Automatically remove trailing whitespaces in Visual Studio Code. 2021-10-25 16:30:25 +02:00
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
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
ad66ea839f Load libraries one after other. 2021-08-08 22:06:14 +02:00
kovacsv
a5561c6f1a Embedded texture handling. 2021-08-06 22:17:33 +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