source: OGRE/trunk/ogrenew/Tools/MilkshapeExport/ReadMe.html @ 657

Revision 657, 5.6 KB checked in by mattausch, 19 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2        <head>
3                <title>OGRE Readme</title>
4                <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5                <STYLE TYPE="text/css"> <!-- .MainHeader { font-weight: bold; color: #FFFF33; background-color: #006600; font-size: 10pt}
6        body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #CCFFCC; background-color: #003300}
7        .BorderHeader { background-color: #999900; font-size: 8pt; font-weight: bold; color: #333300; text-align: center}
8        .MainContent { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #CCFFCC }
9        .BorderContent { font-size: 8pt; color: #66CC33; border-color: black #666600 #666600; padding-top: 2px; padding-right: 2px; padding-bottom: 10px; padding-left: 2px; margin-bottom: 2px; border-style: solid; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
10        a:link { color: #FFFF00; text-decoration: underline}
11        a:hover { color: #FFFFFF; text-decoration: underline}
12        a:visited { color: #FFCC66; text-decoration: underline}
13        li { color: #66CC33; list-style-type: circle; position: relative; left: -15px; clip: rect( )}
14        .NewsDate { color: #CCFFCC; font-weight: bold}
15        td { font-size: 10pt}
16        th { font-size: 10pt}
17        .Annotation { font-size: 10px}
18        H1 { text-align: center; }
19        A.qindex {}
20        A.qindexRef {}
21        A.el { text-decoration: none; font-weight: bold }
22        A.elRef { font-weight: bold }
23        A.code { text-decoration: none; font-weight: normal; color: #4444ee }
24        A.codeRef { font-weight: normal; color: #4444ee }
25        DL.el { margin-left: -1cm }
26        DIV.fragment { width: 100%; border: none; background-color: #003300 }
27        DIV.ah { background-color: black; margin-bottom: 3; margin-top: 3 }
28        TD.md { background-color: #006600 }
29        DIV.groupHeader { margin-left: 16; margin-top: 12; margin-bottom: 6; font-weight: bold }
30        DIV.groupText { margin-left: 16; font-style: italic; font-size: smaller }
31        FONT.keyword { color: #008000 }
32        FONT.keywordtype { color: #999920 }
33        FONT.keywordflow { color: #e0FF00 }
34        FONT.comment { color: #009900 }
35        FONT.preprocessor { color: #809020 }
36        FONT.stringliteral { color: #002080 }
37        FONT.charliteral { color: #008080 }
38        H3 { FONT-FAMILY: trebuchet ms,helvetica,arial }
39        .ex { FONT-SIZE: 8pt; FONT-FAMILY: tahoma }
40        CODE.keywordtype { COLOR: #00ccff }
41        CODE.keyword { FONT-WEIGHT: bold; COLOR: #00ccff }
42        CODE.fn { COLOR: white; FONT-WEIGHT: bold; }
43        CODE.var { COLOR: #dcdcdc; }
44        CODE.macro { COLOR: #809020; FONT-WEIGHT: bold; }
45        CODE.comm { COLOR: lime }
46        CODE.num { COLOR: purple }
47        CODE.str { COLOR: #ffcc33; font-style: italic }
48        .SectionHeader { font-size: 14px; color: #FFFFCC; font-weight: bold}
49        .header { font-size: 16px; font-weight: bold; color: #FFFFCC}
50        --></STYLE>
51        </head>
52        <body bgcolor="#ffffff" text="#000000">
53<p align="center" class="header">OGRE (Object-Oriented Graphics Rendering Engine)</p><p align="center" class="header">Milkshape
54Exporter README file</p><p align="center" class="header"><A HREF="http://www.ogre3d.org">http://www.ogre3d.org</A></p><p align="left" class="MainHeader">Summary</p><p>OGRE
55(Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine
56written in C++ designed to make it easier and more intuitive for developers to
57produce games and demos utilising 3D hardware. The class library abstracts all
58the details of using the underlying system libraries like Direct3D and OpenGL
59and provides an interface based on world objects and other intuitive classes.
60</p><p>This distribution contains the bare files required to export OGRE .mesh
61files from the shareware modelling tool <A HREF="http://www.milkshape3d.com">Milkshape3d</A>.</p><p align="left" class="MainHeader">How
62to Install</p><P>If you are using the prebuilt archive, just extract it into the
63folder you installed Milkshape3D into (e.g. C:\Program Files\Milkshape3d). If
64you are building the exporter yourself, copy the msOGREExporter.dll into the Milkshape
65folder, and either copy OgreMain.dll from the 'Release' build of OgreMain into
66the Milkshape folder too, or make sure it is somewhere on your path. </P><P ALIGN="left" CLASS="MainHeader">How
67to Use</P><P>Select an object and click File|Export|OGRE Mesh / Skeleton...</P><P>It's
68possible to export Material definitions from Milkshape into the .mesh file, but
69because Milkshape only supports very basic material types, I recommend you don't
70do this. Instead, create materials in Milkshape and use them for skinning purposes,
71but don't check the 'Export Materials' box in the OGRE export dialog. Make sure
72you note down the names of the materials you defined in Milkshape, then write
73definitions for the materials in OGRE .material scripts instead, using the same
74names. The meshes exported will still have a reference to the material name defined
75in Milkshape, but the superior OGRE material will be used at runtime.</P><P>Skeletons
76can be exported too: if you choose not to export a skeleton and there are bones
77in the model, you must link the mesh to it's target skeleton.</P><P>You can optionally
78choose to split the single animation sequence in Milkshape into multiple separate
79animations. To do this you have to supply a simple comma-separated text file to
80record which frames are for which animation, e.g:</P><P>1,30,Walk<BR>31,40,Wave<BR>41,80,Run</P><P>These
813 animations would then show up under Skeleton::getAnimation(&quot;Walk&quot;),
82Skeleton::getAnimation(&quot;Run&quot;) etc as well as Entity::getAnimationState(&quot;Walk&quot;)
83etc. </P><P>&nbsp;</P><P ALIGN="left" CLASS="MainHeader">To get more information </P><P>To
84obtain more information and to download the OGRE source code, go to <A HREF="http://www.ogre3d.org">
85http://www.ogre3d.org</A>.</P><P></P><P>&nbsp;</P>
86        </body>
87</html>
Note: See TracBrowser for help on using the repository browser.