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 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-25-14, 12:56 PM   #18
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Thus since it had to tile 2 X 2 either or both the u and v texture coordinates exceeded 1.0 (texture coordinates were in the range of -1.0 to 1.0 or 0.0-2.0 or -2.0-0.0). But clearly some of those texture coordinates are not being used so they are redundant and should be removed.
I have scaled the UV map of my balloon body model using Wings3d's "Max uniform" command. this command moves each item to the center, and scales it so that its length/width (whatever is bigger) is equal to one texture unit. In other words, it ensures that no UV coordinate exceeds the 0-1 range.

Result: after re-importing the object with GR2 Editor, and clicking on the 'Show' button, the texture is tiled 3 x 3 times, rather than 2 x 2.

My suspect is that either your code has 0-1 set as texture range, but with 0 and 1 not included, or for some reson Wings3d slightly exceeds this range

Edit:

no, it can't be this: I have scaled all my UV items so that they are well within the size of one texture, but GR2 Editor keeps showing them in a 2 x 2 frame
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 01-25-14 at 01:15 PM.
gap 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 04:48 PM.


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