Commit Graph
17 Commits
Author SHA1 Message Date
Robert Adams 2b2576dc1c Complete conversion to single JSON output routine. Now the JSON
formatting logic is not spread around the GLTF code.
2018-05-25 05:54:12 -07:00
Robert Adams 81798de3c6 Add some error checks to run.sh.
Fix line endings.
2018-05-20 20:21:48 -07:00
Robert Adams 41a7283780 Change material GLTF to use pbrMetallicRoughness for output.
Update run.sh to have multiple subdirs for different forms (unoptimized, ...).
Update run.sh to copy things to files.misterblue.com.
Capture current state of optimization. It's not all working yet.
2018-05-20 16:12:11 -07:00
Robert Adams 1fbceee5da Refactoring and organizing scene optimization code. 2018-05-01 18:51:09 -07:00
Robert Adams 302e7da0c2 Part way through refactor of scene analysis and optimization. 2018-04-30 15:56:51 -07:00
Robert Adams 463d583fd2 Much code to do scene optimizations:
Code to merge meshes if sharing materials.
    Initial version of making separate instances for duplicated meshes.
2018-04-29 10:28:50 -07:00
Robert Adams 714e26496f Fix problem with JSON output generating NaN and infinities.
Seems that TexCoords are sometimes odd values
Properly escape double quotes in output JSON strings.
Rewrite run.sh text script to be easier to add/remove test OARs.
2018-04-28 12:51:33 -07:00
Robert Adams deb0c0a390 Fix problems with mesh hash values -- there were collisions using
standard GetHashCode() vs now using BHash.
Many comments improved.
2018-04-26 22:04:57 -07:00
Robert Adams 4581647625 Rip out all the Assimp and AssimpNet stuff.
Never got it to work so will just output GLTF and use other
tools to convert to other formats (like command line assimp).
2018-04-26 12:08:41 -07:00
Robert Adams fb7f285f53 Remove logic to resize all images and only resize used images.
Have GltfClasses just get reduced form of needed images.
    Remove parameter 'ReducedTextureSizes'.
    Logic was wrong anyway.
2018-04-26 11:56:02 -07:00
Robert Adams ca789e70cc Update gather, build, and test/run.sh files to latest versions. 2018-04-04 14:41:01 -07:00
Robert Adams d5f23a89c3 Update the target .NET framework to the latest (so .NetStandard2 works).
Fix the script that builds AssimpNet on Windows development box.
Update Assimp and AssimpNet DLLs.
2018-03-20 17:13:38 -07:00
Robert Adams 24591b2b1f Some debug'ish tweeking to the run.sh file. 2018-02-10 16:42:14 -08:00
Robert Adams a62f9d3da7 Update Assimp and AssimpNet libraries
buildAssimpNet.sh changed to assume Assimp was build RelWithDebInfo
Enabled checking to see if output image exists before regenerating resized image
Add Assimp conversion parameters to run.sh
2018-01-15 13:26:31 -08:00
Robert Adams 707476878a Parameterize the run.sh script. 2017-12-28 18:56:37 -08:00
Robert Adams e84f93c7bb Some changes for specifying the output format.
Update the Assimp and AssimpNet binary files.
2017-12-17 21:10:59 -08:00
Robert Adams ff80b3b10e Many tweeks to get the GLTF export working. 2017-12-12 16:56:48 -08:00