Commit Graph

457 Commits

Author SHA1 Message Date
K. S. Ernest (iFire) Lee 988f4a90be Revert "Merge branch 'master' into old"
This reverts commit 9763c4b1b3.
2021-11-28 16:54:49 -08:00
K. S. Ernest (iFire) Lee 9763c4b1b3 Merge branch 'master' into old 2021-11-28 16:54:44 -08:00
K. S. Ernest (iFire) Lee 7d564a9b02 Set the default. 2021-11-28 15:47:09 -08:00
K. S. Ernest (iFire) Lee e76d5c2d99 Name the gltf2 buffer uniquely. 2021-11-28 15:23:28 -08:00
K. S. Ernest (iFire) Lee 7063185f9f Typo. 2021-11-28 14:47:17 -08:00
K. S. Ernest (iFire) Lee 401bcccc77 Use input path for keep originals. 2021-11-28 14:42:09 -08:00
K. S. Ernest (iFire) Lee c9396fd2db Add to the keep original functionality. 2021-11-28 14:27:20 -08:00
K. S. Ernest (iFire) Lee 8be4ef3931 Do not auto embed resources. 2021-11-28 13:50:28 -08:00
K. S. Ernest (iFire) Lee 2c4a9ade9f Use keep original textures. 2021-11-28 13:48:43 -08:00
K. S. Ernest (iFire) Lee 9eb3423ca2 Force embed resources. 2021-11-28 13:33:12 -08:00
K. S. Ernest (iFire) Lee 64f4e6515c Simplify. 2021-11-28 13:20:36 -08:00
K. S. Ernest (iFire) Lee eef1a8f153 Sync conan versions and Texturebuilder work. 2021-11-28 13:17:14 -08:00
K. S. Ernest (iFire) Lee 10d8a665e0 Requires c++17. 2021-11-28 12:54:26 -08:00
K. S. Ernest (iFire) Lee 0b1240635b Unused. 2021-11-28 12:51:28 -08:00
K. S. Ernest (iFire) Lee ac35ea351f Add some basic install instructions. 2021-11-28 12:49:14 -08:00
K. S. Ernest (iFire) Lee 073b4dac57 Use gltf instead of binary. 2021-11-28 12:34:07 -08:00
K. S. Ernest (iFire) Lee dedca983d9 I don't use docker. 2021-11-28 12:32:10 -08:00
K. S. Ernest (iFire) Lee 7b1000e1cb CI error. 2021-11-28 12:15:08 -08:00
SeanLin 2b6d95b3b3 Revert "Revert "Fix image file close issue""
This reverts commit 6dd7ba25c8.
2021-11-28 12:09:52 -08:00
SeanLin 6dd7ba25c8 Revert "Fix image file close issue"
This reverts commit d2648c74c7.
2021-11-28 12:09:39 -08:00
K. S. Ernest (iFire) Lee 669985c64c Code style format. 2021-11-28 12:06:46 -08:00
SeanLin a48ab1e377 Support Double Sided Material
The material has the "isDoubleSided" bool parameter. Because some models have double-sided texture settings, the new bool parameter is added to determine whether glTF2 'doubleSided' is enabled. The default value of this parameter is false.
2021-11-28 12:04:15 -08:00
SeanLin d2648c74c7 Fix image file close issue
After file is opened, add fclose to avoid saving buffer data in memory
2021-11-28 12:03:17 -08:00
Gareth Morgan 4cf9f4fd5d Look for filenames using alternative slash characters 2021-11-28 11:59:55 -08:00
K. S. Ernest (iFire) Lee 3d3cf1ae27 Remove commented transparent png. 2021-11-28 11:50:08 -08:00
K. S. Ernest (iFire) Lee a3dfcda66e Add separate textures flag.
Don't convert tga to png/jpg if the texture is already converted
2021-11-28 11:48:54 -08:00
Jason Schutz 762a183b6b Do not copy texture file on itself 2021-11-28 11:45:45 -08:00
K. S. Ernest (iFire) Lee 1bcdf9271e Format everything. 2021-11-28 11:45:31 -08:00
K. S. Ernest (iFire) Lee b89d4cd0e0 Fix for converted texture output folder creation and empty filepath 2021-11-28 11:41:51 -08:00
Jason Schutz 661c99c9cb Make getFolder return '.' instead of empty string 2021-11-28 11:41:07 -08:00
Mayank Nagpal 2fe07994d1 Add Sparse Accessor Support 2021-11-28 11:40:53 -08:00
Mayank Nagpal 1bfd930402 Removed Yellow texture used when texture file missing 2021-11-28 11:40:53 -08:00
Chris Subagio ef974a5e1a Add support for prebuilt ORM textures
Before this change, the texture assignments for Occlusion, Roughness, and Metalness in the Stingray PBR material path were assumed to be single channel images where the R should be used to build a merged ORM texture. This precluded the use of prebuilt ORM textures.

This commit proposes a few changes:
* if the same texture is detected in all 3 channels, assume it already is ORM and just pass through.
* when combining textures, read R/G/B for O/R/M rather than R/R/R. This allows merging of prebuild ORM textures.
2021-11-28 11:34:57 -08:00
K. S. Ernest (iFire) Lee cb9952f5ec Revert "First draft of Standard material support."
This reverts commit c77d625257.
2021-11-28 11:21:16 -08:00
K. S. Ernest (iFire) Lee 04c8673fe5 Revert "Default to assume fbx isn't PBR."
This reverts commit 73ffff33d0.
2021-11-28 11:18:45 -08:00
K. S. Ernest (iFire) Lee bd35c5dab2 Add demo. 2021-11-28 11:14:31 -08:00
K. S. Ernest (iFire) Lee 6fde7edc5e Typo. 2021-11-17 16:34:36 -08:00
K. S. Ernest (iFire) Lee 0e626182f8 Give the proper path for zipping on windows. 2021-11-17 16:14:13 -08:00
K. S. Ernest (iFire) Lee 598f3b9cee Remove missing. 2021-11-17 16:03:08 -08:00
K. S. Ernest (iFire) Lee 9374ec5c5f Lose the top level zip. 2021-11-17 16:02:42 -08:00
K. S. Ernest (iFire) Lee 8cae0d5e1a Use working directory. 2021-11-17 15:50:30 -08:00
K. S. Ernest (iFire) Lee 646d6dd4cf Missed one. 2021-11-17 15:34:48 -08:00
K. S. Ernest (iFire) Lee 3a510af13f Correct error. 2021-11-17 15:27:16 -08:00
K. S. Ernest (iFire) Lee 4bcfdd6383 Change copy action. 2021-11-17 15:25:49 -08:00
K. S. Ernest (iFire) Lee 3eb9ccef7b Find licenses. 2021-11-17 15:21:59 -08:00
K. S. Ernest (iFire) Lee 754c1826a5 Store the entire directory. 2021-11-17 15:11:06 -08:00
K. S. Ernest (iFire) Lee b98e1800ee Typo. 2021-11-17 15:08:35 -08:00
K. S. Ernest (iFire) Lee f723cf41a1 Update copying the license. 2021-11-17 14:57:39 -08:00
K. S. Ernest (iFire) Lee d28d5d1383 Add licenses to zip. 2021-11-17 14:49:24 -08:00
K. S. Ernest (iFire) Lee 2d1f95e9ab Try bash. 2021-11-17 12:14:40 -08:00