SUBSIM Radio Room Forums

SUBSIM: The Web's #1 BBS for all submarine and naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Thread Tools Display Modes
Old 09-22-2019, 12:54 PM   #1
Watch Officer
Join Date: Oct 2010
Location: Poland
Posts: 339
Downloads: 30
Uploads: 2
Default AO Map problem - messed up UVs on export

Guys, I'm looking for help. I'm trying to add an AO map to a ship. In Blender, it looks like this:

When I export all objects to obj and then import them in S3D, I get this:

I double, triple and quadruple checked everything I could think of. When I export UV layout from S3D preview and put it over AO map .dds file, all faces are mapped to where they should be, but in 3D view and in game it looks like they are somehow remapped to random places. Only one not affected by this is main object (ship's hull), all other objects have these black areas.

What am I doing wrong?

EDIT: Aaaah, I found it! For reference, if anyone will ever look for solution to similar problem: after baking AO map in 3D application, remember to move all objects back to center of the coordinate system before reexporting them to obj files (I had to move them to their correct positions in Blender to get a good occlusion map, but then forgot to move them back and S3D offset them by the vector they have been moved. That's why the hull was only one unaffected.

Last edited by kapuhy; 09-23-2019 at 01:22 AM.
kapuhy is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 02:58 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1995- 2020 Subsim