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 04-17-07, 03:24 AM   #1
GuillermoZS
Gunner
 
Join Date: Dec 2006
Location: Vigo, Spain
Posts: 100
Downloads: 10
Uploads: 0
Default [TEC] Pack3D and SH4...

Hi, Iīm starting to learn how to modify/create ships and 3d objects for SH4.

OK, Iīm making some tests on the Yamato, I exported the model from the .dat file using Pack3D, imported the .obj in 3DSMax and created a simple cilinder to attach to the bow of the original mesh (just for testing purposes). So, I applied the Yamato material to the cilinder and attached it to the original mesh. Iīm not trying to modify the texture, itīs just a geometry test. Ok, then I exported the modified .obj and repacked it to the original .dat via Pack3d.

I created a mission with the Yamato in front of my sub and when starting it, at first, everything seems to be fine (the modified mesh is correct and the texture seems to be OK), but as soon as I approach the camera to the Yamato (F11) it just turns into this:



It happens when I approach the camera (arrownd 500m more or less) and then stays like this even if I take the camera back...

Also I noticed a difference between the default and the modified version before the texture turns into that alien thing:



As you can see the modified version is much more "clean" or "white". I think the problem here is that the modified version is not loading properly the Specular map (the "..._O01.dds)

Any thoughts on how to solve this?


Thanks a lot!
GuillermoZS is offline   Reply With Quote
Old 04-17-07, 04:11 AM   #2
Prof
Medic
 
Join Date: Jul 2003
Location: Cambridge, UK
Posts: 167
Downloads: 2
Uploads: 0
Default

No fixes I'm afraid, but you've got more problems than the ones you mention...the flag is now 'hanging' upside down and look at your rear gun turrets!

I had the flag/turret problems when I tried to mod the Yamato.dat file and had no fix for it
Prof is offline   Reply With Quote
Old 04-17-07, 05:20 AM   #3
GuillermoZS
Gunner
 
Join Date: Dec 2006
Location: Vigo, Spain
Posts: 100
Downloads: 10
Uploads: 0
Default

Hi, yeah, youīre right, I didnīt notice those problems... the back turret is missed
mmm... maybe itīs flipped, like the flag.... that can be the cause....
GuillermoZS is offline   Reply With Quote
Old 04-17-07, 06:44 AM   #4
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

The flag flip is a very common result in pack3d
but I havent seen it do that as such
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 04-17-07, 07:21 AM   #5
GuillermoZS
Gunner
 
Join Date: Dec 2006
Location: Vigo, Spain
Posts: 100
Downloads: 10
Uploads: 0
Default

Here is a closeup of the affected area:



Both back turrets and the flag are upside down. I have also found where that funky alien texture comes from, itīs "Caustics_new.dds" texture. It seems that when I get close to the ship the program tries to generate caustic and, instead of that, changes both color-caustics textures

Just for fun I shot some fishes to the ship and look what happened:



as soon as the torpedo hit the ship the texture turned into this I think itīs the normal map applied as color map...

Well it seems that Pack3D is no getting well with the new normal/specular/caustics maps...

Is someone else having troubles like these?
GuillermoZS is offline   Reply With Quote
Old 04-17-07, 07:25 AM   #6
UBOAT234
Weps
 
Join Date: Oct 2005
Location: Repubblica di San Marino (Italy)
Posts: 362
Downloads: 0
Uploads: 0
Default

I have the same problems....

It is a disaster
Hundred of tests and hundred of failures

I think TMAP section is responsable of this.
I hope in future... Continuous to try...

BEST REGARDS
UBOAT234
UBOAT234 is offline   Reply With Quote
Old 04-17-07, 07:26 AM   #7
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

As I understand it different versions of pack 3d are better for different
functions, aircraft ships etc. Not my forte yet but maybe a different
version might do better, you need some more expert advice than I can
give.

MM
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 04-17-07, 07:27 AM   #8
UBOAT234
Weps
 
Join Date: Oct 2005
Location: Repubblica di San Marino (Italy)
Posts: 362
Downloads: 0
Uploads: 0
Default

There is the MAP of damages, I dont understand.
...and 10-1 and 6 chunks is different.

.....?

BEST REGARDS
UBOAT234
UBOAT234 is offline   Reply With Quote
Old 04-17-07, 07:29 AM   #9
UBOAT234
Weps
 
Join Date: Oct 2005
Location: Repubblica di San Marino (Italy)
Posts: 362
Downloads: 0
Uploads: 0
Default

Section TMAP does not come imported from pack3d and the file become smaller.

BEST REGARDS
UBOAT234
UBOAT234 is offline   Reply With Quote
Old 04-17-07, 07:45 AM   #10
GuillermoZS
Gunner
 
Join Date: Dec 2006
Location: Vigo, Spain
Posts: 100
Downloads: 10
Uploads: 0
Default

Quote:
Originally Posted by Mush Martin
As I understand it different versions of pack 3d are better for different
functions, aircraft ships etc. Not my forte yet but maybe a different
version might do better, you need some more expert advice than I can
give.

MM
Yeah, you may be right, Iīll give it a try and post results. Thanks
GuillermoZS is offline   Reply With Quote
Old 04-17-07, 08:27 AM   #11
Prof
Medic
 
Join Date: Jul 2003
Location: Cambridge, UK
Posts: 167
Downloads: 2
Uploads: 0
Default

I seem to remember that the DAT files edited by Pack3D become smaller than the original DAT files, so maybe there are some lines of data being missed out.

I tried most (if not all) of the Pack3D versions and couldn't find one which worked.

Incidentally, I managed to get the flag and turrets the right way up again by modifying their rotational axes, but then the turrets were swiveled as far towards the bow as they could move. Odd!
Prof is offline   Reply With Quote
Old 04-17-07, 10:29 AM   #12
down and out
Sparky
 
Join Date: Sep 2006
Location: UK
Posts: 150
Downloads: 0
Uploads: 0
Default

Version 2 is best so as not to " flip " objects
down and out is offline   Reply With Quote
Old 04-17-07, 11:31 AM   #13
GuillermoZS
Gunner
 
Join Date: Dec 2006
Location: Vigo, Spain
Posts: 100
Downloads: 10
Uploads: 0
Default

Quote:
Originally Posted by down and out
Version 2 is best so as not to " flip " objects
Yep, with pack3d v.2 objects do not appear flipped but the texture problem persist...I guess we have keep on trying
GuillermoZS is offline   Reply With Quote
Old 04-17-07, 11:58 AM   #14
UBOAT234
Weps
 
Join Date: Oct 2005
Location: Repubblica di San Marino (Italy)
Posts: 362
Downloads: 0
Uploads: 0
Default Pack3d

Hi,
Is not a problem of flip...
Pack 3d, any version, alters data in all file, and for the main .obj, it import only to the point TMAP. Change the total amount of byte.



In the first, file the .dat file after import .obj.
I the second file, the original...

I search a solution from much time...
I hope to find one solution... But is Hard!


BEST REGARDS
UBOAT234
UBOAT234 is offline   Reply With Quote
Old 04-17-07, 12:11 PM   #15
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 902
Downloads: 10
Uploads: 1
Default

Hey there,

pack3d doesnīt alter the data. It depends on your export settings of your 3d programme whether the data match to the smallest detail or not. The TMAP is not part of the *.obj file. And I donīt know whether pack3d would be able to import TMAP data if they were in the *.obj file.

Regards,
DD
DivingDuck 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 07:11 AM.


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.