<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ryan Ellis &#187; Maya / .mel</title>
	<atom:link href="http://www.ryane.com/?feed=rss2&#038;cat=9" rel="self" type="application/rss+xml" />
	<link>http://www.ryane.com</link>
	<description>OH Noes!</description>
	<lastBuildDate>Sun, 20 Jun 2010 04:52:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Maya 8.5 Geforce 280 Issues</title>
		<link>http://www.ryane.com/?p=525</link>
		<comments>http://www.ryane.com/?p=525#comments</comments>
		<pubDate>Thu, 11 Dec 2008 22:58:19 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://www.ryane.com/?p=525</guid>
		<description><![CDATA[I was having some major display issues in Maya 8.5 after I purchased a Geforce 280.  What would happen is my Maya scene would start flickering and jumping around the scene whenever I tried to interact with the 3d view.  After much research and frustration I found the fix.  Go to your Nvidia display properties [...]]]></description>
			<content:encoded><![CDATA[<p>I was having some major display issues in Maya 8.5 after I purchased a Geforce 280.  What would happen is my Maya scene would start flickering and jumping around the scene whenever I tried to interact with the 3d view.  After much research and frustration I found the fix.  Go to your Nvidia display properties tab and turn OFF the Threaded Optimization setting.  It seemed to fix the issue.  On a side note&#8230; What happened?  Nvidia used to have the better drivers.. now they are pretty terrible.  WTF?</p>
<p><a href="http://www.ryane.com/wp-content/uploads/2008/12/nvidia_maya.jpg"><img class="alignnone size-medium wp-image-526" title="nvidia_maya" src="http://www.ryane.com/wp-content/uploads/2008/12/nvidia_maya-300x222.jpg" alt="" width="300" height="222" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=525</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Decorator Painter</title>
		<link>http://www.ryane.com/?p=417</link>
		<comments>http://www.ryane.com/?p=417#comments</comments>
		<pubDate>Tue, 17 Jun 2008 18:09:40 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://www.ryane.com/?p=417</guid>
		<description><![CDATA[I just finished writing a decorator painter for the level tools.  Now we can spray down grass and pebbles and shit into the level.  We got the engine reading it in and putting stuff down.  Pretty sweet.
Ran into a stupid issue where Maya puts scientific notation into some of its floats&#8230;..  8.5372651e-005  ARRG so annoying.  [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished writing a decorator painter for the level tools.  Now we can spray down grass and pebbles and shit into the level.  We got the engine reading it in and putting stuff down.  Pretty sweet.</p>
<p>Ran into a stupid issue where Maya puts scientific notation into some of its floats&#8230;..  8.5372651e-005  ARRG so annoying.  It was easy to strip out but that kinda of thing is silly.  It makes interfacing with stuff frustrating when all of a sudden there is that kind of number.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=417</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Plotting a Spiral in .mel</title>
		<link>http://www.ryane.com/?p=404</link>
		<comments>http://www.ryane.com/?p=404#comments</comments>
		<pubDate>Tue, 06 May 2008 16:40:47 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://www.ryane.com/?p=404</guid>
		<description><![CDATA[This script creates a spiral.  Play with the settings to get a bunch of different effects.

global proc makeOpenSpiral()
{
//tweakables
int $points = 180;
float $startRadius = 0;
float $endRadius = 2;
float $xOrigin = 0;
float $zOrigin = 0;
float $yOrigin = 0;
float $degrees = 1800;
//
float $increment = ($degrees/$points);
float $radiusIncrement = (($endRadius-$startRadius)/$points);
float $step;
float $radialStep;
string $cmd = &#8220;curve -d 3 &#8220;;
for ($i [...]]]></description>
			<content:encoded><![CDATA[<p>This script creates a spiral.  Play with the settings to get a bunch of different effects.</p>
<p><a href="http://www.ryane.com/wp-content/uploads/2008/05/spiral.jpg" title="spiral.jpg"><img src="http://www.ryane.com/wp-content/uploads/2008/05/spiral.jpg" alt="spiral.jpg" /></a></p>
<p><strong>global proc makeOpenSpiral()<br />
{</strong></p>
<p><strong>//tweakables<br />
int $points = 180;<br />
float $startRadius = 0;<br />
float $endRadius = 2;<br />
float $xOrigin = 0;<br />
float $zOrigin = 0;<br />
float $yOrigin = 0;<br />
float $degrees = 1800;<br />
//</strong></p>
<p><strong>float $increment = ($degrees/$points);<br />
float $radiusIncrement = (($endRadius-$startRadius)/$points);<br />
float $step;<br />
float $radialStep;</strong></p>
<p><strong>string $cmd = &#8220;curve -d 3 &#8220;;<br />
for ($i = 0; ($points+1) &gt; $i; ++$i)<br />
{</strong></p>
<p><strong>$step = $increment * $i;<br />
$step = `deg_to_rad $step`;<br />
$radialStep = ($startRadius + ($radiusIncrement * $i));</strong></p>
<p><strong>float $xPos = ($xOrigin + ($radialStep * `cos $step`));<br />
float $zPos = ($zOrigin + ($radialStep * `sin $step`));</strong></p>
<p><strong>//    float $yPos = `sin $i`;<br />
//    float $yPos = ($points / ($i+1));<br />
//    float $yPos = (($i+.01)*.01);<br />
float $yPos = $yOrigin;</strong></p>
<p><strong>$cmd = ($cmd + &#8221; -p &#8221; + $xPos + &#8221; &#8221; + $yPos + &#8221; &#8221; + $zPos);</strong></p>
<p><strong>}</strong></p>
<p><strong>eval $cmd;</strong></p>
<p><strong>} </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=404</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plotting a circle in .mel</title>
		<link>http://www.ryane.com/?p=402</link>
		<comments>http://www.ryane.com/?p=402#comments</comments>
		<pubDate>Sun, 04 May 2008 18:16:12 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://www.ryane.com/?p=402</guid>
		<description><![CDATA[I am trying to refresh my geometry knowledge&#8230; So I decided to start by making a script to generate a polygon circle.


 global proc makePolyCircle()
 {

//Tweakables
int $points = 20;
float $radius = 1;
float $xOrigin = 0;
float $zOrigin = 0;
//
 
float $increment = (360/$points);
float $step;
string $cmd = &#8220;polyCreateFacet -ch on -tx 1 -s 1 &#8220;;
for ($i = 0; [...]]]></description>
			<content:encoded><![CDATA[<p>I am trying to refresh my geometry knowledge&#8230; So I decided to start by making a script to generate a polygon circle.<br />
<strong><br />
</strong></p>
<p align="left"><strong> global proc makePolyCircle()</strong><br />
<strong> {</strong><br />
<strong><br />
//Tweakables</strong></p>
<p align="left"><strong>int $points = 20;<br />
float $radius = 1;<br />
float $xOrigin = 0;<br />
float $zOrigin = 0;<br />
//</strong></p>
<p align="left"> <strong><br />
float $increment = (360/$points);<br />
float $step;</strong></p>
<p align="left"><strong>string $cmd = &#8220;polyCreateFacet -ch on -tx 1 -s 1 &#8220;;<br />
for ($i = 0; ($points+1) &gt; $i; ++$i)<br />
{</strong></p>
<p align="left"><strong>$step = $increment * $i;</strong></p>
<p align="left"><strong>$step = `deg_to_rad $step`;</strong></p>
<p align="left"><strong><br />
float $xPos = ($xOrigin + ($radius * `cos $step`));<br />
float $zPos = ($zOrigin + ($radius * `sin $step`));</strong></p>
<p align="left"><strong>$cmd = ($cmd + &#8221; -p &#8221; + $xPos + &#8221; 0 &#8221; + $zPos);</strong></p>
<p align="left"><strong>}</strong></p>
<p align="left">&nbsp;</p>
<p align="left"><strong>eval $cmd;</strong></p>
<p align="left">&nbsp;</p>
<p align="left"><strong>}</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=402</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maya as a level editor (OVERVIEW)</title>
		<link>http://www.ryane.com/?p=401</link>
		<comments>http://www.ryane.com/?p=401#comments</comments>
		<pubDate>Sat, 03 May 2008 17:09:16 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://www.ryane.com/?p=401</guid>
		<description><![CDATA[I realised in my last post about this I just jumped into creating a material system in Maya.  Lets take a step back and list all the major components that are required to really do the job right.
Maya has some strengths and weaknesses as a world editor.  A major strength is that its [...]]]></description>
			<content:encoded><![CDATA[<p>I realised in my last post about this I just jumped into creating a material system in Maya.  Lets take a step back and list all the major components that are required to really do the job right.</p>
<p>Maya has some strengths and weaknesses as a world editor.  A major strength is that its pretty flexible and using mostly .mel scripting you can make it do most things you need.  A major weakness is that is meant for working on individual models and it takes some work to make it effective at creating worlds.</p>
<p>OK onto the components you need.</p>
<p><strong>Geometry Exporter</strong>: <img src="file:///C:/DOCUME%7E1/ryan/LOCALS%7E1/Temp/moz-screenshot.jpg" /><strong> </strong>This needs to be done as a plugin.  Typically I like to separate the geometry export (or model export) process from a level export.  The reason being is that when you use Maya as an editor it really has two functions. 1. creating and exporting of models or instances. 2. the layout and design of levels.  They are really two different things.  The layout mode is merely a placement mode where you are creating terrain and placing the models you have already created and exported.</p>
<p>I always make the geometry exporter an automatic process.  meaning that the system should handle the data management as well as checking in/out of perforce.  You can also generate a openGL preview of the model for use later in the design/layout phase.</p>
<p><strong>Level Exporter: </strong><img src="file:///C:/DOCUME%7E1/ryan/LOCALS%7E1/Temp/moz-screenshot-1.jpg" /> This is also a plugin.  It exports all the design layout and tagging in a usable level file.  Depending on what the programmers want to do this can be the exact same export as the geometry exporter.  But from the Maya tool side its good to treat this process differently so that your system can handle all the data automatically.</p>
<p><strong> Instancing</strong> : Maya&#8217;s instancing sucks rocks.  It can easily break and causes a ton of clutter in your level.  In the past my solution has been to have the modelers create a special &#8220;Icon&#8221; of their model that gets tagged as the instance icon.  This is merely a single mesh with a special attribute on it to signify that it is an icon.  So then when it comes time to import the model into your level the system imports the object and throws out anything that is not an &#8220;Icon&#8221;.  So what you are left with is one single mesh that is representing the whole model.  This mesh can now be duplicated around your level.  Then when it comes time to export the level exporter can see from the special attribute that it is an instance and it can then take the proper steps to handle it.</p>
<p><strong>Material System:</strong> I already covered this in an early post <a href="http://www.ryane.com/?p=382" target="_blank">HERE</a></p>
<p><strong>Tagging:</strong> Tagging is what designers and artists add to levels an models trigger game functions.  These can be volumes, splines, material properties, etc&#8230;  Typically a plug in gets created to handle this case.  The reason being is that you want special openGL icons for these functions.  They show up better in the level and the exporter can easily handle them.  Then you can create a series of .mel editors to handle the filling out of their properties.</p>
<p><strong>Decorators</strong> :  is the term I use to describe things such as grass, garbage, pebbles, etc&#8230;  Anything that needs a special render pass to handle their sheer multitudes.  There are a few ways to handle them,  You can have spawners that you place in your level that have attributes on them which direct the &#8220;growing&#8221; of decorators, you can designate them using materials, or you can paint them directly onto the surfaces using your instancing pipeline.  The last option is a bit troublesome bit is also very powerful because your artists and designers have explicit control over where the objects render.  You will have to create a system to merge them into large groups tho because Maya begins to choke when there are too many objects in the scene.</p>
<p><strong>Portaling:  </strong>If your game requires portaling you need to support in the editor.  Now I have found that because of the sheer size of today&#8217;s levels, they need to be broken up into their individual portals.  A typical process would be to lay out the level as basic geometry.  Decide that you like the layout then break the level up into its portals and export each piece into a separate file.  Then you can work on these separate files without having to load them all into Maya.  Then have your level exporter stitch them back together for your engine to read.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=401</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maya as a level editor (2)</title>
		<link>http://www.ryane.com/?p=382</link>
		<comments>http://www.ryane.com/?p=382#comments</comments>
		<pubDate>Wed, 23 Apr 2008 23:25:54 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://www.ryane.com/?p=382</guid>
		<description><![CDATA[So in the last post about this I talked about some of the philosophy behind making a good editor.  Now I will start into the more specific things that you have to do to Maya to make it a proficient level/game editor.
Material system.  You have to decide what this is going to look [...]]]></description>
			<content:encoded><![CDATA[<p>So in the last post about this I talked about some of the philosophy behind making a good editor.  Now I will start into the more specific things that you have to do to Maya to make it a proficient level/game editor.</p>
<p>Material system.  You have to decide what this is going to look like.  What shaders your game is going to use, etc.  There are a few ways to approach it.</p>
<p><strong>Using a .fx plug in Maya:</strong>  This is nice in that your model will use your shaders in the viewport.  Gets you a very close approximation of the final output.  This would seem like the way to go but there are a few issues.</p>
<p>1: Maya and mental ray renders wont like it at all.  They will not render correctly using these.  That means that for doing PR shots you have to re-create all your stuff as Maya shaders. Gets to be a royal pain.</p>
<p>2: Texture baking does not play nice.  So it can make that step much more frustrating.</p>
<p>3: Using mental ray to create lightmaps also gets angry when you use .fx shaders.</p>
<p><strong>Using maya&#8217;s materials:</strong>   This method basically means that you use the maya materials and you create custom string attributes on each material that house the textures that are used by your shaders.  Then you plug the output of those attributes into the standard material attributes.  The nice thing about this method is that you can now use all of maya&#8217;s render features as well as the texture and lightmap baking commands.  The downsides are&#8230;</p>
<p>1: The viewport does not really reflect how the final ingame model will look.  This means that that you are not seeing teh effects of your ingame shaders.</p>
<p>2:  If your shaders use multiple UV sets for differnt texture effects, those will not show up in the viewport.</p>
<p>So what should you do?  Well that really depends I have create both pipelines for different projects and I am kinda on the fence about it.  But  my current thinking has me using maya materials because of the issues the .fx method has.  The fact that the object does not really reflect the ingame look in the viewport does not bother me much because its a quick export from maya into our game.</p>
<p>In both cases I created a custom material editor that has a bunch of nice features in it.  The reason for this is that you can have really tight integration with your data structure and your file management system.  In both cases for me it was perforce.</p>
<p><a href="http://www.ryane.com/wp-content/uploads/2008/04/material_editor.jpg" title="material_editor.jpg"><img src="http://www.ryane.com/wp-content/uploads/2008/04/material_editor.thumbnail.jpg" alt="material_editor.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=382</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hacking Maya UV Window</title>
		<link>http://www.ryane.com/?p=381</link>
		<comments>http://www.ryane.com/?p=381#comments</comments>
		<pubDate>Wed, 23 Apr 2008 20:40:17 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://www.ryane.com/?p=381</guid>
		<description><![CDATA[*** Backup your .mel files before you edit them!!! ***
So I wanted to hack into the Maya UV window and change some things.  The first thing I wanted to change was the marking menu.
After hunting around I found the texturePanel.mel file in  &#8230;Maya8.5\scripts\others\
Around line 2095 you will find
global proc textureWindowCreatePopupMenubar( string $editor, string [...]]]></description>
			<content:encoded><![CDATA[<p>*** Backup your .mel files before you edit them!!! ***</p>
<p>So I wanted to hack into the Maya UV window and change some things.  The first thing I wanted to change was the marking menu.</p>
<p>After hunting around I found the texturePanel.mel file in  &#8230;Maya8.5\scripts\others\</p>
<p>Around line 2095 you will find</p>
<p><strong>global proc textureWindowCreatePopupMenubar( string $editor, string $editorCmd )</strong></p>
<p>This is the command used to generate the popup menu under the standard marking menu.</p>
<p>I tore this out and put in my own menu items.  If you tear it all out you will get an error on line 109. There are a few ways to deal with it but the shitty brute force method is to change line 108.</p>
<p>change:  if <strong>( $reason == 101 ) </strong></p>
<p>to: if <strong>( $reason == 999 )</strong></p>
<p>Now this may cause some later issues I&#8217;m not sure yet.  But I am exploring as a go.</p>
<p>More on this as a discover things.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=381</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Keyboard and Mouse</title>
		<link>http://www.ryane.com/?p=379</link>
		<comments>http://www.ryane.com/?p=379#comments</comments>
		<pubDate>Wed, 23 Apr 2008 07:56:23 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ryane.com/?p=379</guid>
		<description><![CDATA[I am really really particular about my work setup.  As far as keyboards go they have to be square with the normal arrow keys and the normal (old style) insert and page key group.  Also the keys have to have a snappiness to them.  No mush for me.
The best part about my [...]]]></description>
			<content:encoded><![CDATA[<p>I am really really particular about my work setup.  As far as keyboards go they have to be square with the normal arrow keys and the normal (old style) insert and page key group.  Also the keys have to have a snappiness to them.  No mush for me.</p>
<p>The best part about my taste in keyboards is that those style of keyboards are usually the cheapest ones you can find.  Huzzah!</p>
<p>The first thing I do when I get a keyboard is to remove the Caps-lock and left Windows key.  Why you ask?  Cause both of those are a terrible nuisance if you hit them while working in Maya.  And really the Caps-lock key is stupid anyway.  Who needs to have caps all the time? I MEAN C&#8217;MON!  Since the majority of the Maya hotkeys I use are situated right around those two it makes sense to axe em.</p>
<p>Mice are an even bigger task for me to find.  I hate all the weird shapes and spheres and whatever wacky shit people do to make their mice different or ergonomic.  The original Microsoft Intellimouse is the best thing ever in my option.  The newer ones are OK but somewhere along the line some flimsiness was introduced into the buttons&#8230; yuck!  Also no stupid ass tilting scroll wheel.  And the scroll wheel must, I repeat, must have a good tactile click when you roll it.  no mushy shit allowed here either.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=379</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emailing from Maya.   (.mel)</title>
		<link>http://www.ryane.com/?p=222</link>
		<comments>http://www.ryane.com/?p=222#comments</comments>
		<pubDate>Thu, 13 Sep 2007 08:06:51 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=222</guid>
		<description><![CDATA[I have a bunch of scripts setup to do lightmaps&#8230; of course they can take awhile.   Also I would like to know when they are done.   So I went online and found a nice command line emailer&#8230;
Postie.exe
http://www.download.com/Postie/3000-2369_4-6935052.html?tag=lst-0-1  
After installing to the default location.    c:/postie/
I setup the .mel to use it.
global proc [...]]]></description>
			<content:encoded><![CDATA[<p>I have a bunch of scripts setup to do lightmaps&#8230; of course they can take awhile.   Also I would like to know when they are done.   So I went online and found a nice command line emailer&#8230;</p>
<p>Postie.exe</p>
<p><a href="http://www.download.com/Postie/3000-2369_4-6935052.html?tag=lst-0-1" target="_blank">http://www.download.com/Postie/3000-2369_4-6935052.html?tag=lst-0-1  </a></p>
<p>After installing to the default location.    c:/postie/</p>
<p>I setup the .mel to use it.</p>
<p>global proc mayaEmail(string $mailServer, string $to, string $from, string $msg)<br />
{</p>
<p>string $progPath = &#8220;c:/postie/postie.exe&#8221;;</p>
<p>string $cmd = ($progPath+ &#8221; -host:&#8221;+$mailServer+&#8221; -to:&#8221;+$to+&#8221; -from:&#8221;+$from+&#8221; -msg:&#8221;+$msg);</p>
<p>system($cmd);</p>
<p>print $cmd;</p>
<p>}</p>
<p>Example Use:</p>
<p>mayaEmail(&#8221;mail.test.com&#8221;, &#8220;test@test.com&#8221; , &#8220;Maya@test.com&#8221; , &#8220;\&#8221;Your Lightmap Is Done&#8230;\&#8221;");</p>
<p>Simple as that.   Of course if you change the path where Postie is installed you are gonna have to point the $progPath Variable to where it is located.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=222</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xbox 360 Controller &amp; Maya (2)  ROCKETS</title>
		<link>http://www.ryane.com/?p=165</link>
		<comments>http://www.ryane.com/?p=165#comments</comments>
		<pubDate>Sat, 30 Jun 2007 04:14:47 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Maya / .mel]]></category>
		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=165</guid>
		<description><![CDATA[Ok this is a fun one&#8230;  Again it uses the wonderful Xbox360ControllerServer that Dave Moore wrote.
This script will create a rocket engine that is controllable with the right trigger of an Xbox 360 controller.  Since the script utilizes Maya physics you can do all sorts of fun stuff.  You can make rocket [...]]]></description>
			<content:encoded><![CDATA[<p>Ok this is a fun one&#8230;  Again it uses the wonderful Xbox360ControllerServer that Dave Moore wrote.</p>
<p>This script will create a rocket engine that is controllable with the right trigger of an Xbox 360 controller.  Since the script utilizes Maya physics you can do all sorts of fun stuff.  You can make rocket powered cars or tow things around or whatever you can imagine with physics.  Here is how it works&#8230;</p>
<p>It takes the Input from the Right Trigger and maps it to an expression that controls the impulse of an active rigid body.  So whatever way the rocket is pointed is the direction the rocket will go.  Also I hooked up a particle emitter to it so that when you are applying thrust particles will shoot out.  To get started just download the following and follow these easy steps.  Also I have included a quicktime  of the rocket in action in a few different scenarios.  Don&#8217;t worry about the frame rate in the video.  Fraps causes the frame rate to drop dramatically when you are capturing.  I was consistently getting well over 60 fps.</p>
<p><a href="http://www.ryane.com/Blog_Content/maya_rocket_ideas2.mov" title="rocket_thumb.jpg"><img src="http://ryane.com/wp-content/uploads/2007/06/rocket_thumb.jpg" alt="rocket_thumb.jpg" /></a> Quicktime of the Rocket in action</p>
<p><a href="http://www.ryane.com/Blog_Content/MayaControllerServerInstall.msi" title="installerbutton.JPG"><img src="http://ryane.com/wp-content/uploads/2007/06/installerbutton.thumbnail.JPG" alt="installerbutton.JPG" />Daves Xbox 360 Controller Server</a></p>
<p><a href="http://www.ryane.com/Blog_Content/xboxRocket.mel" title="download_button.JPG"><img src="http://ryane.com/wp-content/uploads/2007/03/download_button.JPG" alt="download_button.JPG" />xboxRocket.mel</a></p>
<p>1) To use first make sure the xbox 360 controller is installed and plugged inâ€¦</p>
<p>2) Install the Controller Server</p>
<p>3) Start the Controller Server. (This must always be running before you run the .mel script)</p>
<p>4) Open Maya and run xboxRocket.mel</p>
<p>5) At any time just hit the play button on the maya timeline and start hitting the right trigger on the controller!</p>
<p>Happy Boosting!</p>
<p>Now because its using maya physics you can add all sorts of jumps and whatnot to make a fun rocket playground.  Make maya passive and active physics objects and watch them interact with the rocket.</p>
<p>To make a passive physics object (such as the ground or a jump)</p>
<p>1) Place a piece of polygon geometry in the world.</p>
<p>2) Select it and go to the maya Physics module</p>
<p>4)  Click on the Soft/Rigid Bodies menu and then select Create Passive Rigid Body</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=165</wfw:commentRss>
		<slash:comments>15</slash:comments>
<enclosure url="http://www.ryane.com/Blog_Content/maya_rocket_ideas2.mov" length="13756755" type="video/quicktime" />
		</item>
		<item>
		<title>Xbox 360 Controller &amp; Maya (1)</title>
		<link>http://www.ryane.com/?p=141</link>
		<comments>http://www.ryane.com/?p=141#comments</comments>
		<pubDate>Sun, 10 Jun 2007 03:26:47 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=141</guid>
		<description><![CDATA[EDIT:     Ok Dave wants to make a new downloader&#8230; This post will be fixed when a new one is made&#8230;
]]></description>
			<content:encoded><![CDATA[<p>EDIT:     Ok Dave wants to make a new downloader&#8230; This post will be fixed when a new one is made&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=141</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://www.ryane.com/Blog_Content/maya%202007-06-09%2019-36-20-42.avi" length="7561928" type="video/x-msvideo" />
		</item>
		<item>
		<title>Old Lighthouse</title>
		<link>http://www.ryane.com/?p=124</link>
		<comments>http://www.ryane.com/?p=124#comments</comments>
		<pubDate>Tue, 15 May 2007 10:13:33 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=124</guid>
		<description><![CDATA[I was digging through some old files and I found this lighthouse I did   a few years ago.   For some reason I really dig lighthouses.

]]></description>
			<content:encoded><![CDATA[<p>I was digging through some old files and I found this lighthouse I did   a few years ago.   For some reason I really dig lighthouses.</p>
<p><a href="http://ryane.com/wp-content/uploads/2007/05/lighthouse.jpg" title="lighthouse.jpg"><img src="http://ryane.com/wp-content/uploads/2007/05/lighthouse.thumbnail.jpg" alt="lighthouse.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=124</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Xray?</title>
		<link>http://www.ryane.com/?p=122</link>
		<comments>http://www.ryane.com/?p=122#comments</comments>
		<pubDate>Tue, 15 May 2007 07:46:01 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=122</guid>
		<description><![CDATA[This was made using nothing but a .mel script.  The script generated many nodes than drew random curves between the nodes.  Then particles were spawned along the curves.   If I can find the script I will post it.

]]></description>
			<content:encoded><![CDATA[<p>This was made using nothing but a .mel script.  The script generated many nodes than drew random curves between the nodes.  Then particles were spawned along the curves.   If I can find the script I will post it.</p>
<p><a href="http://ryane.com/wp-content/uploads/2007/05/nodes.jpg" title="nodes.jpg"><img src="http://ryane.com/wp-content/uploads/2007/05/nodes.thumbnail.jpg" alt="nodes.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=122</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Perforce Down</title>
		<link>http://www.ryane.com/?p=111</link>
		<comments>http://www.ryane.com/?p=111#comments</comments>
		<pubDate>Tue, 01 May 2007 09:02:32 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=111</guid>
		<description><![CDATA[Our server lost connection tonight&#8230;  It&#8217;s hard to get much real work done.  But I have taken this chance to finish up some of the Maya editor tweaks that I wanted to do.  It&#8217;s so funny I have written some pretty nice and complicated UI for companies in the past but when [...]]]></description>
			<content:encoded><![CDATA[<p>Our server lost connection tonight&#8230;  It&#8217;s hard to get much real work done.  But I have taken this chance to finish up some of the Maya editor tweaks that I wanted to do.  It&#8217;s so funny I have written some pretty nice and complicated UI for companies in the past but when it comes time for me to do the same for myself I totally skimp out.  WTF?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=111</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script Editor</title>
		<link>http://www.ryane.com/?p=109</link>
		<comments>http://www.ryane.com/?p=109#comments</comments>
		<pubDate>Mon, 30 Apr 2007 09:56:02 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=109</guid>
		<description><![CDATA[For years I had used VIM as my text editor&#8230; Every time I told someone this they got that look in their eye like I was someone to be wary of.   So I went on a search for a new text editor.   One that supported the .mel format and had the coloring options [...]]]></description>
			<content:encoded><![CDATA[<p>For years I had used VIM as my text editor&#8230; Every time I told someone this they got that look in their eye like I was someone to be wary of.   So I went on a search for a new text editor.   One that supported the .mel format and had the coloring options I wanted.   Well after many months I happened upon Edit Plus 2.   Its by far my most favorite text editor.   So I bought a licence.   Oh and another cool thing is that the licence says you can put it on all the computers you use as long as you are the only person using the program. Way Cool.   If you are in the market for a text editor make sure you take a lookie at Edit Plus 2.  <a href="http://www.editplus.com/"> http://www.editplus.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=109</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Latest Level (2)</title>
		<link>http://www.ryane.com/?p=102</link>
		<comments>http://www.ryane.com/?p=102#comments</comments>
		<pubDate>Fri, 27 Apr 2007 09:59:40 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=102</guid>
		<description><![CDATA[OK so it looks like the script works&#8230;  Its actually quite simple.  It takes an input image and samples each pixel if it finds a value greater than 0 0 0 (black) it creates a square polygon for that pixel. Once it is finished it combines the polygons together and extrudes them to [...]]]></description>
			<content:encoded><![CDATA[<p>OK so it looks like the script works&#8230;  Its actually quite simple.  It takes an input image and samples each pixel if it finds a value greater than 0 0 0 (black) it creates a square polygon for that pixel. Once it is finished it combines the polygons together and extrudes them to make a 3d shape.  Then the UV&#8217;s are unitized (each square is expanded to the edges of the texture) and its a simple matter of assigning materials to the created surface&#8230;  The first image is the input image.  The second is the resulting 3d model.   I will cleanup and post the .mel later.</p>
<p><img src="http://ryane.com/wp-content/uploads/2007/04/input.bmp" alt="input.bmp" /></p>
<p><img src="http://ryane.com/wp-content/uploads/2007/04/retro_image.jpg" alt="retro_image.jpg" height="422" width="563" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=102</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Maya as a level editor (1)</title>
		<link>http://www.ryane.com/?p=85</link>
		<comments>http://www.ryane.com/?p=85#comments</comments>
		<pubDate>Wed, 18 Apr 2007 00:04:01 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=85</guid>
		<description><![CDATA[Before we delve to much into the nuts and bolts of transforming Maya into a full blown level editor lets go over some important goals.   I have seen quite a few companies get this wrong and I feel that these &#8220;Commandments&#8221; are very important for making a productive and non-frustrating tool experience&#8230;
1.   Simplicity: [...]]]></description>
			<content:encoded><![CDATA[<p>Before we delve to much into the nuts and bolts of transforming Maya into a full blown level editor lets go over some important goals.   I have seen quite a few companies get this wrong and I feel that these &#8220;Commandments&#8221; are very important for making a productive and non-frustrating tool experience&#8230;</p>
<p>1.   <strong>Simplicity</strong>:    This can not be overstated.   Your pipeline needs to be as simple as possible.   Everything from directory structure to export pipeline needs to be as simple as possible.   Now of course this can not always be accommodated as we would like but its a good rule to always keep in mind when designing the pipeline.</p>
<p>2.   <strong>Automatic</strong>:      Everything that can be automated should be automated.   The artists and level designers that are using your pipeline should never have to worry about mundane issues.   They should be focused on making great art and great levels.   If your content people are spending time doing lots of setup and content management then your pipeline is failing you.</p>
<p>3.   <strong>Foolproof:     </strong>A good system will tell the user exactly what must be done to achieve their current goal and do so while also allowing for allot of flexibility.   Meaning that it should handle everything in a graceful and easy to understand way but also allow people to get into the nuts and bolts of whats going on behind the scenes if they wish.</p>
<p>4.   <strong>Data Driven:     </strong>Make as many features data driven as possible.   This allows for allot of flexibility and adjustment after the tool has been rolled out.   For example:   Many of the buttons in the UI should be driven by something other than hard-coded .mel.   That way things can be added and tweaked without having to roll-out and new version of the .mel.</p>
<p>5.   <span style="font-weight: bold">Fast:       </span>Make everything run as fast as possible.   If your content people are waiting for the tools then they are non-productive during that time as well as distracted.   Most people will get more done if they are never broken out of their work-groove.</p>
<p>(* I will be adding more commandments later.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=85</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Maya as a level editor</title>
		<link>http://www.ryane.com/?p=67</link>
		<comments>http://www.ryane.com/?p=67#comments</comments>
		<pubDate>Sat, 07 Apr 2007 20:52:40 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=67</guid>
		<description><![CDATA[Since I have so much experience working on projects where Maya was used as the level editor I though I would write a bit about the dos and do nots of a system like this as well as the mel scripts and tools needed.   This is going to be a pretty big series of [...]]]></description>
			<content:encoded><![CDATA[<p>Since I have so much experience working on projects where Maya was used as the level editor I though I would write a bit about the dos and do nots of a system like this as well as the mel scripts and tools needed.   This is going to be a pretty big series of posts so I will be doing it over the next few weeks.   Check back soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=67</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.dds and you (maya)</title>
		<link>http://www.ryane.com/?p=64</link>
		<comments>http://www.ryane.com/?p=64#comments</comments>
		<pubDate>Sat, 07 Apr 2007 00:43:39 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=64</guid>
		<description><![CDATA[So we are using .dds as our texture format&#8230;
On the good side there are decent Photoshop tools for using it.  It can auto-generate Mips. It compresses reasonably well.  The 360 can read them easily.  They load in Maya.
On the baaaaad side.  It is a lossy format so you have to store [...]]]></description>
			<content:encoded><![CDATA[<p>So we are using .dds as our texture format&#8230;</p>
<p>On the good side there are decent Photoshop tools for using it.  It can auto-generate Mips. It compresses reasonably well.  The 360 can read them easily.  They load in Maya.</p>
<p>On the baaaaad side.  It is a lossy format so you have to store uncompressed source. (.psd for us).   If you keep editing the files and saving them they will get horrible artifacts.  Yes Maya does load them but&#8230; Menstrual Ray Renderer does not like them at all.  In fact if you even have them in your scene it shits out.  Why does that matter you say?  Well when you are using Menstrual Ray as your light-mapper its a problem.  The easy thing to do is just delete all and assign the default Lambert to all your geo.  The issue with that is that if you are doing any global illumination or any light model that uses color transmission you no longer have the texture colors to transmit.  Boooooooooooooo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=64</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>3D artists block</title>
		<link>http://www.ryane.com/?p=63</link>
		<comments>http://www.ryane.com/?p=63#comments</comments>
		<pubDate>Sat, 07 Apr 2007 00:21:57 +0000</pubDate>
		<dc:creator>Nebs</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Game Developement]]></category>
		<category><![CDATA[Maya / .mel]]></category>

		<guid isPermaLink="false">http://ryane.com/?p=63</guid>
		<description><![CDATA[I can&#8217;t seem to get anything good done.  I am working on finishing up the latest level and it&#8217;s taken me forever&#8230; Usually it takes me about 5 full days to finish one completely&#8230;  But this one has been going on two weeks.  Booooooooooooooooooooo
]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t seem to get anything good done.  I am working on finishing up the latest level and it&#8217;s taken me forever&#8230; Usually it takes me about 5 full days to finish one completely&#8230;  But this one has been going on two weeks.  Booooooooooooooooooooo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryane.com/?feed=rss2&amp;p=63</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
