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

Reply
 
Thread Tools Display Modes
Old 03-27-15, 02:07 PM   #16
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,321
Downloads: 130
Uploads: 0


Default

It's not the verts count that stops you.
It's the faces or triangle count.
Say you have any one face that numbers above 65535?
Such as 39/65536
You could crash S3D or it just won't import.
The reason is simple. The dat stores the face as 2 bytes. FF FF is the max you can store in 2 bytes. FF FF = 65535.
So you can have as many verts as you want as long as any one face does not number above 65535.

There's a reason S3D states Full Support yes or no for each Node and you'll notice full support for 3D Models is No.
I use 010 Editor to do what S3D can't.
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 03-27-15 at 05:05 PM.
Jeff-Groves is offline   Reply With Quote
Old 03-27-15, 07:18 PM   #17
the_frog
Commander
 
Join Date: Nov 2010
Posts: 456
Downloads: 17
Uploads: 0
Default

65 000 ... so, the number I memorised first was about correct.
Just checked again the largest model I tried the last day -- I was wrong; it had not 100 000 but just 60 000 faces ...

Well, as said before, there are other good reasons for not using large meshs.

Thanks for the explanation.
the_frog is offline   Reply With Quote
Old 03-27-15, 07:22 PM   #18
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,321
Downloads: 130
Uploads: 0


Default

That would explain why many textures are over lapped on UV's.
Once you understand how obj files do the faces? it becomes clear.
We can have a million verts coords as long as the actual faces do not go beyond the 65535 number.
(That is actually 65536 since hex starts with 0)
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Reply


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 01:59 PM.


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.