1. 31 1月, 2020 1 次提交
  2. 30 1月, 2020 1 次提交
    • H
      Unit test render updates (#553) · 67a5a6f4
      Hoch 提交于
      Updating the playmode tests to render very close to the images provided with the models. The lighting is not a perfect, but the reason for not being able to switch to use those images is actually some render differences, not the lighting different.
      
      Change callouts:
      - Tweaked the skybox images to better match the target images
      - Split the displayed skybox out from a new custom gradient skybox to apply even environmental lighting
      - Adding a reflection probe and disabling the directional light to achieve more accurate ambient lighting
      67a5a6f4
  3. 22 1月, 2020 1 次提交
  4. 16 1月, 2020 1 次提交
  5. 15 1月, 2020 2 次提交
    • H
      MSBuildForUnity, UWP build, and general Warnings cleanup (#548) · 6d48a258
      Hoch 提交于
      - Added MSBuildForUnity to GLTFSerialization, handling copying the appropriate files and generating .meta files for them in the Unity project
      - Fixed UWP build errors (hoping to add a regression-catching server-side build in the near future, but not part of this change)
      - Fixed a variety of warnings so build should finish clean 
        - Removed old/gone MonoBehaviour reference in StreamTestScene
        - Renamed 'camera' in OrbitCameraController to avoid circular warning for hiding an inherited member
        - Re-generated lighting data for ShaderRetention scene to support current Unity version
        - Added a default value to SimpleWebServer's _port to avoid initialization warning
      6d48a258
    • H
      Android fixes for VertexColor (#547) · 7bdd9b16
      Hoch 提交于
      Updating VertexColor.cginc to properly support the path when UNITY_STANDARD_SIMPLE is true (e.g. Android builds). This fixes various conversion and re-definition errors (should resolve #125 and #540).
      - Tested Android and Standalone builds on 2018.4.14f1. Confirmed errors and warnings on Android without fix and no related errors/warnings in either target after fix.
      7bdd9b16
  6. 11 1月, 2020 1 次提交
  7. 09 1月, 2020 1 次提交
    • H
      Upgrade to Unity 2018 (#535) · eaf628be
      Hoch 提交于
      - Updated documentation and actual project to 2018.4.14f1
      - Overhauled the Travis build to use a docker image of a matching version of Unity. (Includes running the playmode and editmode tests)
      - Updated the skybox to individual images, since the .dds appears unsupported in 2018 (it was never officially supported)
      - Updated lighting and unit tests, bringing them even closer to the provided sample images (though still quite a ways off from being able to image compare against them instead of our own _EXPECTED images).
      
      Changes to Main and TestScenePrefab are primarily re-serialization from the Unity upgrade. Practically the changes were adjusting the lighting and fixing the Model List to point at the loader.
      eaf628be
  8. 03 1月, 2020 2 次提交
  9. 21 12月, 2019 1 次提交
  10. 18 12月, 2019 1 次提交
    • H
      Unity Build running for PRs (and Tests) (#532) · fbb55fde
      Hoch 提交于
      * Updated the build definition to build the Unity code and run the tests, but not produce or publish a unity package (which requires a Pro/Plus license).  Also does not include running the tests that rely on graphics (which is currently all of them).
      * Moving the Unity tests in the direction of comparing against the images already maintained with the models. Could not completely switch to this yet though due to some discovered render issues to be addressed in independent changes.
      * Fixed a race condition in loading multiple images in a single model by reworking the ILoader interface.
      * Unified the test scenes/prefabs so that the Main scene fully leverages the TestScenePrefab and the TestScene is no longer relevant.
      fbb55fde
  11. 07 12月, 2019 1 次提交
  12. 06 12月, 2019 1 次提交
  13. 04 12月, 2019 1 次提交
  14. 14 11月, 2019 2 次提交
  15. 13 11月, 2019 1 次提交
  16. 09 11月, 2019 2 次提交
  17. 08 11月, 2019 3 次提交
  18. 30 10月, 2019 2 次提交
  19. 11 10月, 2019 3 次提交
    • S
      Better handling of attribute errors (#499) · 40b0c967
      soraryu 提交于
      * Better handling of attribute errors
      
      Instead of throwing when finding unrecognized attributes, this PR makes sure all attributes are collected and an exception is thrown after all are known. This allows to actually catch the exception and handle it per object instead of just failing.
      Note that I did this because TEXCOORD_4 throws exceptions (it's not available in the attribute list) - not sure if this is a bug in itself.
      
      * added GLTFLoadException; currently used for catching exceptions with unrecognized mesh attributes
      
      * change spaces to tabs
      40b0c967
    • S
      Proper package structuring for Unity Package Manager (#497) · bb85e9a3
      soraryu 提交于
      * proper structure for actual usage as Unity Package
      
      * additional cleanup for Tests folder
      bb85e9a3
    • M
      Optimized animation importing in GLTFSceneImporter by storing the keyframes in a variable (#479) · c23de1aa
      Michiel 提交于
      * Optimized animation importing in GLTFSceneImporter by storing the keyframes in a variable instead of requesting a new copy each time.
      
      * Placed curly bracket on next line to fix style inconsistency.
      c23de1aa
  20. 10 10月, 2019 1 次提交
  21. 09 10月, 2019 1 次提交
  22. 08 10月, 2019 1 次提交
  23. 21 9月, 2019 1 次提交
  24. 24 8月, 2019 1 次提交
  25. 13 8月, 2019 1 次提交
  26. 30 7月, 2019 1 次提交
    • S
      Generate GLTF.Meshes as UnityEngine.Meshes instead of GameObjects (#470) · 04fb170b
      Steven Vergenz 提交于
      * Update standalone dll project
      
      * Modify MeshCacheData structure, update attribute preloading
      
      * Start cleaning up generation flow
      
      * Finish mesh refactor
      
      * Fix morph target application to nodes
      
      * Make Skin.Skeleton field truly optional
      
      * Manually normalize bone weights
      
      * Rename loop variable
      
      * Add if blocks
      04fb170b
  27. 23 7月, 2019 3 次提交
  28. 25 6月, 2019 2 次提交
    • A
      Add support for points and lines (#456) · 212fa686
      Aidin Abedi 提交于
      * rename some instances of the word triangles to indices to avoid future invalid assumptions
      
      * simplify and optimize triangle face flipping
      
      * add support for points, lines and line-strip
      
      * if mesh is not triangles, then don't recalculate normals to avoid unnecessary log spam.
      212fa686
    • A
      Handle low memory situations and change API of Importer/Exporter to take in option classes (#454) · 5bd548ce
      Adam Mitchell 提交于
      * exporter options
      
      * Switch to import options.  Add an option to throw when out of memory.  Implement throwing when out of memory.  Still need to properly clean up when that occurs.
      
      * Clean up nodes when exceptions are thrown.
      
      * more clean up when exception is thrown
      
      * Add windows using.  Comments.  Tabs.
      
      * move null check into Cleanup now that it's called multiple places
      
      * Rename from CheckMemory to ThrowOnLowMemory to make it more clear what it does.  Add comments in all Obsolete attributes.
      5bd548ce