Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TipmyPip, 7th_zorro), 879 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Importing Microsoft .x files issue #359508
02/18/11 02:41
02/18/11 02:41
Joined: Jan 2008
Posts: 4
Fort Worth
D
DavidF Offline OP
Guest
DavidF  Offline OP
Guest
D

Joined: Jan 2008
Posts: 4
Fort Worth
I'm having problems importing Microsoft .X files into MED. I tried with A7 MED (version 6.907) and the new A8, but no luck. The 3D models are disfigured. I have the A7 Commercial version.

When the model is viewed with the DirectX Viewer application from Microsoft, the model appears normally.

Any suggestions or ideas? Thanks.

Re: Importing Microsoft .x files issue [Re: DavidF] #359563
02/18/11 15:42
02/18/11 15:42
Joined: Nov 2003
Posts: 523
Whitehorse, Yukon, Canada
Paul_L_Ming Offline
User
Paul_L_Ming  Offline
User

Joined: Nov 2003
Posts: 523
Whitehorse, Yukon, Canada
Hiya.

Could you provide a test model for us to try? Or, if it's commercially bought, which and where (one of us may have it)?

First guess...the version of .x is to blame. So you could save a .x model for DX9, and when you went to open it in a DX7 app it would be screwed up. I believe A7 uses DX8...so a model other than a DX8 model in .x format may have issues. Does the DirectX Viewer app let you resave models into different DX versions? If so, try doing that for DX6 through DX9 (or maybe even DX10) and test each one.


^_^

"We've got a blind date with destiny...and it looks like she's ordered the lobster."

-- The Shoveler

A7 Commercial (on Windows 7, 64-bit)
Re: Importing Microsoft .x files issue [Re: Paul_L_Ming] #359691
02/19/11 07:03
02/19/11 07:03
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I believe he tried to convert weapon (or other) models from FPS creators pack.
I'm having same problem with converting .x models into .mdl via MED (even tried with fragMOTION) but no luck.
And the strangest thing is, that you will can convert some of the models, but most of them mixed up...


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Importing Microsoft .x files issue [Re: 3run] #359736
02/19/11 09:27
02/19/11 09:27
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Why convert it, try to load directly by eg: you = ent_create("tiger.x",0,0); (tiger.x from sample folder)


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: Importing Microsoft .x files issue [Re: rojart] #359743
02/19/11 11:06
02/19/11 11:06
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Does GS support .x models? grin
BTW, even so, animations are named by one name "frame".


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Importing Microsoft .x files issue [Re: 3run] #360592
02/25/11 08:23
02/25/11 08:23
Joined: Jan 2008
Posts: 4
Fort Worth
D
DavidF Offline OP
Guest
DavidF  Offline OP
Guest
D

Joined: Jan 2008
Posts: 4
Fort Worth
@3run, "I believe he tried to convert weapon (or other) models from FPS creators pack."

Yes. From DarkGDK/DarkMatter 1. The Fighter jet, soldier, and tank. The fighter jet imports almost correctly; only the landing gears have problems. But the tank imports with the turret beneath the main body, and the soldier imports with the head and arms inside the chest.

@rojart, "Why convert it, try to load directly by eg: you = ent_create("tiger.x",0,0);"

Well I was trying to view the models in the MED before attempting to load them as I wanted to see whether or not they would load correctly.

@Paul_L_Ming

I will try to import them in another DirectX viewer and export them. I believe the DirectX viewer I was using was from the DirectX SDK from August 2007.

Re: Importing Microsoft .x files issue [Re: DavidF] #360594
02/25/11 08:30
02/25/11 08:30
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I have the same problem (but only with weapons), characters are imported normally for me. I only had some problems with model's origin.
Did u try to load .x file directly in to the engine (I'm not sure will it work, never tried).
Please, if u'll find the way to figer this out, post it laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Importing Microsoft .x files issue [Re: 3run] #360604
02/25/11 10:32
02/25/11 10:32
Joined: Jan 2008
Posts: 4
Fort Worth
D
DavidF Offline OP
Guest
DavidF  Offline OP
Guest
D

Joined: Jan 2008
Posts: 4
Fort Worth
Well, some progress.

In the Microsoft DirectX SDK there is a MeshConverter.exe located in C:\Program Files\Microsoft DirectX SDK (June 2010)\Utilities\Bin\x86\

I copied the MeshConverter.exe to a folder with the .x files. Then I ran this command: meshconvert /x H-Iraq-Idle.x /o Iraq-Idle-Bin.x

(The /x switch is to make a binary .x file while the /xt switch is to make a text .x file. MED read both the binary and text versions fine.)

The MED was able to read the .X (binary) file and I exported to a MDL type. WED read the MDL file but GED crashed when trying to load it for some reason.

I also tried the command: meshconvert /x /a H-Iraq-Idle.x /o Iraq-Idle-Bin-Anim.x

The /a switch is supposed to export the animation, but MED didn't seem to import the animation frames.


Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1