SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-08-17, 07:46 PM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
I have a question.

I exported the 3D model of the Yamato's hull from S3D : I exported 2 things : NBB_Yamato.obj and NBB_Yamato-uv2.obj.

Then, I remodelled the NBB_Yamato.obj in Wings.

Now, I can only import the NBB_Yamato.obj, and not the NBB_Yamato-uv2.obj, is it a problem ?
The short answer is:

Yes, it is, if your model used an ambient occlusion map. If it is not, and you don't plan to add one, just scrap the *-uv2.obj file exported by S3D

The long answer is:

The UV projection of the main obj file is used by the game for mapping on any 3D mesh its diffuse texture (i.e. its "skin"). Uv2 object's UV projection, on turn, is usually employed for ambient occlusion textures (i.e. a texture containing prerendered shadows), but the latter can include dirt maps (i.e. rust, scratches, etc.), camouflage schemes and, if their resolution is high enough, markings, emblems, hull numbers, etc. The two objects must have identical vertex/edge/face coordinates (that's why S3D refuses to import the the *-uv2.obj after you modified the primary obj file), but indeed they can have different UV coordinates.

The reason for having two sets of UV coordinates is that diffuse and AO textures have different prerequisites.
One of the main requirements of a diffuse texture, is it looking sharp. A trick used in videogaming for having fairly sharp object skins without increasing too much their texture resolution, is creating objects with "overlapped" UV maps, i.e. objects set in a way that the same portion of texture is mapped on more than one region of the 3D mesh. If the iterated texture is omogeneus enough, and if its edges are "seamless" (i.e. tileable), or if it is mapped on non-contiguous regions, the trick wont be apparent and the player will be happy
On the contrary, being based on 3D objects' topology, AO shadows are not esily fitted on an overlapped UV space. The same goes for various markings and other eye-candies, which are not supposed to be repeated n times on the same objects, or for camo schemes whose lines and patterns usually need to be matched carefully. This is where having a secondary UV projection comes in handy, for making the player even happier

Hope it helps
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
 


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 07:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.