<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.vega-strike.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Development%3AOgre%3ADocs%3AModels</id>
		<title>Development:Ogre:Docs:Models - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.vega-strike.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Development%3AOgre%3ADocs%3AModels"/>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=Development:Ogre:Docs:Models&amp;action=history"/>
		<updated>2026-05-13T17:18:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.2</generator>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=Development:Ogre:Docs:Models&amp;diff=9931&amp;oldid=prev</id>
		<title>Halleck: parent link</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=Development:Ogre:Docs:Models&amp;diff=9931&amp;oldid=prev"/>
				<updated>2006-01-19T00:19:13Z</updated>
		
		<summary type="html">&lt;p&gt;parent link&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:19, 19 January 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{parent_link|&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;parent=[[Development:Ogre]]}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Overview=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Overview=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Halleck</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=Development:Ogre:Docs:Models&amp;diff=9929&amp;oldid=prev</id>
		<title>klauss at 18:28, 18 January 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=Development:Ogre:Docs:Models&amp;diff=9929&amp;oldid=prev"/>
				<updated>2006-01-18T18:28:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==VegaStrike models != Ogre mehses==&lt;br /&gt;
&lt;br /&gt;
You make a nice ship using blender. Grab the exporter for Ogre .xml format, use it, and there you have an .xml file with your ship. Is that it? No... sure, you convert it to .mesh using the beautiful tools provided by the Ogre comunity. Now, you have a .mesh file.&lt;br /&gt;
&lt;br /&gt;
Now... that's it. '''Wrong!'''&lt;br /&gt;
&lt;br /&gt;
Where are the mountpoints? Thruster exhausts? Automatic articulation?&lt;br /&gt;
&lt;br /&gt;
It's all defined in VegaStrike-specific scripts... very much alike Ogre scripts.&lt;br /&gt;
&lt;br /&gt;
==Material instancing==&lt;br /&gt;
&lt;br /&gt;
Now... you have your diffuse texture, your specmap, your nicely tweaked and precisely calibrated shading parameters.&lt;br /&gt;
What do you do? Write a material script?&lt;br /&gt;
&lt;br /&gt;
Well... you could, but I doubt you would want to. Use material instancing script instead.&lt;br /&gt;
&lt;br /&gt;
In order to avoid reinventing the wheel every time you need a new fancy material (and by fancy understand '''anything that requires a shader''' - which, by modern quality standard, is pretty much everything), material instancing scripts and material templates have been invented.&lt;br /&gt;
&lt;br /&gt;
How they work?&lt;br /&gt;
&lt;br /&gt;
First, you have a .materialTemplate file. That's the template, holding an almost-standard Ogre material script. The only difference, is all those $(VARIABLE=default) thingies. What they do? They're a placeholder for ''variables''. Let's take the standard per-pixel diffuse with specmaps example. Should you have to write a per-pixel shader that works acceptably on most hardware (even hardware without shaders - remember VegaStrike should work in older hardware, without the bells and whistles of course), you would have to write something as [http://cvs.sourceforge.net/viewcvs.py/vegastrike/data5.x/core/materials/dif%2Bglow%2Bppl%2Benv.materialTemplate?only_with_tag=HEAD&amp;amp;view=markup this ogre material script]. Not compelling, is it?&lt;br /&gt;
&lt;br /&gt;
That's why templates exist. Those standard and often used materials will be included as templates in the core VegaStrike engine. You can then create instances of those materials as simply as [http://cvs.sourceforge.net/viewcvs.py/vegastrike/data5.x/mods/vegastrike/units/starships/clydesdale/clydesdale.materialInstance?only_with_tag=HEAD&amp;amp;view=markup this].&lt;br /&gt;
&lt;br /&gt;
==Models, the concept, the features==&lt;br /&gt;
&lt;br /&gt;
Quickly: models are collections of meshes, with properties that allow them to behave like ships, rather than... well... collections of textured triangles.&lt;br /&gt;
&lt;br /&gt;
==Material Instance scripts==&lt;br /&gt;
&lt;br /&gt;
[http://cvs.sourceforge.net/viewcvs.py/vegastrike/data5.x/mods/vegastrike/units/starships/clydesdale/clydesdale.materialInstance?only_with_tag=HEAD&amp;amp;view=markup this] is a nice real-world example. However, that does not expose the full functionality of material instance scripts. For that, take a look at [http://cvs.sourceforge.net/viewcvs.py/vegastrike/vegastrike/src/UserInterface/Attic/sampleInstance.materialInstance?rev=1.1.2.2&amp;amp;only_with_tag=ogre_branch&amp;amp;view=markup this sample instance script]. Pay particular attention to the comments indicating how commands map to variables in templates.&lt;/div&gt;</summary>
		<author><name>klauss</name></author>	</entry>

	</feed>