Page 1 of 1

Another .x blender Export Script

Posted: Thu Aug 10, 2006 4:04 pm
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:

Posted: Fri Aug 11, 2006 11:06 am
by finger007
ooooohhhh!!!

this is GREAT news!

/me downloads and tries ...

Thanks for the link, afecelis!

Posted: Fri Aug 11, 2006 11:10 am
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!

Posted: Tue Oct 24, 2006 6:56 pm
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

Posted: Wed Oct 25, 2006 4:37 am
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

Posted: Wed Oct 25, 2006 9:53 pm
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.

Posted: Thu Oct 26, 2006 12:21 pm
by finger007
Thanks evo for sharing your changes in the exporter file.
This will help A LOT of people :)

Cheers,
finger007