1 | ------------------------------------------------------------------------------- |
---|
2 | README |
---|
3 | ------------------------------------------------------------------------------- |
---|
4 | |
---|
5 | This source file is part of OgreColladaPlugin |
---|
6 | an addon for OGRE (Object-oriented Graphics Rendering Engine) |
---|
7 | For the latest info, see http://www.ogre3d.org/ |
---|
8 | |
---|
9 | Copyright (C) 2006 Philipp Hartl |
---|
10 | http://www.philipp.h.bkf.at/OgreColladaPlugin |
---|
11 | |
---|
12 | This program is free software; you can redistribute it and/or modify it under |
---|
13 | the terms of the GNU Lesser General Public License as published by the Free Software |
---|
14 | Foundation; either version 2 of the License, or (at your option) any later |
---|
15 | version. |
---|
16 | |
---|
17 | This program is distributed in the hope that it will be useful, but WITHOUT |
---|
18 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
---|
19 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
---|
20 | |
---|
21 | You should have received a copy of the GNU Lesser General Public License along with |
---|
22 | this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
---|
23 | Place - Suite 330, Boston, MA 02111-1307, USA, or go to |
---|
24 | http://www.gnu.org/copyleft/lesser.txt. |
---|
25 | |
---|
26 | ------------------------------------------------------------------------------- |
---|
27 | directories |
---|
28 | ------------------------------------------------------------------------------- |
---|
29 | |
---|
30 | working_dir |
---|
31 | bin |
---|
32 | *.dll *.lib debug and release version |
---|
33 | docs |
---|
34 | introduction and doxygen |
---|
35 | include |
---|
36 | *.h |
---|
37 | misc |
---|
38 | *.def |
---|
39 | obj |
---|
40 | *.obj and debug database |
---|
41 | src |
---|
42 | *.cpp |
---|
43 | |
---|
44 | ------------------------------------------------------------------------------- |
---|
45 | development and requirements |
---|
46 | ------------------------------------------------------------------------------- |
---|
47 | |
---|
48 | Windows: |
---|
49 | |
---|
50 | This project was created with VS 7.1 under Windows. |
---|
51 | |
---|
52 | need \include and \lib directories of |
---|
53 | |
---|
54 | OGRE_HOME ... env variable of Ogre SDK or ogrenew |
---|
55 | LIBXML_HOME ... env variable of libxml2 |
---|
56 | |
---|
57 | Libraries: |
---|
58 | Ogre: OgreMain(_d).lib |
---|
59 | Libxml: libxml2.lib |
---|
60 | |
---|
61 | Linux: |
---|
62 | |
---|
63 | The Linux build system uses autotools. It was developed on a machine with |
---|
64 | these versions: |
---|
65 | |
---|
66 | autoconf 2.60 |
---|
67 | automake 1.9.6 |
---|
68 | libtool 1.5.22 |
---|
69 | |
---|
70 | To build: |
---|
71 | |
---|
72 | ./bootstrap.sh |
---|
73 | ./configure |
---|
74 | make |
---|
75 | |
---|
76 | To run the demo, you need to install the plugin (as root): |
---|
77 | |
---|
78 | make install |
---|
79 | |
---|
80 | And, since the plugins.cfg file has been checked into CVS with a capital letter, |
---|
81 | you need to fix that: |
---|
82 | |
---|
83 | cd demo/bin/Debug |
---|
84 | cp Plugins.cfg plugins.cfg |
---|
85 | |
---|
86 | You will also need to plugins.cfg to take out the Direct3D renderer. |
---|
87 | |
---|
88 | Then you should be ready to go: |
---|
89 | |
---|
90 | ./ColladaDemo |
---|
91 | |
---|
92 | ------------------------------------------------------------------------------- |
---|
93 | libxml (iconv) |
---|
94 | ------------------------------------------------------------------------------- |
---|
95 | |
---|
96 | For further details visit http://www.xmlsoft.org |
---|
97 | |
---|
98 | Maya uses a self-precompiled version of libxml2-2.6.19 (and above) without |
---|
99 | ivonv (it is used for character encoding). |
---|
100 | They have set the makro LIBXML_ICONV_ENABLED 0 in xmlversion.h and linked the |
---|
101 | library statically into their plugin with LIBXML_STATIC. |
---|
102 | |
---|
103 | There is no problem to use libxml2 with iconv enabled dynamically. So you |
---|
104 | need to set the paths for include and library directories in your development |
---|
105 | IDE. |
---|