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

Reply
 
Thread Tools Display Modes
Old 12-24-12, 04:01 PM   #1
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Yes. It will handle SH3 files as well.
I'm useing the SH4 files because they have the AO mapping already.

Going through some old Notes and code snippets I also found a few lines that will make the final code work go alot quicker.

Last edited by Madox58; 12-24-12 at 06:17 PM.
  Reply With Quote
Old 12-25-12, 07:05 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
Yes. It will handle SH3 files as well.
I'm useing the SH4 files because they have the AO mapping already.

Going through some old Notes and code snippets I also found a few lines that will make the final code work go alot quicker.
Cool. Keep us informed on any progress, please
gap is offline   Reply With Quote
Old 01-01-13, 03:57 PM   #3
silentmichal
Frogman
 
Join Date: Aug 2011
Location: Poland, my homeland.
Posts: 304
Downloads: 241
Uploads: 0
Default

Hmm, great name: PIFT


Like "pif-paf" :

__________________
Dining place in Silent Hunter 5? NOW it's possible ! My graphics mod available here:
http://www.subsim.com/radioroom/showthread.php?t=200862
silentmichal is offline   Reply With Quote
Old 01-01-13, 04:12 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by silentmichal View Post
Hmm, great name: PIFT


Like "pif-paf" :
yes agreed, cool name. I can imagine the following conversation taking place in a near future:

Q: "did it take very long importing the type II U-boat into SH5?"

R: "Oh, it was easy: I made it in a PIFT"
gap is offline   Reply With Quote
Old 01-01-13, 05:08 PM   #5
silentmichal
Frogman
 
Join Date: Aug 2011
Location: Poland, my homeland.
Posts: 304
Downloads: 241
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
yes agreed, cool name. I can imagine the following conversation taking place in a near future:

Q: "did it take very long importing the type II U-boat into SH5?"

R: "Oh, it was easy: I made it in a PIFT"

Yes!!! Of course I'll use this program in future .
__________________
Dining place in Silent Hunter 5? NOW it's possible ! My graphics mod available here:
http://www.subsim.com/radioroom/showthread.php?t=200862
silentmichal is offline   Reply With Quote
Old 01-01-13, 06:01 PM   #6
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I wondered alot about why the GR2 editor from TDW did the loose imports the way it does. I spotted the problem after long hours of not thinking of how obj files actually work, but stareing at the exported files from GR2 files.

Then I took a step back and studied how an obj file works, looked at exports from GR2 files, and finally saw at lest part of the GR2 meshes scheme.

To encode a proper diffuse mesh and AO mesh, We need exact count matches for verts and such.

Sounds easy but it's not just that simple.
Well, it is, but it isn't also.

One major thing I found is that a mesh can contain references to a real-face/vert/texture as a placer but it does not get rendered.

It's a kind of OpenGL thing in some ways, but at render time is corrected by the granny engine.
(granny is not the only thing that handles this kind of issue)

We need to open 2 obj files, get a per vertext UV mapping for each.
Then do a bunch of compares and mixing to get 2 matched obj files for import with TDW's Program.

The hard part is what faces grouping can/should be duds to create the best false references?
  Reply With Quote
Old 01-03-13, 04:31 PM   #7
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

I'll be home on saturday, my textures nearly ready too; so it is time to import my lifeboat into GR2 and start up the testing of this tool
Let me know if there are any particular things you need me to test, privateer.
Targor Avelany 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 05:17 AM.


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.