Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Anyone working on understanding the 3D format ?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
msxyz



Joined: 31 Mar 2005
Posts: 485

PostPosted: Sun Apr 24, 2005 10:49 am    Post subject: Anyone working on understanding the 3D format ? Reply with quote

While we can basically add new ships based on exisitng templates/models, without knowledge of the 3D format used by Sh3 it's impossible to model a scratch built new ship.

I'd like to know if anyone is working on this aspect. Once the format is know it would ne quite easy to build an importer/exporter for a powerful, yet free 3D modeler like Milkshape.
Back to top
View user's profile Send private message
iambecomelife



Joined: 11 Apr 2005
Posts: 1047

PostPosted: Sun Apr 24, 2005 11:26 am    Post subject: Reply with quote

I think Sergbuto has managed to alter actual 3d models, but I don't know of anyone else. You'll have to ask him what programs he uses to create his models. Also, someone really needs to write a hex-editing tutorial for the game. I think you can make changes by fooling around with the dat and sim files in xvi32 and other freeware hex-editors, but whenever I try to do this I get CTD's. It's also extremely difficult to "clone" existing units without creating similar errors. I'm starting to wonder if the number of units in the game is hardcoded somewhere. Here's the thread where Sergbuto discusses the new unit he made: http://www.subsim.com/phpBB/viewtopic.php?t=32745
Back to top
View user's profile Send private message Send e-mail
msxyz



Joined: 31 Mar 2005
Posts: 485

PostPosted: Sun Apr 24, 2005 11:56 am    Post subject: Reply with quote

I believe that what he's doing ATM is to move/replace those "decorations" added to the basic hull of the ships such as funnels, turrets, guns etc.

ANyway, I've spent some time too looking at those mesh files with an hex editor, so far without extrapolating any useful information.
Back to top
View user's profile Send private message
sergbuto



Joined: 14 Sep 2002
Posts: 2530
Location: Sweden

PostPosted: Sun Apr 24, 2005 3:34 pm    Post subject: Reply with quote

msxyz wrote:
I believe that what he's doing ATM is to move/replace those "decorations" added to the basic hull of the ships such as funnels, turrets, guns etc.


That is correct. I have not looked at the 3d mesh section closely yet because I am concentrating efforts on the procedure of adding an independent new unit to the game. If this is not worked out most of the modelling work will be useless. I beleive lurbz has succeeded to extract 3d meshs from DAT files (see the link).
http://www.subsim.com/phpBB/viewtopic.php?t=33178&highlight=

In addition to the 3d format it is necessary to work out shadowing/reflection and audio issues which are in the same DAT file and have correct ZON, SIM, DSD files.
Back to top
View user's profile Send private message Send e-mail
lurbz



Joined: 02 Apr 2005
Posts: 33

PostPosted: Sun Apr 24, 2005 4:34 pm    Post subject: Reply with quote

I've been unable to work on it again until today, but I have made quite a few nice discoveries. Still lots of little details to figure out, and still real life is taking its toll, but a basic .DAT editing/extracting tool is in the works.

Last edited by lurbz on Sun Apr 24, 2005 4:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
msxyz



Joined: 31 Mar 2005
Posts: 485

PostPosted: Sun Apr 24, 2005 4:37 pm    Post subject: Reply with quote

Good news, indeed. I've just finshed posting a message in the other thread Ping
Back to top
View user's profile Send private message
sergbuto



Joined: 14 Sep 2002
Posts: 2530
Location: Sweden

PostPosted: Sun Apr 24, 2005 4:54 pm    Post subject: Reply with quote

Yes, that should make life easier. Thumbs Up
Back to top
View user's profile Send private message Send e-mail
iambecomelife



Joined: 11 Apr 2005
Posts: 1047

PostPosted: Mon Apr 25, 2005 8:40 am    Post subject: Reply with quote

quote]

I have not looked at the 3d mesh section closely yet because I am concentrating efforts on the procedure of adding an independent new unit to the game. If this is not worked out most of the modelling work will be useless.[/quote]

It seems completely arbitrary whether or not you are able to clone vessels. I successfully added a British version of the commerce raider but have had a lot of trouble using a similar process to create more merchant classes. It also seems impossinle to give most new units new names. This is especially annoying because I was hoping to produce merchants that varied a lot more in tonnage than the in-game ships.
Back to top
View user's profile Send private message Send e-mail
msxyz



Joined: 31 Mar 2005
Posts: 485

PostPosted: Tue Apr 26, 2005 9:05 am    Post subject: Reply with quote

Bump Damn I'm wasting my time trying to extract any mesh but without success.

If I could find a way to import export the meshes in an easily readable format (ie. 3ds) I could start redoing the awful skinning of the conning towers.

Lurbz: I've seen in the other thread you exported somehow the type IIA mesh. Did your method allowed also to preserve the texture coordinates ?
Back to top
View user's profile Send private message
lurbz



Joined: 02 Apr 2005
Posts: 33

PostPosted: Tue Apr 26, 2005 1:51 pm    Post subject: Reply with quote

Back then not, now yes Wink
Check your PMs
Back to top
View user's profile Send private message
msxyz



Joined: 31 Mar 2005
Posts: 485

PostPosted: Tue Apr 26, 2005 5:26 pm    Post subject: Reply with quote

Good. I'm not promising anything. I've got to finish my 100% redone campaign before this...

But the conning towers is something I really like to see redone for good.
Back to top
View user's profile Send private message
Beery



Joined: 09 Nov 2004
Posts: 2817
Location: Boston, MA, USA

PostPosted: Fri May 13, 2005 11:34 pm    Post subject: Reply with quote

I'm very interested in these developments also. The crew models need a bit of work because in my opinion they are the worst-modelled part of the sim. I sure hope we'll soon be able to play around with the game's 3D models.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group