Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / DXZMirror - A Conversion Utility for XSI 6 Mod Tool DirectX Exported Files

Author
Message
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 25th Aug 2007 23:08 Edited at: 2nd Sep 2007 22:09
Those of you using XSI 6 Mod Tool, and exporting scenes/models to DirectX may have noticed a slight problem with your exported files, they don't conform to DX Specification with regard to the Z axis. XSI scenes use Z+=forward, where DX (and DBP/DGDK) use Z-=forward, but the XSI built-in DX exporter doesnt account for this inversion.

I have written a utility that reads in your xsi dx exported files and converts the z axis data to DX/DBP/DGDK specs. The current version of this utility corrects Positions, Geometry, Normals, and SRT Based animations data, but does not yet deal Texturing (that is to follow). If you'd like to test this utility against your xsi 6 mod tool dx exported .x files, then download the app from my sig link.

Let me know if you spot anything wrong or have any problems.

Important:
-.NET Framework 2.0 or higher is required to run this app.
-Please read the brief usage notes information that is included (either by way of txt file itself, or by using the app's Help menu). It contains information about what settings should be used during the xsi dx export process, as well as other general usage info

EDIT: In XSI you need to Freeze All Transforms before the dx export. If not, after the dxzm is run you could see weird rotation problems on objects that were rotated in the xsi scene. Applying the freeze all transforms before the dx export from xsi will correct this issue.

Thanks for any feedback you can provide

EDIT: added support for SRT based animations, removed attached zip file, download the latest version of the app by clicking my sig link

My DBP plugins page is now hosted [href]here[/href]
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 26th Aug 2007 02:25
It seems DXZMirror is also compatible with SoftImage XSI 4.2 DX Exports as well, but I have not extensively tested it. So if you have either version (4.2 or 6) of the XSI Mod Tool and you can test this out, that would be great.

thanks -cr

My DBP plugins page is now hosted [href]here[/href]
Seppuku Arts
Moderator
19
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 26th Aug 2007 02:57
Sweet, I'll try it out when I need it...cheers for that CR.

Hakuna Matata
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 26th Aug 2007 05:15


My DBP plugins page is now hosted [href]here[/href]
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 27th Aug 2007 01:15
Downloaded and keeping this, nice one CR.

A book? I hate book. Book is stupid.
(Formerly Yellow)
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 27th Aug 2007 02:18
Thanks MikeS, I'll post as I update the util over time.
Ive tried it with a few things today and so far everything looks cool, and looks good in dgdk.net

now if I could just sort out why I cant bend an object in xsi i'd be happy

My DBP plugins page is now hosted [href]here[/href]
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 27th Aug 2007 17:54 Edited at: 27th Aug 2007 19:25
Just noticed a weird rotation problem but it is solved in xsi...

In XSI you need to Freeze All Transforms before the dx export. If not, after the dxzm is run you could see weird rotation problems on objects that were rotated in the xsi scene. Applying the freeze all transforms before the dx export from xsi will correct this issue.

I'm posting this here incase you already downloaded the app - this issue is not mentioned in the app usage notes (but adding now).

My DBP plugins page is now hosted [href]here[/href]
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st Sep 2007 03:21 Edited at: 2nd Sep 2007 22:09
update 1.0.0.1

added the ability for the app to retain the last path you selected a file from, so you needn't keep drilling to a folder over and over for more than one file. The path is retained between sessions as well.

just unzip this over the location where you unzipped the first version.

My DBP plugins page is now hosted [href]here[/href]
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd Sep 2007 22:12
Update 1.0.0.2

DXZMirror now supports conversion of SRT Based AnimationKey data (woohoo ). For this and all future versions of dxzmirror you can download it from my dbp web page. (click the link in my sig)

cheers
out.

My DBP plugins page is now hosted [href]here[/href]
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 3rd Sep 2007 20:06
Update 1.0.0.3

Same functionality as 1.0.0.2, but had to correct a bug in the code that determines what type of animation is in the current AnimationKey { block of data thats being evaluated.

I wasnt properly using the DX AnimationKey KeyType enumeration value, so a problem could have occurred where the app would not know if it was looking at Translate anims, or Scale anims (yikes!)
The problem is corrected in 1.0.0.3



My DBP plugins page is now hosted [href]here[/href]
Redmotion
21
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Mmm mmm.. Marmite
Posted: 7th Sep 2007 13:17
Wow. Fast progress!

I've just come back off holiday so I'll try to give this a test in the next few days.

Thanks again for the hard work, CR!

CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 7th Sep 2007 15:08 Edited at: 7th Sep 2007 17:40
thanks I was wondering where you got to, lol

I have added drag and drop ability so you can drop x files on the main window instead of using the dialog if you like, but have not released that version (1.0.0.4) yet because I am also working on the texture coords part of the app now (1.0.0.5)

ill keep ya posted.

EDIT: actually I did post version 1.0.0.4 on my web page, just never posted here about it. If you want the drag and drop enabled version, grab .04 from my dbp web page

My DBP plugins page is now hosted [href]here[/href]
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 7th Sep 2007 21:38
attaching 1.0.0.4 here since my isp hosted page took a crap - again!

this is most likely the final version of this app (barring any bug fixes that may arise) since it will be impossible to support all possible texturing scenarios.

My DBP plugins page is now hosted [href]here[/href]

Attachments

Login to view attachments
Redmotion
21
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Mmm mmm.. Marmite
Posted: 8th Oct 2007 00:29 Edited at: 8th Oct 2007 00:30
Hi CR, Sorry for the delay, I've finally had a chance to test your convertor.

I bought Unwrap 3d at the weekend, as it works well as a file convertor. However, I've noticed that even DX files exported from this program come in flipped (unless you check the flip handedness checkbox).

Anyway, I exported the file without fliphandedness option in order to test your convertor. I'm afraid to say that it doesn't load into DBPro and while it is being converted I get an error comeup. Perhaps you can use these files to find the bug.

Cheers and good luck.

Attachments

Login to view attachments
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 8th Oct 2007 23:09
did you try converting the file from xsi thru dxzm first, then bring the file into your unwrap app?

My DBP plugins page is now hosted [href]here[/href]
Redmotion
21
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Mmm mmm.. Marmite
Posted: 9th Oct 2007 09:31
Ok. I did that now and works straight from XSI. Nice one!

(When using Unwrap 3d, I noticed that the mesh comes from XSI to Unwrap the correct way round but the UVs are screwed - luckily Unwrap can fix this and smooth the polygons in about 3 clicks. So I would say it was another indespensible tool for correcting the issues with XSI exporting.)

Another thing, in XSI when exporting animated characters you need to set the timeline endframe to the end of all the animations before exporting as otherwise it won't be exported.

CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 9th Oct 2007 14:53
glad its working thanks for the additional info, and for testing the converter.

My DBP plugins page is now hosted [href]here[/href]

Login to post a reply

Server time is: 2024-03-19 11:33:44
Your offset time is: 2024-03-19 11:33:44