Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use assimp for loading meshes #393

Merged
merged 86 commits into from
Jul 30, 2022
Merged

Use assimp for loading meshes #393

merged 86 commits into from
Jul 30, 2022

Commits on May 13, 2022

  1. First draft of assimp loader, can load obj and dae meshes

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed May 13, 2022
    Configuration menu
    Copy the full SHA
    33c8d2f View commit details
    Browse the repository at this point in the history
  2. WIP correct material assignments

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed May 13, 2022
    Configuration menu
    Copy the full SHA
    bce766d View commit details
    Browse the repository at this point in the history
  3. Refactor mesh creation into separate function

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed May 13, 2022
    Configuration menu
    Copy the full SHA
    3b08c5b View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. WIP adding actor support

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed May 18, 2022
    Configuration menu
    Copy the full SHA
    0ed8f69 View commit details
    Browse the repository at this point in the history
  2. [FEATURE] Drag and drop support for gltf and fbx (#354)

    Onur Berk Töre authored May 18, 2022
    Configuration menu
    Copy the full SHA
    531b2a8 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. WIP actors with single skeletons working

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed May 20, 2022
    2 Configuration menu
    Copy the full SHA
    8f63b21 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2022

  1. Migrate to assimp 5.2.0

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed May 23, 2022
    Configuration menu
    Copy the full SHA
    db823ca View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. Fix: Works even the root node doesnt have child (#358)

    Signed-off by: Onur Berk Tore [email protected]
    
    Co-authored-by: Luca Della Vedova <[email protected]>
    Onur Berk Töre and luca-della-vedova authored May 30, 2022
    Configuration menu
    Copy the full SHA
    1795314 View commit details
    Browse the repository at this point in the history
  2. 4 Configuration menu
    Copy the full SHA
    ce4cfc8 View commit details
    Browse the repository at this point in the history
  3. Naming style to follow Gazebo convention

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed May 30, 2022
    Configuration menu
    Copy the full SHA
    47e42a3 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' of github.com:gazebosim/gz-common into luca/assim…

    …p_sandbox
    
    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed May 30, 2022
    Configuration menu
    Copy the full SHA
    2a94bfc View commit details
    Browse the repository at this point in the history
  5. Fix after namespace migration

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed May 30, 2022
    Configuration menu
    Copy the full SHA
    c106035 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2022

  1. Parse alpha from texture from GLTF materials

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    d5f9935 View commit details
    Browse the repository at this point in the history
  2. Minor cleanups, parse metalness and roughness

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    1f28b89 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. Fix: Assimp generates normals for all the meshes. (#359)

    * Fix: Works even the root node doesnt have child
    
    * Assimp also generates normals
    
    * Revert "Fix: Works even the root node doesnt have child"
    
    This reverts commit 7687252.
    
    Signed-off by: Onur Berk Tore, [email protected]
    
    Signed-off by: Onur Berk Tore, [email protected]
    
    Co-authored-by: Luca Della Vedova <[email protected]>
    Onur Berk Töre and luca-della-vedova authored Jun 3, 2022
    Configuration menu
    Copy the full SHA
    b7f160a View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. WIP create API for having in memory textures

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    1c9771d View commit details
    Browse the repository at this point in the history
  2. Diffuse textures working

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    fd3a0f5 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Add API to load compressed images and read RGBA data

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    08f1102 View commit details
    Browse the repository at this point in the history
  2. Add test

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    661823c View commit details
    Browse the repository at this point in the history
  3. Deallocate memory in tests

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    b5ab18f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    97b459e View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. Migrate to image API, minor cleanups

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    d08554f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    304cd93 View commit details
    Browse the repository at this point in the history
  3. Add PBR materials to inmemory textures

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    d6c59b1 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    6879e1c View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. Use correct mesh index to load bones

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    435fe13 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. Add metallic roughness map support

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    91e32ea View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Merge branch 'main' into luca/assimp_sandbox

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    d09f892 View commit details
    Browse the repository at this point in the history
  2. Add API to return image data as vector of bytes

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    ee7fb08 View commit details
    Browse the repository at this point in the history
  3. Update migration guide

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    7ee1c45 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. Move to new API

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    c822fc0 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Move to GZ impl ptr, don't remove empty bones

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    032611b View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Configuration menu
    Copy the full SHA
    05f4604 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    2f78228 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d9d692 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Add path to find external texture for collada files

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    41541c1 View commit details
    Browse the repository at this point in the history
  2. WIP port all tests from other loaders

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    da0d078 View commit details
    Browse the repository at this point in the history
  3. Minor cleanup and name migration

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 28, 2022
    2 Configuration menu
    Copy the full SHA
    98c5c06 View commit details
    Browse the repository at this point in the history
  4. WIP Fixing and reenabling tests

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    2f580e7 View commit details
    Browse the repository at this point in the history
  5. Fix more tests

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    efec93f View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Fix a few more unit tests

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    683a6c1 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. Fix: Reversed models when skeletons exist (#375)

    * Fix: Reverse model issue
    
    Co-authored-by: Luca Della Vedova <[email protected]>
    Onur Berk Töre and luca-della-vedova authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    b5bc4db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b630640 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2022

  1. Revert to only parse skeletons for scenes with animations

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    a970a52 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. Clean debug statements

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    4e7c022 View commit details
    Browse the repository at this point in the history
  2. Minor performance improvements in mesh manager

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    2b2e220 View commit details
    Browse the repository at this point in the history
  3. Add assimp dependency to github packages

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    d030bc5 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into luca/assimp_sandbox

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    af99a3e View commit details
    Browse the repository at this point in the history
  5. Don't force assimp version anymore

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    57f8a73 View commit details
    Browse the repository at this point in the history
  6. Code style

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    8bb789e View commit details
    Browse the repository at this point in the history
  7. Documentation, remove workaround and clean state

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    5a5cbea View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Minor cleanup and review feedback

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    d647967 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. Configuration menu
    Copy the full SHA
    28f9b68 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. Configuration menu
    Copy the full SHA
    589bc8a View commit details
    Browse the repository at this point in the history
  2. WIP compile in Ubuntu 20.04

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    51a8953 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. WIP Make CI green in focal

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    d798f74 View commit details
    Browse the repository at this point in the history
  2. Fix CI in Jammy

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    a62eb6f View commit details
    Browse the repository at this point in the history
  3. Update for bone node assignment in assimp 5.2.0

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    8ce8b79 View commit details
    Browse the repository at this point in the history
  4. Fix bone node name logic

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    6a0839a View commit details
    Browse the repository at this point in the history
  5. Revert to normal loaders for old asset formats

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    cdfb6da View commit details
    Browse the repository at this point in the history
  6. Remove commented tests

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    61e22e6 View commit details
    Browse the repository at this point in the history
  7. Feature: Inits units tests for fbx and glTF2 (#385)

    Signed-off-by: Onur Berk Tore <[email protected]>
    Onur Berk Töre authored Jul 20, 2022
    Configuration menu
    Copy the full SHA
    8fe6b91 View commit details
    Browse the repository at this point in the history
  8. Revert bone node name change

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    36aca25 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    54aea7c View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. Configuration menu
    Copy the full SHA
    590ee15 View commit details
    Browse the repository at this point in the history
  2. Add PBR Emissive map

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    e0b3cd6 View commit details
    Browse the repository at this point in the history
  3. Fix style

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    a0c668d View commit details
    Browse the repository at this point in the history
  4. Minor cleanups

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    d78e2dd View commit details
    Browse the repository at this point in the history
  5. Add test for material

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    ff4c1eb View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Merge branch 'main' of https://github.com/ignitionrobotics/ign-common

    …into luca/assimp_sandbox
    
    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    cdc14c8 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. Address review feedback, fix const correctness

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    85bfe1b View commit details
    Browse the repository at this point in the history
  2. Add test for fully featured GLB and embedded lightmap

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    9165ee9 View commit details
    Browse the repository at this point in the history
  3. Skip test on older assimp version

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    25616cd View commit details
    Browse the repository at this point in the history
  4. Add test to texture values and alpha from texture

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    e801652 View commit details
    Browse the repository at this point in the history
  5. Fix color test, add mesh manager integration test

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    2f969d4 View commit details
    Browse the repository at this point in the history
  6. Fix texture splitting index calculation

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    8224142 View commit details
    Browse the repository at this point in the history
  7. Fix color parsing and unit test

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    1138935 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. Temporary - use gz-cmake custom branch for CI

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    44e19b1 View commit details
    Browse the repository at this point in the history
  2. Change to ci matching branch

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    5d43e70 View commit details
    Browse the repository at this point in the history
  3. Remove github dependencies file

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    420bc48 View commit details
    Browse the repository at this point in the history
  4. Disable narrowing conversion warning

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    a7b0967 View commit details
    Browse the repository at this point in the history
  5. Silence warning on Ubuntu / Mac

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    acdf06d View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' into luca/assimp_sandbox

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    4484e5e View commit details
    Browse the repository at this point in the history
  7. Introduces GZ_MESH_FORCE_ASSIMP flag (#403)

    Signed-off-by: Onur Berk Tore <[email protected]>
    Onur Berk Töre authored Jul 29, 2022
    Configuration menu
    Copy the full SHA
    afc47c8 View commit details
    Browse the repository at this point in the history
  8. Add integration test for environment variable

    Signed-off-by: Luca Della Vedova <[email protected]>
    luca-della-vedova committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    2c07731 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. Increase test coverage

    Signed-off-by: Louise Poubel <[email protected]>
    chapulina committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    a1c0b9f View commit details
    Browse the repository at this point in the history