.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   .x Model fun and samples.. (http://forum.shrapnelgames.com/showthread.php?t=31855)

David E. Gervais November 16th, 2006 11:54 AM

.x Model fun and samples..
 
1 Attachment(s)
Hi,

I was wondering if a .x model can be comprised of multiple objects. If for example I have a simple engine mesh (see the attached file for a .x and texture map sample) can I then make a basic body, and wing and somehow glue them together to make a single model? Or will .x accept a 'grouping' of objects?

Just trying to wrap my head arounf some ways to make low ploy ship parts that can perhaps be used to make different variations. (the engine naccel sample attached for example seems to my eye to work on its side, upwards or flipped and eacj rotation gives a diferent feel to the design.)

EDIT: Here are some renders for reference..

http://i48.photobucket.com/albums/f2...e_Sample01.jpg http://i48.photobucket.com/albums/f2...e_Sample02.jpg
http://i48.photobucket.com/albums/f2...e_Sample03.jpg http://i48.photobucket.com/albums/f2...e_Sample04.jpg

comments welcome, thanks.

Cheers! http://forum.shrapnelgames.com/images/smilies/happy.gif

P.S. I'm aware that Doga used a building block type method of assembling parts, but the parts are not textured. I think there might be an interest in pre textured generic parts.

Suicide Junkie November 16th, 2006 11:58 AM

Re: .x Model file question..
 
There is no reason you can't have discontinuous objects such as a "cone floating above a square". The only question is how easy it is in your editor to import two source files, arrange the stuff, and then save to .X format.

David E. Gervais November 16th, 2006 01:55 PM

Re: .x Model file question..
 
1 Attachment(s)
Just so you know exactly where I'm heading,.. here is the wing object (.x file and texture attached)

http://i48.photobucket.com/albums/f2...g_Sample01.jpg

Note: Both the engine and wing are basically distorted/reshaped boxes so they each have 12 poly count. So, with 2 wings, 2 engines, a body section and nose the total poly count for a basic model would be 72 polys. lots of room to add more parts.

Cheers! http://forum.shrapnelgames.com/images/smilies/happy.gif

DingBat November 16th, 2006 02:57 PM

Re: .x Model file question..
 

I'd guess the main question is how hard is the limit on a 256x2 texture map for ships?

How big are the textures your showing here? They look pretty detailed so I'm thinking at least 256x2 each. One each for wing, engine, body, and nose and you're up to 512x2. What will the game do if you try to use that?

If it works, I'm definitely dumping my model and starting over doing the same thing you are.

shinigami November 16th, 2006 04:18 PM

Re: .x Model file question..
 
Just tested. Neither directx nor the game engine mind if you use two separate objects in an .x file so, by extension, you should be able to use more.

I'll check on multiple tex maps and post again to let you know.

Edit: Mupltiple tex maps are not a problem either!

If I might toss out a suggestion, if your going to do this, why not include a blank texture template for the parts? That way those who would wish to do their own textures would be able to without problem.

David E. Gervais November 16th, 2006 05:32 PM

Re: .x Model file question..
 
the texture maps are 256x256 but I'm sure if I reduce them to 128x128 they will retain enough detail for the game. it's not like you see the ships up in your face too often.

doing more tests, I'll keep you posted

Cheers! http://forum.shrapnelgames.com/images/smilies/happy.gif

Randallw November 16th, 2006 08:32 PM

Re: .x Model file question..
 
I tried making a basestar but in the xfile viewer it comes out looking like 2 triangles. Also how can I add a texture?. I am using wings at the moment with xfile module.

http://i72.photobucket.com/albums/i1...6/basestar.jpg

David E. Gervais November 23rd, 2006 06:28 AM

Re: .x Model file question..
 
Ok, I learnt a few things about texture mapping, I'm posting this 'before' sample where the entire object is given a texture without the benefit of a UV map. I'll make a second version once mapped.

http://i48.photobucket.com/albums/f2.../ShipShape.jpg

This ship has 170 poly count, not bad I think. Comments on the design are welcome..

Cheers! http://forum.shrapnelgames.com/images/smilies/happy.gif

EDIT: Here is my first practice run on the texturing, not bad, but I still have many more tweaks to do.

http://i48.photobucket.com/albums/f2...ShipShape2.jpg

Cheers! v2.0 http://forum.shrapnelgames.com/images/smilies/happy.gif

David E. Gervais November 23rd, 2006 07:25 PM

Re: .x Model file question..
 
1 Attachment(s)
Here it is in final form..


http://i48.photobucket.com/albums/f2...hip_Sample.jpg

Attached is the .zip with the .x file and texture map.

Cheers! http://forum.shrapnelgames.com/images/smilies/happy.gif

Edit: Oh and this final version has a 132 ploy count, not too shabby eh?

Timstone November 24th, 2006 11:27 AM

Re: .x Model file question..
 
Great model David!
I don't like the bright red, but the model is cool. http://forum.shrapnelgames.com/images/icons/icon14.gif


All times are GMT -4. The time now is 07:39 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.