AntoineAB Posted June 17, 2024 Posted June 17, 2024 Hello, I have a problem with a FBX file when upgrading it from the SDK 2.16 to SDK 2.18.1. Here is the render in the 2.16 version : after project upgrade, looks like the vertex color is not right : The FBX is in attachment. Best Regards. complex_8.fbx
bmyagkov Posted June 17, 2024 Posted June 17, 2024 Hello! @AntoineAB Could you please share the import settings used for this file? At first glance, the results are almost identical between the two versions you mentioned when using the default settings. It seems there must be some specific options you have changed. Additionally, comparing the corresponding ".meta" assets before and after migration might shed some light on the behavior. Thanks!
AntoineAB Posted June 18, 2024 Author Posted June 18, 2024 Hello, Here are the imports settings of the mesh : Regards.
bmyagkov Posted June 18, 2024 Posted June 18, 2024 @AntoineAB Thank you for the additional information. We attempted to recreate the same behavior on our end using the specified import settings, but even with the 2.16 SDK, the results differ significantly from what you originally shared. If the 2.16 SDK is still accessible, could you please create node references for this object, export it as a package by selecting the corresponding option from the asset browser, and share the ".upackage" with us? The idea is to migrate it to our end and see what has changed to properly address your question. Moreover, the LOD setup seems suspicious. For instance, the visibility distance for "LOD 2" is set from 350 units for the minimum to -inf for the maximum value, while it should be a positive value. Additionally, there is a dedicated surface for "LOD 3" and its visibility distance is set from -inf to inf, which means it would always be rendered, potentially overriding all the other LODs, which might also cause the issue. We look forward to hearing from you to determine the next steps. Thanks!
AntoineAB Posted June 18, 2024 Author Posted June 18, 2024 Hello, You will find in attachments the package of the object made in the 2.16 SDK. The LOD 2 is not right indeed, but it is not what it is causing the problem of color. Regards. Complex_8_package.upackage
bmyagkov Posted June 19, 2024 Posted June 19, 2024 @AntoineAB Thank you so much for sharing this information. There was a crucial change in an interim version regarding vertex color which directly affects this behavior: Quote The default vertex color (used for meshes without vertex color information upon importing) has been changed to black with zero alpha (0, 0, 0, 0) instead of the previous (1, 1, 1, 1). A full list of changes is available at the following link: https://developer.unigine.com/en/devlog/20230623-unigine-2.17 To address your issue simply turn off the vertex color checkbox for surfaces without vertex color information. Please see the attached image. Thanks!
AntoineAB Posted June 19, 2024 Author Posted June 19, 2024 Hello, Thank you for the information and for solving the problem. Regards. 1
bmyagkov Posted June 19, 2024 Posted June 19, 2024 23 minutes ago, AntoineAB said: Hello, Thank you for the information and for solving the problem. Regards. You're welcome!
Recommended Posts