Jump to content

[SOLVED] Vertex color problem when upgrading to SDK 2.18.1


photo

Recommended Posts

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 :

image.png.f30bafc8feb8570a479cbe71b3ae742a.png


after project upgrade, looks like the vertex color is not right :

image.png.c2863791e0ac8ea56c6ceb59e7183f34.png

 

The FBX is in attachment.

Best Regards.

complex_8.fbx

Link to comment

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!

Link to comment

@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!

image.png

Link to comment

@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!

vertexcolor.png

Link to comment
23 minutes ago, AntoineAB said:

Hello,

Thank you for the information and for solving the problem.

Regards.

You're welcome!

Link to comment
  • bmyagkov changed the title to [SOLVED] Vertex color problem when upgrading to SDK 2.18.1
×
×
  • Create New...