Difference between revisions of "Converter"
(added compilation) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | Back to [[blendermodelling|Modelling with Blender]] | |
− | == Converter ( | + | == Converter (Glexemel) == |
+ | [[Glexempel_under_windows|Guide to use Glexemel under Windows]] | ||
− | [http://www.glest.org/files/contrib/tools/ | + | [http://www.glest.org/files/contrib/tools/ Glexemel download at www.glest.org ] |
− | The converter is needed to create .g3d-files from the xml-files from the [[exportscript]]. | + | The converter is needed to create .g3d-files from the .xml-files from the [[exportscript]]. |
Compile: | Compile: | ||
Line 11: | Line 12: | ||
Install packages 'libxml2' + 'libxml2-dev' + 'build-essential' | Install packages 'libxml2' + 'libxml2-dev' + 'build-essential' | ||
− | Unpack the | + | Unpack the Glexemel archive. |
Rename 'Makefile.linux' to 'Makefile' | Rename 'Makefile.linux' to 'Makefile' | ||
(Inside Makefile are a few settings. go and look at them, maybe you want to edit them ) | (Inside Makefile are a few settings. go and look at them, maybe you want to edit them ) | ||
Now open command line, 'cd' to the directory and run command 'make' | Now open command line, 'cd' to the directory and run command 'make' | ||
− | It should compile | + | It should compile all right. Binaries appear in the directory |
Run 'make install' as ROOT to complete the setup | Run 'make install' as ROOT to complete the setup | ||
Usage: | Usage: | ||
− | * | + | * You'll need the binary xml2g(.exe) and the g3d.dtd-file which has to be in the current directory. |
− | * | + | * The xml-file you want to convert must be in the current directory. |
* execute xml2g <xml-in_file> <g3d-out_file> | * execute xml2g <xml-in_file> <g3d-out_file> | ||
− | * | + | * Now you'll have a working g3d-file. |
If there are errors, your model is white, only parts are visible or it's not animating, | If there are errors, your model is white, only parts are visible or it's not animating, | ||
it was probably not prepared well before exporting from blender | it was probably not prepared well before exporting from blender | ||
− | ( | + | (See [[exportscript]]) |
Revision as of 19:04, 9 September 2008
Back to Modelling with Blender
Converter (Glexemel)
Guide to use Glexemel under Windows
Glexemel download at www.glest.org
The converter is needed to create .g3d-files from the .xml-files from the exportscript.
Compile:
Install packages 'libxml2' + 'libxml2-dev' + 'build-essential'
Unpack the Glexemel archive. Rename 'Makefile.linux' to 'Makefile' (Inside Makefile are a few settings. go and look at them, maybe you want to edit them )
Now open command line, 'cd' to the directory and run command 'make' It should compile all right. Binaries appear in the directory Run 'make install' as ROOT to complete the setup
Usage:
- You'll need the binary xml2g(.exe) and the g3d.dtd-file which has to be in the current directory.
- The xml-file you want to convert must be in the current directory.
- execute xml2g <xml-in_file> <g3d-out_file>
- Now you'll have a working g3d-file.
If there are errors, your model is white, only parts are visible or it's not animating, it was probably not prepared well before exporting from blender (See exportscript)