Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#2673033 - 02/15/09 05:03 AM Gunship! .3db to Wavefront.obj?  
Joined: Feb 2005
Posts: 223
samovar6 Offline
Member
samovar6  Offline
Member

Joined: Feb 2005
Posts: 223
Canaduh
Last week, I was messing around with the UH-60 model because it has a few minor flaws.

Today, I wrote a utility to convert MicroProse native .3dbs to Wavefront.objs just so I could see what was going on in it.

Unfortunately, .3dbs use n-gons, and a lot of 3d-modelling programs can only handle triangles.

MilkShape, for instance, is a triangle-based program. Here's the Blackhawk in MilkShape:



Look okay, but the element numbering gets altered because MilkShape converts quads, quints, etc. into to a series of triangles.

Essentially, that means that a model exported from MS would be useless as far as GS is concerned. Most 3D modelling progs don't create rendering sequences, and MilkShape is no exception.

If you only wanted to move a few points a small amount, a MilkShape text dump might be useful, as long as you were up to some hexing on the original file.

I could probably fix the conversion utility a bit as far as multi-textures are concerned, but, as always, the main bugaboo is the RS. Once the element numbers get changed, the original RS is hooped. Where's WB when we need him?

And why post this?

Well, if anyone's interested in this sort of thing, I'll pursue it. If not, I'll continue the household renovations.

Installing doorknobs can be fun!

According to what I've been told, anyway.



Last edited by samovar6; 02/17/09 12:48 AM. Reason: Coarse language. More illustrative pic.
Inline advert (2nd and 3rd post)

#2673240 - 02/15/09 05:31 PM Re: Gunship! .3db to Wavefront.obj? [Re: samovar6]  
Joined: May 2001
Posts: 5,462
Polak Offline
Hotshot
Polak  Offline
Hotshot

Joined: May 2001
Posts: 5,462
New York, NY
That is hell of the achievement you got there.

Exporting 3db to anything "civilised" WITH the textures may make someone to try recover GS vehicle and armament 3D database to use somewhere else. So far I knew how to make the conversion to 3DS but without mapping coordinates and therefore no textures.

But RS is a real bxtch here and any slip in changing sequence can put the head in between the legs of any decent and self respecting 3db.

#2674209 - 02/17/09 01:28 AM Re: Gunship! .3db to Wavefront.obj? [Re: Polak]  
Joined: May 2001
Posts: 5,462
Polak Offline
Hotshot
Polak  Offline
Hotshot

Joined: May 2001
Posts: 5,462
New York, NY
Samovar6,
I am interested in this conversion utility. Post somewhere please. Thank you.

#2677096 - 02/21/09 02:48 AM Re: Gunship! .3db to Wavefront.obj? [Re: Polak]  
Joined: Feb 2005
Posts: 223
samovar6 Offline
Member
samovar6  Offline
Member

Joined: Feb 2005
Posts: 223
Canaduh
Hi, Polak,

You’re probably interested in that utility because I didn’t explain things very well when beginning this thread.

The program is very quick&dirty. Perhaps I’ll tidy it up in a week or two if time permits.

I get the impression that it’s your intention to convert GS .3dbs to .objs for use in another game. There are two things wrong with this:

Firstly, such an action would be a violation of your EULA with Hasbro/Infogrames/Atari. Karaoke-addicted Atari lawyers may prevent you from sleeping by appearing outside your door to sing Alien Ant Farm’s version of "Smooth Criminal“ incessantly. Or they may threaten to pour scalding chicken broth on your houseplants.

Secondly, the program will only convert native .3dbs. Those are the hi-res helos and their parts, some of the buildings (the big “block“ models), and maybe a few other things.

Models that were originally built in the .3dz format and then later converted to .3db via 3dzread.exe are slightly different in structure from native .3dbs, and the utility can’t digest them. The vast majority of .3dbs fall into this category.

Other nuisances:
No support is provided for multi-texturing. An .obj file created with the program will only reference a single texture. The coordinates for other textures will be intact, but you’d have to manually regroup the mis-textured faces in a modelling program, and then assign the correct textures to them.

A .3db containing polys with more than 12 sides will output either a garbage file, or nothing at all.

Check your PMs for more gobbledygook.

Cheers!

Last edited by samovar6; 02/21/09 03:29 AM. Reason: Couldn't spell "PMs" correctly.
#2677734 - 02/22/09 12:28 PM Re: Gunship! .3db to Wavefront.obj? [Re: samovar6]  
Joined: May 2001
Posts: 5,462
Polak Offline
Hotshot
Polak  Offline
Hotshot

Joined: May 2001
Posts: 5,462
New York, NY
Quote:
I get the impression that it’s your intention to convert GS .3dbs to .objs for use in another game. There are two things wrong with this:


Hi samovar6,

THREE things wrong with this... no really intention to convert anything.
BTW conversion of 3db to 3ds was available circa 1995.

So, I guess, Atari lawyers may continue their mummy hibernation in Company provided cryogenic chambers and we can still share happily kiddie scary stories about them.

Thank you for all your efforts.

#3678451 - 11/09/12 04:32 AM Re: Gunship! .3db to Wavefront.obj? [Re: samovar6]  
Joined: Apr 2004
Posts: 3,942
453Raafspitty Offline
Senior Member
453Raafspitty  Offline
Senior Member

Joined: Apr 2004
Posts: 3,942
Australia,Sandstone Point
There was someone mucking around with it but dont know what..

#3682026 - 11/14/12 07:08 PM Re: Gunship! .3db to Wavefront.obj? [Re: samovar6]  
Joined: Feb 2005
Posts: 223
samovar6 Offline
Member
samovar6  Offline
Member

Joined: Feb 2005
Posts: 223
Canaduh
Sorry, gentlemen, I can’t find that program. Dunno what happened to it.

#3682506 - 11/15/12 09:15 AM Re: Gunship! .3db to Wavefront.obj? [Re: samovar6]  
Joined: Apr 2004
Posts: 3,942
453Raafspitty Offline
Senior Member
453Raafspitty  Offline
Senior Member

Joined: Apr 2004
Posts: 3,942
Australia,Sandstone Point

#4559983 - 03/14/21 07:11 PM Re: Gunship! .3db to Wavefront.obj? [Re: samovar6]  
Joined: Apr 2016
Posts: 4
KZ3D Offline
Junior Member
KZ3D  Offline
Junior Member

Joined: Apr 2016
Posts: 4
I have finished my

- MicroProse (Gunship!) *.3db
- MicroProse (European Air War; Fleet Defender Gold; Gunship!) *.3dz

loader modules and I have released the 3D Object Converter v7.045 as web updates:

How to get the 3D Object Converter v7.045:
Download the 3D Object Converter from 3doc.i3dconverter.com and install it or download and use the portable version.
After it just use the Help/Check for updates... function to get the v7.045.


Turn on the Draw / Show back-facing geometry to get the correct view.


Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
10 Years ago MV Sewol
by wormfood. 04/15/24 08:25 PM
Pride Of Jenni race win
by NoFlyBoy. 04/15/24 12:22 AM
It's Friday: grown up humor for the weekend.
by NoFlyBoy. 04/12/24 01:41 PM
OJ Simpson Dead at 76
by bones. 04/11/24 03:02 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0