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 08-13-10, 09:37 AM   #61
rowi58
Eternal Patrol
 
Join Date: Jun 2006
Location: Karlsruhe
Posts: 679
Downloads: 56
Uploads: 0
Default

Thanks, privateer,

i'll test it this WE. The "bird" you can d/l is still made with your older version - didn't se your post. Sorry.

I'll have a look at the "Emden".

Greetings
rowi58
__________________
rowi58 is offline   Reply With Quote
Old 08-13-10, 11:05 AM   #62
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

privateer, why not simply write to DAT-file? Much easier (memcpy arrays), no conversion issues (binary to binary is much easier/safer and no headaches for multi uv as data structures of game and GR2 are similar), conversion is done to a single DAT-file, matrices/bones can be converted too, and you can let S3D handle imports/exports to OBJ. I think it will save you from some problems to come.
skwasjer is offline   Reply With Quote
Old 08-13-10, 11:51 AM   #63
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default

Quote:
Originally Posted by privateer View Post
Anyone want a Submarine Engine?



Corrected some code today and the Exporter now correctly reads the faces structure for large, multi-objects meshes.
This mesh exports at around 600+ megs!
__________________


urfisch is offline   Reply With Quote
Old 08-13-10, 01:30 PM   #64
MLF
Weps
 
Join Date: Sep 2002
Location: SW France
Posts: 361
Downloads: 137
Uploads: 0
Default

Hey Privateer

You're on a roll

Keep up the good work

MLF
__________________
Je pense donc je fuis!
MLF is offline   Reply With Quote
Old 08-13-10, 02:24 PM   #65
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Everyone goes by own way
*********************
You speak about *.dat & S3D?
Look example...
File - Room_CR.GR2
Using Privateer's GR2_Exporter.exe - 55 objects (*.obj) have been exported/created... during 3 minutes (on my not fast machine ).
Two objects have very big size of obj-file...
...

CR_BSide.obj - file size = 407 223 KB



CR_FSide_Stairs.obj - file size = 657 264 KB



May be, these objects can be divided into smaller with (on) corresponding single-materials...?
...
For those who has not understood...
For comparison: SH4, file NSS_Porpoise_CR.dat, exported object Tzevi01_03_LM2.obj - file-size 2 658 KB...
Whether S3D can process such big file... 657 264 KB...? simple experiment has shown cannot...



... and pressing of "Continue" button leads to S3D hanging.

...
and Look forward - multi-materials...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 08-15-10 at 06:34 AM.
Anvart is offline   Reply With Quote
Old 08-13-10, 05:12 PM   #66
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I'll work on breaking the larger objs down to seperate files
after I finish a few other things.

Getting the routine finished for multi-textures will help in breaking those
larger meshes down into seperate files.
  Reply With Quote
Old 08-13-10, 05:44 PM   #67
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Yes, being able to break down those larger .objs would be incredible privateer. Many of the things that I would like to add more of or manipulate happen to be included in some of those huge room encompassing .obj files. It seems like that would be very difficult to include into the exporter though.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 08-13-10, 05:49 PM   #68
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SteelViking View Post
Yes, being able to break down those larger .objs would be incredible privateer. Many of the things that I would like to add more of or manipulate happen to be included in some of those huge room encompassing .obj files. It seems like that would be very difficult to include into the exporter though.
not necessarily so. He says he is able to read multi-textures...therefore he has the 'breakdown' of the 3D model. In the .dat files you have numbers to represent each piece of a 3D model. Each piece is assigned a texture and texture coordinates. So if there are multiple textures for an object then that means they are subsets of the main object. In DirectX terms it would be DrawSubset(x)
TheDarkWraith is offline   Reply With Quote
Old 08-13-10, 06:10 PM   #69
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by TheDarkWraith View Post
not necessarily so. He says he is able to read multi-textures...therefore he has the 'breakdown' of the 3D model. In the .dat files you have numbers to represent each piece of a 3D model. Each piece is assigned a texture and texture coordinates. So if there are multiple textures for an object then that means they are subsets of the main object. In DirectX terms it would be DrawSubset(x)
Good point, and good to hear.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 08-13-10, 06:48 PM   #70
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Throw away the .bat file people.


Here's the basic UI version!
http://www.mediafire.com/?e48vl5q77fz8l6k

Just browse to the file you want and go!
  Reply With Quote
Old 08-13-10, 07:18 PM   #71
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by privateer View Post
Throw away the .bat file people.


Here's the basic UI version!
http://www.mediafire.com/?e48vl5q77fz8l6k

Just browse to the file you want and go!
Nice
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 08-13-10, 07:18 PM   #72
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Thanks, Jeff.
we look forward multi-materials.

P.S. tested... only... visual control of program's work is necessary (for big files).
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 08-13-10 at 07:44 PM.
Anvart is offline   Reply With Quote
Old 08-13-10, 07:24 PM   #73
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Anvart View Post
Thanks, Jeff.
we look forward multi-materials.
I'm working on it and several other things now.
  Reply With Quote
Old 08-14-10, 11:39 PM   #74
rowi58
Eternal Patrol
 
Join Date: Jun 2006
Location: Karlsruhe
Posts: 679
Downloads: 56
Uploads: 0
Default

Quote:
Originally Posted by privateer View Post
Throw away the .bat file people.


...
And i thought "Good Old DOS Is Back" . OMG - i remeber those times with DR DOS 6.0 (not Microsoft), got 627 KB free RAM out of 640 KB.

It was realy good to see a BATCH file again - feeling 15 years younger .

EOJ
(End Of Jokes): privateer - you made and you are making a wonderful job .

Greetings
rowi58
__________________
rowi58 is offline   Reply With Quote
Old 08-15-10, 03:54 AM   #75
tonschk
Admiral
 
Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
Default

Quote:
Originally Posted by rowi58;1468268i


privateer - you made and you are making a wonderful job .

Greetings
rowi58
I Agree , Well done Privateer
__________________
What we do in life echoes in Eternity
tonschk is offline   Reply With Quote
Reply

Tags
edit the gr2


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 11:35 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.