BUG: FBX export of "custom object" mapped, edge softened objects (weird connected uv mesh)

Hi,

There is an issue with “Custom object” texture mapping and edge softening - in short words it messes up texture mapping.

As soon as you enter the UV Editor (without changing anything inside) and hit apply, mapping changes from Surface Mapping to Custom object, and from there, if your object has edge softening applied, after exporting to other programs, UV layout is messed up. The same goes for previously Unwrapped objects.

I don’t know if it’s true for all objects (probably not always) but this simple (valid) polysurface was a showstopper for me.

Can you reproduce this bug and fix it, please? I just had to stop with my work because of that.

As my testing software, I used Blender and UE4, geometries created in Rhino 7.3.21012.11001

FILES:
mapping problem.3dm (3.5 MB)
mapping problem.fbx (2.3 MB)

Dear @Jussi_Aaltonen

I started this thread several hours before the latest Service Candidate update.

Brian Gillespie posted that one bug that seemed to me as connected to one I presented, was resolved.

  • UV mapping does not export correctly to OBJ/FBX (RH-57899)

However, after an update to the latest Service Candidate, my problems with Edge Softened objects remain true, and UVs are still messed up inside external programs.

I am not sure if this problem has similar roots as RH-57899 but if so, is there any chance that it will be resolved also?

@Czaja I’m looking at this now.

Logged as RH-62605 Custom mesh mapping: Fails on mesh object

1 Like

@Czaja This will be fixed in next Rhino 7 SR4 RC.

Thanks, this will be a huge improvement for the people who need to export meshes out of Rhino. :slight_smile:

RH-62605 is fixed in the latest Rhino 7 Service Release Candidate

Rhino 7.4.21040

UV mapping saga continues:

Some faces of the extracted Render Mesh have distorted textures even inside Rhino. They are distorted also after export (tested in Blender), they temporarily look good in UV Editor, but after closing it, they return to being distorted.

Old problems with UVs still exist.
Today, some time ago, I had success in exporting this faucet and have good UVs but for some reason, it doesn’t work anymore, maybe as soon as I modified Render Mesh Settings for that object? I need to keep a relatively low polycount in my Exported Render Meshes so I often modify those settings.

I really wish it was fixed, but it’s not.
For a couple of minutes, after I had successful export, I felt that we are very close in solving this problem and It was a great feeling!

Please continue to investigate, the current solution was very fragile and it took only a few minutes to unconsciously produce a scenario where it doesn’t work anymore.

Please check this file, videos, and screenshots:

omikiri2.3dm (14.3 MB)

EDIT:
I was poking more and it I can confirm my previous guesses, using custom mesh setting can screw things up.

Wort mentioning is that only real chance to get good meshes is to firstly extract Render Mesh and then export it to obj. Automatic meshing of polysurfaces while export gives broken UVs.

Left - Extracted Render Mesh, Right - Polysurface automaticly meshed while fbx export

Sorry to revive this topic,
but I wanted to attach some screenshots of why edge softening in the external programs is a problem and it is weird that polysurface with softened edges are displaying correctly, but if we extract render mesh out of it brokes the mapping.

After a long time of asking Epic developers to support Rhino’s Edge Softening, Shut Lining, etc. in Unreal, I can’t utilize it because even if I import datasmith file, and meshes are softened, they lose original texture mapping.

mapping export test.3dm (3.1 MB)

Doing Beveling externally we deal with modifying mesh normals where Rhino produces them very well

geometries imported to UE 4.27 by datasmith

Sadly, we gave up on edge softening in Rhino. It’s difficult to predict if your mapping in external programs will be screwed or not. Hard edges without any softening look much worse thought. I would like to see improvements in this area.