I need some help with importing a CityEngine scene into a project in Unreal Engine 4. I'm using CE 2021.1 and Unreal 4.27.
I run the Unreal datasmith export with default settings and everything seems to export fine. When I go to import it into Unreal, it places the scene far beyond where it can be rendered normally and I get this
The models and materials themselves appear fine. Aside from being placed very strangely, the individual segments of the meshes all seem to have gaps between them, rendering everything unusable even if I managed to move the whole thing somewhere else.
From all the documentation this should be straightforward and painless. Why is this different?
This happens when I export to Blender also. It might be because these application don't handle well big objects distances from the centre of the scene. CE exports models in their correct geographical position according to the projection used, which might be kilometres from the 0,0.
In your CE Unreal exporting dialog window, under 'Geometry Setting' section, try centre the 'Global offset' to see if you get a better result.
Thank you! The global offset fixed it. I also managed to export it as a single mesh instead of hundreds. I've yet to try individually but I think it should handle the gaps too. I'll post an update if I run into anything else.