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

Reply
 
Thread Tools Display Modes
Old 04-16-07, 10:11 AM   #31
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 902
Downloads: 10
Uploads: 1
Default

Moin Skwasjer,

I could need your advice. Please PM me!

Regards,
DD
DivingDuck is offline   Reply With Quote
Old 06-22-07, 08:38 PM   #32
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 902
Downloads: 10
Uploads: 1
Default

Moin,

I´ve compared a 3d object´s triangles data with TMAP data. Here´s my problem:


Any suggestions?

Regards,
DD
DivingDuck is offline   Reply With Quote
Old 06-23-07, 01:43 PM   #33
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

See my e-mail to you yesterday. They are 3 ushorts, and represent indexes. These indexes refer to the array of UV's (texture coordinates). The TMAP is exactly the same, also 3 ushorts (per face) with indexes refering to the array of UV's.

[edit] The reason you encounter values that are 'higher' than the number of vertices is because each model (99% of them anyway) has more texture coordinates than vertices. Check the UV array for it's length and values, then check the TMAP section and see that they share indexes, but can also have unique ones (which may result in index values exceeding the vertex count).
skwasjer is offline   Reply With Quote
Old 06-26-07, 05:35 AM   #34
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default

great! any conclusion on that?
__________________


urfisch is offline   Reply With Quote
Reply

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:57 PM.


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