Search Unity

Bug Alembic Not Interpolating Normals

Discussion in 'Asset Importing & Exporting' started by PerryEQ, Oct 14, 2022.

  1. PerryEQ

    PerryEQ

    Joined:
    Oct 14, 2022
    Posts:
    3
    When an alembic is set to: "Interpolate Samples: True" and "Normals: Always Calculate", it appears the normals are not being interpolated. This is especially noticeable if the alembic was baked using a step value greater than one, for example: every 4th frame. Being able to interpolate normals along with the rest of mesh would allow us to greatly reduce alembic sizes by baking with higher step values.
     
  2. PerryEQ

    PerryEQ

    Joined:
    Oct 14, 2022
    Posts:
    3
    Any help with this?
     
  3. vladala

    vladala

    Unity Technologies

    Joined:
    Mar 3, 2017
    Posts:
    189
    Hey,

    Sorry for the late reply.
    I am confirming that the UI option of "Always Compute" is broken (the code will always do "Compute If Missing").
    As a workaround till the bug is fixed, would you be able to export without normals. This way, they will always be missing, thus will be computed. Please report back if this hack fixed your issue.
     
  4. PerryEQ

    PerryEQ

    Joined:
    Oct 14, 2022
    Posts:
    3
    Thanks for the reply.
    Unfortunately, this hack isn't producing the results I'd like.

    Alembics baked only on every 4th frame without any normals, set to “Interpolate Samples” update their normals in unity, but in a strange way: it seems to interpolate a bit between frames but then suddenly jumps.