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 02-10-12, 02:44 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
Looks great. I look forward to the new Era in SH5 .

One question, do you think it will be possible to Import new UV Maps into the GR2 Files to replace the stock UV Maps for ship textures.
The stock UV maps in SH3/4/5 are not done very well for proper re-texturing and is the biggest reason I haven't stuck with SH5.
Many parts of the ship share the same bits of the texture - its all over the place really.
If we could import new UV Maps then the ships will really come alive.
Very easily done. In fact, you can do it currently with the current posted version. The importer reads the .obj files. The .obj files contain the UV data. So simply export the unit to obj format, open with 3D modeller program, re-UV map the meshes, export out of 3D modeller program to obj format, import into app
TheDarkWraith is offline   Reply With Quote
Old 02-10-12, 02:46 PM   #2
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

That's great TDW Any chance you could look into getting random skins working too
reaper7 is offline   Reply With Quote
Old 02-10-12, 02:49 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Started adding the extended data for the new bones. I have it now that the new bone has extended data. When you click on the extendeddata in GrannyViewer for the new bone you'll see a new screen with one entry: MaxProperties. Nothing else has been done so that's why there are no more entries. I'm adding those currently.

What was interesting was I decided to place the new bone's extended data right before the skeleton data in the GR2 file to see if it would cause any problems. Usually all the bone extendeddata follows the last bone (it goes Skeleton data, all the bone data, then all the bone's extendeddata). Granny Viewer didn't complain

Here's the file if you want to check it yourself: http://www.mediafire.com/?peq3ik7ggkcg3ml

TheDarkWraith is offline   Reply With Quote
Old 02-10-12, 03:23 PM   #4
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Very easily done. In fact, you can do it currently with the current posted version. The importer reads the .obj files. The .obj files contain the UV data. So simply export the unit to obj format, open with 3D modeller program, re-UV map the meshes, export out of 3D modeller program to obj format, import into app
What ! we can do it with the curent release !
i load immediatly Blender for try this ( have you an other 3D free program has to offer me ?)
BIGREG is offline   Reply With Quote
Old 02-10-12, 03:35 PM   #5
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by BIGREG View Post
What ! we can do it with the curent release !
i load immediatly Blender for try this ( have you an other 3D free program has to offer me ?)
Cool, just tried it in 3DS Max - works ok Nice.

BigReg You can get a free 3yrs license for 3DS MAx if you have a student email (I used my sons - no problems to get it).
reaper7 is offline   Reply With Quote
Old 02-10-12, 03:44 PM   #6
Luken
Loader
 
Join Date: Jan 2012
Posts: 82
Downloads: 122
Uploads: 0
Default

Sorry for interrupting, but I have a question, and didn't want to make a thread for it, and here is going some serious breakthrough - is it possible in the current state of modding, or is potential for this in the future - to make other clickable objects in the sub? (like these radio/hydrophone/map/hatch)
Luken is offline   Reply With Quote
Old 02-10-12, 03:48 PM   #7
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

The only problem is that ,I do not have a child and even if I start right away, it was not until he is at university, I just tried with blender, but I can not to have the textures (why there are 4 files after export ?)
BIGREG is offline   Reply With Quote
Old 02-10-12, 04:53 PM   #8
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by BIGREG View Post
The only problem is that ,I do not have a child and even if I start right away, it was not until he is at university, I just tried with blender, but I can not to have the textures (why there are 4 files after export ?)
Best get on the job quick then.

The thing is anybodys student email address is sufficent - just get one from a friend get them to register and give you the serial they receive
reaper7 is offline   Reply With Quote
Old 02-10-12, 06:17 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
(why there are 4 files after export ?)
There are 4 files IF the mesh has two sets of texture coordinates. As the OBJ file format only supports one set of texture coordinates I had to make two sets of files for them - one for the first set of texture coordinates (Diffuse) and the other for the second set (the AO map)
TheDarkWraith is offline   Reply With Quote
Old 02-11-12, 01:14 PM   #10
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Hi

Okay, so I spend my day to take in hand Blender.
Nice, the interface is not great, but it's free! and anyway when I explained to my girlfriend that I wanted to make him a kid for a code, it did not agree !
However I offered the first names: Max for a guy, and Maya for a girl !
But nothing was done, she will not! No kids for a code! Damn !

Regarding the editor
I did not understand why, but now I can zoom in detail, and in addition I have the textures are common rooms which appeared without adjusting ?
and i wanted to know if it's normal that textures exported in. obj are in .tga and no longer. dds
I export the radar meshe : Perfect, opening in blender : Ok ,even the textures are in .tga ,they are well recognized and used in blender
But, when importing into the editor I had the right to this:



If you have a solution, I'm interested

BigReg/BigRegOne



"The notion of strainer is independent of the concept of hole and vice versa."

Proverbe Shadock

Edit: I just noticed that after closing the editor, he continues to work ! see in the process !

Last edited by BIGREG; 02-11-12 at 01:27 PM.
BIGREG is offline   Reply With Quote
Old 02-12-12, 01:05 AM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I'd need to see the obj files you were trying to import. More than likely blender is using culture specifics and thus is writing decimal points using the european way ',' instead of the american way '.'. This is no problem as I added a menu option in the menu that tells the app to use culture specifics for situations like this. See here: http://www.subsim.com/radioroom/show...&postcount=407

I'd still like to see the obj files produced by blender.

As far as exporting to tga that's the way I have the app setup currently. I was thinking about letting the user decide what format they want the images to export to via an interface. What do you think? Basically you would be able to export images in any of the formats under the misc tab.


Finished coding the extended data for when you add a new bone. Works perfectly for normal GR2 files but the special GR2 files don't work correctly yet. Should have it all fixed and completed here soon

Last edited by TheDarkWraith; 02-12-12 at 01:36 AM.
TheDarkWraith is offline   Reply With Quote
Old 02-10-12, 06:16 PM   #12
Ekmek
Mate
 
Join Date: Nov 2011
Posts: 53
Downloads: 4
Uploads: 0
Default

Quote:
Originally Posted by BIGREG View Post
What ! we can do it with the curent release !
i load immediatly Blender for try this ( have you an other 3D free program has to offer me ?)

Objs definetely work in blender. I have a section in my "making leaderheads for civilization4" guide that tells how to use the UV functions in the program.

http://forums.civfanatics.com/showthread.php?t=267233
Ekmek 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:12 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.