Another .x blender Export Script

A forum to store posts deemed exceptionally wise and useful
Post Reply
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Another .x blender Export Script

Post by afecelis »

V 2.42 compatible.

Info here:
http://blenderartists.org/forum/showthread.php?t=73602

DL here:
http://24.240.192.29/blender/xFileExporter242.zip

Vermeer? Vermeer? r u there? :wink:
finger007

Post by finger007 »

ooooohhhh!!!

this is GREAT news!

/me downloads and tries ...

Thanks for the link, afecelis!
finger007

Post by finger007 »

And another brave programmer who tries to improve Ben's script :)
Just browsed the source and it looks interesting.
I hope this will eventually solve some more issues on .x .
Giving it a try tonight!
Lideln
Posts: 79
Joined: Sat Jun 24, 2006 11:35 am
Location: Paris, France

Post by Lideln »

Hi there ! :)

I've tried the exporter and... It works ! :lol:
Thanks a lot for this precious tool !

But I have 2 questions :oops:
1) Why is my object rotated ? (its a tree and when exported, it is lying on the ground, not standing)
2) I get this error in irrlicht :

Code: Select all

Unknown data object in x file: AnimTicksPerSecond
If someone can help... ?

Thank you, have a great evening ! :)

Lideln
--
Lideln, France
finger007

Post by finger007 »

1) Why is my object rotated ? (its a tree and when exported, it is lying on the ground, not standing)
You most likely forgot to switch the up-axis to "Y is up" (there is a button in the exporter's interface).

As to your second question I'm not sure since i rarely use animation. Try to play around with the methods for different ways to export your animation.
If it still does not work, feel free to contact me (pm or visit irc) and let me have a try with your file.

Cheers,
finger007
evo
Posts: 96
Joined: Mon Jun 27, 2005 6:46 pm
Location: The Netherlands

Post by evo »

Lideln wrote:Hi there ! :)

2) I get this error in irrlicht :

Code: Select all

Unknown data object in x file: AnimTicksPerSecond
You can get rid of this warning by deselecting the <Speed> button in the script window.


In general this is a great modification of the export-script. Thanks for the link afecelis.

I have found 2 problems in the script's use.
1 - I could not use the <Anim> button at first. Apparently no 3d windows found. Even when I have four 3d windows active. This was easily fixed by changing line 229 to: >=0

2 - Second problem was an error when loading an .x file in irrlicht:
Unknown data object in material list in x file: ;;
At the end of the MeshMaterialList there is one semicolon to much.
I fixed this by changing lines 1018 and 1020. Remove one of the semicolon's.
finger007

Post by finger007 »

Thanks evo for sharing your changes in the exporter file.
This will help A LOT of people :)

Cheers,
finger007
Post Reply