<?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>bg3d &#187; Portfolio</title>
	<atom:link href="http://www.bg3d.com/archives/category/portfolio/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bg3d.com</link>
	<description>The 3D vision of Brian Gottlieb</description>
	<lastBuildDate>Wed, 19 Oct 2011 03:40:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Mel Script, Average verts on an edge loop</title>
		<link>http://www.bg3d.com/archives/917</link>
		<comments>http://www.bg3d.com/archives/917#comments</comments>
		<pubDate>Thu, 19 May 2011 00:22:04 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[3D and CG Multimedia]]></category>
		<category><![CDATA[mel]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[average]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[farmington hills]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[May]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[Modeling]]></category>
		<category><![CDATA[Nissan]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[vert]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=917</guid>
		<description><![CDATA[A friend of mine over at DempseyVFX.com has a modeling workflow to straighten up an edge loop. The procedure is to create a nurbs curve from an edge loop. rebuild as cubic curve, then snap the poly verts to the closest point on that nurbs curve. Resulting in a very smooth edge loop. This can [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine over at <a href="http://www.DempseyVFX.com">DempseyVFX.com</a> has a modeling workflow to straighten up an edge loop.  The procedure is to create a nurbs curve from an edge loop. rebuild as cubic curve, then snap the poly verts to the closest point on that nurbs curve. Resulting in a very smooth edge loop.  This can be a somewhat time-consuming process as you have to give every vert attention, which as a modeler myself I think is very important, although sometimes you just want to get something laid out or smoothed out.  </p>
<p>The script I put together <a href="http://www.bg3d.com/scripts/mel/AverageVerts.mel">here</a> will do all of what I explained above.  Simply select an edge loop and run the script. You can view the actual script just below.  Any questions or problems please comment!<br />
<span id="more-917"></span></p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Gz Average Verts Script &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-//<br />
global proc vector snapToClosestSpan(string $curve, string $vert,vector $curveVector[])<br />
{</p>
<p>    vector $closestDistance[];</p>
<p>    vector $positionVert = `xform -q -ws -t $vert`;  // returns the position of the current Vert</p>
<p>    vector $tempVec;<br />
    vector $tempCurveVec;<br />
    vector $finalVec;</p>
<p>    float $span = `getAttr ($curve+&#8221;.spans&#8221;)`;<br />
    float $testDistWinner = 100000;<br />
    float $testDistChallenger;<br />
    float $j = 0;</p>
<p>    float $tempDistance;<br />
    int $closestArray;<br />
    int $m = $span *100;<br />
    int $k = 0;</p>
<p>    while ($k <= $m)<br />
    {    // all jacked up right here.</p>
<p>       $distance = GzDistance($curveVector[$k], $positionVert);<br />
       $testDistChallenger = $distance;<br />
       if ($testDistChallenger < $testDistWinner)<br />
       {<br />
           //print &#8220;Challenger Wins!!!\n&#8221;;<br />
           $testDistWinner = $testDistChallenger;<br />
           $closestArray = $k;<br />
           //print $closestArray;<br />
       }<br />
           else<br />
           {<br />
               //print &#8220;Winner remains Champion!!!\n&#8221;;<br />
           }<br />
       //print $closestDistance[$k];<br />
       //print &#8220;\n&#8221;;<br />
       $j=$j+ .01;<br />
       $k++;<br />
    }<br />
    //print ($vert + &#8221; is closest to &#8221; + $curveVector[$closestArray]+&#8221;\n&#8221;);<br />
    $finalVec = $curveVector[$closestArray];<br />
    //print ($finalVec + &#8221; Number &#8221; + $closestArray+&#8221;\n&#8221;);<br />
    return $finalVec;<br />
}</p>
<p>// &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; Gz Distance Begin &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;//<br />
// Gz Distanc calculator between 2 vectors.<br />
global proc float GzDistance(vector $tempCurveVec, vector $positionVert)<br />
    {<br />
    float $tempX;<br />
    float $tempY;<br />
    float $tempZ;<br />
    vector $tempCurveVec;<br />
    $tempX = (($tempCurveVec.x) &#8211; ($positionVert.x))*(($tempCurveVec.x) &#8211; ($positionVert.x));<br />
    $tempY = (($tempCurveVec.y) &#8211; ($positionVert.y))*(($tempCurveVec.y) &#8211; ($positionVert.y));<br />
    $tempZ = (($tempCurveVec.z) &#8211; ($positionVert.z))*(($tempCurveVec.z) &#8211; ($positionVert.z));<br />
    $tempDistance = ($tempX + $tempY + $tempZ);<br />
    $distance = sqrt($tempDistance);<br />
    return $distance;<br />
    }<br />
// &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; Gz Distance End &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;// </p>
<p>global proc vector[] getPointsOnCurve(string $curve)<br />
{<br />
    float $span = `getAttr ($curve+&#8221;.spans&#8221;)`;<br />
    int $k = 0;<br />
    int $m = $span *100;<br />
    float $j = 0;<br />
    vector $curveVector[];<br />
    string $infoNode;<br />
    while ($k <= $m)<br />
    {<br />
       $infoNode = `pointOnCurve -ch on -pr $j $curve`;<br />
       $curveVector[$k] = `getAttr ($infoNode + &#8220;.position&#8221;)`;    // returns the position of the point on Curve<br />
       $j=$j+.01;<br />
       $k++;<br />
    }<br />
    return $curveVector;<br />
}</p>
<p>// get your curve<br />
{<br />
string $selectionEdge[] = `ls -sl -fl`;<br />
string $curveArray[] = `polyToCurve -form 0 -degree 1 -n edgeCurve01`;<br />
string $curve = $curveArray[0];<br />
rebuildCurve -ch 1 -rpo 1 -rt 0 -end 1 -kr 1 -kcp 1 -kep 1 -kt 0 -s 4 -d 3 -tol 0.00393701 $curve;<br />
xform -cp $curve;</p>
<p>// get your verts<br />
select -r $selectionEdge;<br />
ConvertSelectionToVertices;<br />
string $vert[] =`ls -sl -fl`;</p>
<p>int $vertsToSnap = `size($vert)`-1;</p>
<p>// get the amount of spans in this jig<br />
vector $curveVector[] = getPointsOnCurve($curve);<br />
//print $curveVector;</p>
<p>int $i = 0;<br />
vector $move;<br />
while ($i <=$vertsToSnap)<br />
{<br />
    select -r $vert[$i];<br />
    $move = snapToClosestSpan($curve, $vert[$i], $curveVector);<br />
    move ($move.x) ($move.y) ($move.z) ;<br />
    $i++;<br />
    //print $vert[$i];<br />
}<br />
delete $curve;<br />
select -r $selectionEdge;<br />
}</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Gz Average Verts Script End &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-//</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=Mel+Script%2C+Average+verts+on+an+edge+loop+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F917" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/917&amp;title=Mel+Script%2C+Average+verts+on+an+edge+loop" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/917&amp;title=Mel+Script%2C+Average+verts+on+an+edge+loop" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/917&amp;t=Mel+Script%2C+Average+verts+on+an+edge+loop" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/917&amp;t=Mel+Script%2C+Average+verts+on+an+edge+loop" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Mel+Script%2C+Average+verts+on+an+edge+loop&amp;link=http://www.bg3d.com/archives/917" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/917&amp;title=Mel+Script%2C+Average+verts+on+an+edge+loop" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/917&amp;title=Mel+Script%2C+Average+verts+on+an+edge+loop" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/917/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maya Mel script Better Combine</title>
		<link>http://www.bg3d.com/archives/872</link>
		<comments>http://www.bg3d.com/archives/872#comments</comments>
		<pubDate>Sun, 27 Mar 2011 19:00:25 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[3D and CG Multimedia]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[Better]]></category>
		<category><![CDATA[Combine]]></category>
		<category><![CDATA[farmington hills]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Mel]]></category>
		<category><![CDATA[Modeling]]></category>
		<category><![CDATA[Nissan]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=872</guid>
		<description><![CDATA[This is a really simple script to be used instead of the Maya&#8217;s polygon combine. It saves me a couple of cleanup steps while I&#8217;m modeling. Normally when you combine polygons maya will pull the new poly out of any existing group and create transform nodes for every polygon that existed. If you delete history [...]]]></description>
			<content:encoded><![CDATA[<div id="yass_top_edge_dummy" style="width: 1px; height: 1px; padding: 0px; margin: -1px 0px 0px; border-width: 0px; display: block;"></div>
<div id="yass_top_edge" style="background-image: url(&quot;chrome://yass/content/edgebgtop.png&quot;); background-attachment: scroll; background-position: center bottom; padding: 0px; margin: 0px; border-width: 0px; height: 0px; display: block; width: 1505px;"></div>
<p>This is a really simple script to be used instead of the Maya&#8217;s polygon combine. It saves me a couple of cleanup steps while I&#8217;m modeling.</p>
<p>Normally when you combine polygons maya will pull the new poly out of any existing group and create transform nodes for every polygon that existed.  If you delete history on your new poly these will go away.  And possibly any group that contained your polys could have vanished as well.<br />
Well this script fixes all of that. Just beware history will be deleted in the process too. I&#8217;m sure there are some cases where you want to keep history.  Here is my <a href="Http://www.bg3d.com/scripts/mel/BetterCombine.mel">Better Combine V2.3</a> Mel Script.</p>
<p>Update: V2.3 I fixed an error, added merge verts with a tolerance of .001 and centered the pivot. you can check the code below and download the file just above.  If you like you can change the tolerance in the mel file within the area noted and you can also turn off the merge verts option. Enjoy! =D<br />
<span id="more-872"></span><br />
<code><br />
// ---- EVEN More Better Combine V2.3 ----- //<br />
// Combines Polygons deletes history and keeps it within it's Group if it is in one.<br />
// Also Keeps the name of the first Poly selected.<br />
// Now it merges verts and Centers the pivot as requested. =D<br />
// the initial Tolerance of the merge vert can be changed below or you can change it in the history after.</p>
<p>{</p>
<p>	// --------------------- Change these values for the Merge Vert Tolorance ---------------------- //<br />
	string $onOff = "on";<br />
	float $k = 0.001;<br />
	// --------------------- Change these values for the Merge Vert Tolorance ---------------------- //</p>
<p>	string $sel[]=`ls -sl -fl`;<br />
	string $fpo = `firstParentOf $sel[0]`;<br />
	string $buffer[];<br />
	string $selBuffer[];<br />
	int $numTokens = `tokenize $fpo "|" $buffer`;</p>
<p>	string $newPoly[] = `polyUnite -ch 0 -n $sel[0] $sel`;</p>
<p>	int $j=0;<br />
	int $i=0;</p>
<p>	if ($fpo != "")<br />
		{<br />
			while ($j<= $numTokens)<br />
					{<br />
						if (!`objExists $buffer[$j]`)<br />
							{<br />
								if($j != 0)<br />
								{<br />
									$j--;<br />
								}<br />
								//group -em -n $buffer[$j];<br />
								if (`objExists $buffer[$j]`)<br />
									{<br />
										parent $newPoly $buffer[$j];<br />
									}<br />
								break;<br />
							}<br />
							$j++;<br />
					}</p>
<p>		}<br />
		int $selNumTokens = `tokenize $sel[0] "|" $selBuffer`;<br />
		$i = $selNumTokens -1;<br />
		$newPoly[0] = `rename $newPoly $selBuffer[$i]`;<br />
		if ($onOff == "on")<br />
		{<br />
			polyMergeVertex  -d $k -am 1 -ch 0 $newPoly;<br />
		}<br />
		xform -cp $newPoly;<br />
		select -r $newPoly;<br />
}</code>
<div id="yass_bottom_edge" style="background-image: url(&quot;chrome://yass/content/edgebgbot.png&quot;); background-position: 0px 0px; position: static; margin: 0px; padding: 0px; border-width: 0px; height: 0px; width: 100%; display: block; top: 1299px;"></div>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=Maya+Mel+script+Better+Combine+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F872" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/872&amp;title=Maya+Mel+script+Better+Combine" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/872&amp;title=Maya+Mel+script+Better+Combine" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/872&amp;t=Maya+Mel+script+Better+Combine" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/872&amp;t=Maya+Mel+script+Better+Combine" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Maya+Mel+script+Better+Combine&amp;link=http://www.bg3d.com/archives/872" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/872&amp;title=Maya+Mel+script+Better+Combine" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/872&amp;title=Maya+Mel+script+Better+Combine" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/872/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Maya Mel Script Export Display/Render Layers to Txt File</title>
		<link>http://www.bg3d.com/archives/875</link>
		<comments>http://www.bg3d.com/archives/875#comments</comments>
		<pubDate>Thu, 24 Mar 2011 00:51:20 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[3D and CG Multimedia]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[farmington hills]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Mel]]></category>
		<category><![CDATA[Modeling]]></category>
		<category><![CDATA[Nissan]]></category>
		<category><![CDATA[render]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=875</guid>
		<description><![CDATA[This is a pretty self explanatory script, it simply exports either the display layers or the render layers as a txt file. Where I&#8217;m at now we generate a good size of layers in our scenes and we need to document them in an excel file to explain our organizational madness to anyone else opening [...]]]></description>
			<content:encoded><![CDATA[<p>This is a pretty self explanatory script, it simply exports either the display layers or the render layers as a txt file.  Where I&#8217;m at now we generate a good size of layers in our scenes and we need to document them in an excel file to explain our organizational madness to anyone else opening our work.  This does a couple of things automatically.</p>
<ul> <span style="text-decoration: underline;"> <strong>Key Features</strong></span><br />
The file exported is in a .txt file in the same location of the file you are working on<br />
The layers in the txt file are in the same order as they are in the Maya scene</ul>
<p>You can download the Mel <a href="http://www.bg3d.com/scripts/mel/LayersToTxt.mel">here</a> And you can view the script just below. Enjoy!<br />
<span id="more-875"></span><br />
		/*  Display Layers to txt file V 0.75<br />
			 Sorts and prints Layers to external .txt file within the<br />
			 directory of the current Maya file */<br />
/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
	File name extractor<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*/<br />
global proc string filepart( string $path )     // Setting up Directories<br />
		/* Extracts the name of the current open Maya file.<br />
		   Input: e.g. &#8220;D:/projects/default/scenes/myScene.mb&#8221;<br />
		   Result: e.g. &#8220;myScene.mb&#8221;<br />
		   Filepath can be delimited with<br />
		   either slash (&#8220;/&#8221; or &#8220;\&#8221;)  */<br />
{<br />
	string $filepart = match( &#8220;[^/\\]*$&#8221;, $path );<br />
	return $filepart;<br />
}<br />
/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
	File Path extractor<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*/<br />
global proc string pathpart( string $path )<br />
		/* Extracts the path out of the absolute filepath of the<br />
			current open Maya file.<br />
	   	Input: e.g. &#8220;D:/projects/default/scenes/myScene.mb&#8221;<br />
	      Result: e.g. &#8220;D:/projects/default/scenes&#8221;<br />
	   	Note: Requires that the filepath be delimited with<br />
	   	_forward_ slashes (&#8220;/&#8221;) */</p>
<p>{<br />
	string $dir = match( &#8220;^.*/&#8221;, $path );<br />
	int $sz = size( $dir );<br />
		/* Strip off trailing &#8216;/&#8217;  */<br />
	if ( ( $sz > 1 ) &#038;&#038; ( substring( $dir, $sz, $sz ) == &#8220;/&#8221; ) )<br />
	{<br />
		$dir = substring( $dir, 1, ($sz &#8211; 1) );<br />
  	}<br />
	return $dir;<br />
}<br />
/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
	Layer name File Output<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*/</p>
<p>/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
	Prompt for DisplayLayers or Render Layers<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;*/<br />
global proc string userPrompt()<br />
{<br />
string $returnVal = `confirmDialog<br />
	-title &#8220;Export Display/Render Layers as a text file&#8221;<br />
	-message &#8220;Would you like to Export the Display Layers or Render Layers as a Text File?&#8221;<br />
	-button &#8220;Display Layers&#8221;<br />
	-button &#8220;Render Layers&#8221;<br />
	-button &#8220;I&#8217;m not sure&#8221;<br />
	-defaultButton &#8220;Display Layers&#8221;<br />
	-cancelButton &#8220;I&#8217;m not sure&#8221;<br />
	-dismissString &#8220;I&#8217;m not sure&#8221;`;<br />
return $returnVal;<br />
}</p>
<p>/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
	Prompt for DisplayLayers or Render Layers<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;*/</p>
<p>string $fullpath = `file -q -loc`;<br />
string $file = filepart( $fullpath );<br />
string $directory = pathpart( $fullpath );<br />
string $projPath = `file -q -loc`;<br />
string $userInput = `userPrompt`;<br />
string $selectionSyntax;<br />
string $input;</p>
<p>if ($userInput == &#8220;Render Layers&#8221;)<br />
{<br />
	$selectionSyntax = &#8220;renderLayer&#8221;;<br />
	$input = &#8220;Render_Layer&#8221;;<br />
}<br />
	else if ($userInput == &#8220;Display Layers&#8221;)<br />
	{<br />
		$selectionSyntax = &#8220;layer&#8221;;<br />
		$input = &#8220;Display_Layer&#8221;;</p>
<p>select -r ($selectionSyntax + &#8220;Manager&#8221;);</p>
<p>string $layerManager[] = `ls -sl`;<br />
string $layer[] = `listConnections $layerManager`;<br />
// select -r $layer;</p>
<p>string $path = ($projPath + &#8220;_&#8221; +$input + &#8220;_List.txt&#8221;);<br />
int $fileId = fopen($path, &#8220;w&#8221;);<br />
int $layerCheck = size ($layer)-1;<br />
int $intDispOrder[] = {0};<br />
int $intDispOrderSize;<br />
int $i=1;</p>
<p>// fprint($fileId, &#8220;\r\n -=Beginning of Layers=- \r\n&#8221;);</p>
<p>/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
	Testing Code Area<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*/</p>
<p>// print $intDispOrder;<br />
// print $intDispOrder[6];print $intDispOrder[7];print $intDispOrder[8];<br />
// print $intDispOrder;</p>
<p>$i=1;</p>
<p>while($i<=$layerCheck)<br />
{<br />
	select $layer[$i];<br />
	$intDispOrder[$i] = `getAttr  ($layer[$i] +".displayOrder")`;<br />
	$i++;<br />
}<br />
$i=1;</p>
<p>print $intDispOrder;<br />
// int $intDispOrderSize;</p>
<p>int $intDispOrder[] = `sort $intDispOrder`;<br />
int $intDispOrderSize = size ($intDispOrder) -1;</p>
<p>fprint($fileId, "\r\n \r\n -=Beginning of " +$input+ " Layers=- \r\n");</p>
<p>// potentially dangerous loop will keep increasing file size forever.<br />
$j=$intDispOrderSize;<br />
while($j >= 1)<br />
{<br />
	$k=1;<br />
			while ($k <= $layerCheck)<br />
				{<br />
					int $currentDispOrder = `getAttr ($layer[$k] + &#8220;.displayOrder&#8221;)`;<br />
					if ($intDispOrder[$j] == $currentDispOrder)<br />
						{<br />
							fprint($fileId, &#8220;\r\n&#8221; + $layer[$k]) /* + &#8220;.displayOrder &#8221; + $currentDispOrder)*/;<br />
							$k++;<br />
						}<br />
							else<br />
								{<br />
									$k++;<br />
								}<br />
				}<br />
	$j&#8211;;<br />
}</p>
<p>fprint($fileId, &#8220;\r\n \r\n -=End of Layers=-&#8221;);<br />
fclose $fileId;<br />
print (&#8220;A &#8220;+$input+&#8221; list &#8220;+ $file +$input+&#8221;_List.txt was output to &#8221; + $directory);</p>
<p>}<br />
		else<br />
	{<br />
		warning &#8220;user is confused and should take a break&#8221;;<br />
	}<br />
/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
	Idea for making this work<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>get the list of layers<br />
get the display order number on all the layers<br />
find the highest number on the display order and run a loop that many times<br />
loop and check from 1 to highest number<br />
print it if it&#8217;s next in line.<br />
*/</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=Maya+Mel+Script+Export+Display%2FRender+Layers+to+Txt+File+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F875" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/875&amp;title=Maya+Mel+Script+Export+Display%2FRender+Layers+to+Txt+File" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/875&amp;title=Maya+Mel+Script+Export+Display%2FRender+Layers+to+Txt+File" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/875&amp;t=Maya+Mel+Script+Export+Display%2FRender+Layers+to+Txt+File" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/875&amp;t=Maya+Mel+Script+Export+Display%2FRender+Layers+to+Txt+File" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Maya+Mel+Script+Export+Display%2FRender+Layers+to+Txt+File&amp;link=http://www.bg3d.com/archives/875" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/875&amp;title=Maya+Mel+Script+Export+Display%2FRender+Layers+to+Txt+File" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/875&amp;title=Maya+Mel+Script+Export+Display%2FRender+Layers+to+Txt+File" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/875/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MEL script Wheel Measuring Device</title>
		<link>http://www.bg3d.com/archives/863</link>
		<comments>http://www.bg3d.com/archives/863#comments</comments>
		<pubDate>Thu, 17 Mar 2011 16:44:30 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[3D and CG Multimedia]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[artist]]></category>
		<category><![CDATA[car]]></category>
		<category><![CDATA[dimensions]]></category>
		<category><![CDATA[farmington hills]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Mel]]></category>
		<category><![CDATA[Michigan]]></category>
		<category><![CDATA[Modeling]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Size]]></category>
		<category><![CDATA[Tire]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=863</guid>
		<description><![CDATA[So the last year I have picked up on some mel scripting to fill in the repetitive tasks that I do as a Maya Modeler. This one here is a Wheel Measuring Device. I use this one as a reference item to build a car tire. At one point I was just modeling tire after [...]]]></description>
			<content:encoded><![CDATA[<p>So the last year I have picked up on some mel scripting to fill in the repetitive tasks that I do as a Maya Modeler.  This one here is a Wheel Measuring Device.  I use this one as a reference item to build a car tire.  At one point I was just modeling tire after tire all different sizes and shapes.</p>
<p>If you know anything about tire dimensions you have for example a &#8220;255 65 R18&#8243;. So what does all that mean? Well the first number is the tire width in millimeters.  If you haven&#8217;t changed Maya default units that would be 25.5 units or centimeters. the second number is the side wall height which is 65% of the width.  That comes out to 165.75 mm for the side wall height. Then R18 is the diameter of the rim in inches the tire will fit on.  Sometimes there is a speed rating after the diameter, it&#8217;s not all that important for modeling a tire.</p>
<p>The tire needed to be an accurate size to be able to fit on the rim nicely so I was building a cylinder with the right tire dimensions so I could get the correct circumference when wrapping the tread around.  Time and time again I  would pull out a calculator and type in the sizes I would need then build the cylinder.  I started noticing these very repetitive tasks like create cylinder, change radius, change height, rotate 90, etc etc&#8230; So I started copying things from the script editor and running them so I could just get a cylinder set up then I could change the values.  That was step 1 and it saved a little time.</p>
<p>I just wanted to be able to hit a button and put in these dimension and boom there&#8217;s my reference. So I present you the Wheel Measuring Device! Mel script. Keep in mind this is the first script I have written so be gentle on my fragile ego when commenting.  I have also learned quite a bit since I made this but I&#8217;m sure there could be something to take away from this script.  Enjoy!</p>
<p>You can either copy and paste this into the script editor or drop it into your script folder and &#8220;source&#8221; it. I recommend the later. You can also download the mel script <a href="http://www.bg3d.com/scripts/mel/WMD.mel">here</a><br />
<span id="more-863"></span><br />
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/</p>
<p>// Creating Wheel Measuring Device v0.90//<br />
string $dummywmd[] = `polyCylinder -n WheelMeasuringDevice1 -ch on -o on -r 9inch -h 235mm -sa 90 -sh 2 -sc 1 -cuv 3` ;<br />
string $wmd[] = `polyCylinder -n WheelMeasuringDevice1 -ch on -o on -r 9inch -h 235mm -sa 90 -sh 2 -sc 1 -cuv 3` ;<br />
delete $dummywmd;</p>
<p>// Extruding Side Wall //<br />
hilite $wmd ;<br />
setAttr ($wmd[0] + &#8220;.rotateZ&#8221;) 90;<br />
select -r ($wmd[0] + &#8220;.f[0:179]&#8220;) ;<br />
string $sw[] = `polyExtrudeFacet -constructionHistory 1 -keepFacesTogether 1 -divisions 1 -twist 0 -taper 1 -off 0 -smoothingAngle 30`;<br />
setAttr ($sw[0] + &#8220;.localTranslateZ&#8221;) 15;<br />
GrowPolygonSelectionRegion;<br />
ConvertSelectionToFaces;<br />
string $outerFaces[] = `ls -sl`;<br />
InvertSelection;<br />
string $innerFaces[] = `ls -sl`;<br />
string $rim[] = `polyExtrudeFacet -constructionHistory 1 -keepFacesTogether 1 -twist 0 -taper 1 -off 0 -smoothingAngle 30`;<br />
setAttr ($rim[0] + &#8220;.localTranslateZ&#8221;) -2.5;</p>
<p>// Selecting Pieces //<br />
select $outerFaces;<br />
select -add $innerFaces;<br />
InvertSelection;<br />
string $innerEdgeFaces[] = `ls -sl`;<br />
GrowPolygonSelectionRegion;<br />
InvertSelection;<br />
select -add $innerFaces;<br />
select -add $innerEdgeFaces;<br />
InvertSelection;<br />
string $sideWallFaces[] = `ls -sl`;</p>
<p>// Buldging Sidewall<br />
string $polySub[] = `polySubdivideFacet -duv 1 -dvv 2 -sbm 1 -ch 1`;<br />
ConvertSelectionToEdges;<br />
ShrinkPolygonSelectionRegion;<br />
string $sideWallEdgeLoop[] = `ls -sl`;<br />
string $SWBuldge[] = `polyMoveEdge -constructionHistory 1 -random 0 -localCenter 0`;<br />
setAttr ($SWBuldge[0] + &#8220;.localTranslate&#8221;) -type double3 0 0 2;<br />
string $SWBBevel[] = `polyBevel -offset 0.5 -offsetAsFraction 1 -autoFit 1 -segments 2 -worldSpace 0 -uvAssignment 0 -fillNgons 1 -mergeVertices 1 -mergeVertexTolerance 0.0001 -smoothingAngle 30 -miteringAngle 180 -angleTolerance 180 -ch 1`;</p>
<p>// setting up Procedures //<br />
global proc remScale (string $object)<br />
{<br />
setAttr -k off ($object + &#8220;.scaleX&#8221;);<br />
setAttr -k off ($object + &#8220;.scaleY&#8221;);<br />
setAttr -k off ($object + &#8220;.scaleZ&#8221;);<br />
}</p>
<p>global proc leaveRHeight (string $CylInput)<br />
{<br />
setAttr -cb off ($CylInput + &#8220;.roundCap&#8221;);<br />
setAttr -cb off ($CylInput + &#8220;.createUVs&#8221;);<br />
setAttr -k off ($CylInput + &#8220;.subdivisionsAxis&#8221;);<br />
setAttr -k off ($CylInput + &#8220;.subdivisionsHeight&#8221;);<br />
setAttr -k off ($CylInput + &#8220;.subdivisionsCaps&#8221;);<br />
}</p>
<p>global proc leaveDivV (string $leaveDivV)<br />
{<br />
setAttr -k off ($leaveDivV + &#8220;.divisions&#8221;);<br />
setAttr -k off ($leaveDivV + &#8220;.divisionsU&#8221;);<br />
setAttr -k off ($leaveDivV + &#8220;.mode&#8221;);<br />
setAttr -k off ($leaveDivV + &#8220;.subdMethod&#8221;);<br />
}</p>
<p>global proc leaveLTZExt (string $leaveLTZ)<br />
{<br />
setAttr -k off ($leaveLTZ + &#8220;.offset&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.taper&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.taperCurve[0].taperCurve_FloatValue&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.taperCurve[0].taperCurve_Interp&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.taperCurve[0].taperCurve_Position&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.twist&#8221;);<br />
setAttr -cb off ($leaveLTZ + &#8220;.smoothingAngle&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.divisions&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.keepFacesTogether&#8221;);<br />
}</p>
<p>global proc leaveLTZ (string $leaveLTZ)<br />
{<br />
setAttr -k off ($leaveLTZ + &#8220;.localDirectionX&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localDirectionY&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localDirectionZ&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localRotateX&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localRotateY&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localRotateZ&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localScaleX&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localScaleY&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localScaleZ&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localTranslateX&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localTranslateY&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.pivotX&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.pivotY&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.pivotZ&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.random&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.rotateX&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.rotateY&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.rotateZ&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.scaleX&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.scaleY&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.scaleZ&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.translateX&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.translateY&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.translateZ&#8221;);<br />
setAttr -k off ($leaveLTZ + &#8220;.localCenter&#8221;);<br />
}</p>
<p>//Removing unwanted Cylinder Attributes //<br />
leaveLTZExt($sw[0]);<br />
leaveLTZ($sw[0]);</p>
<p>leaveLTZExt($rim[0]);<br />
leaveLTZ($rim[0]);</p>
<p>leaveLTZ($SWBuldge[0]);<br />
leaveDivV($polySub[0]);<br />
remScale($wmd[0]);<br />
leaveRHeight($wmd[1]);</p>
<p>// Adding Tire Attributes //<br />
select -r $wmd[0] ;<br />
addAttr -ln &#8220;SideWallHeight&#8221;  -at double  -min 0 -max 100 -dv 65 ;<br />
addAttr -ln &#8220;SideWallBuldge&#8221;  -at double  -min 0 -max 500 -dv 260 ;<br />
addAttr -ln &#8220;TireWidth&#8221;  -at double  -min 0 -max 500 -dv 235 ;<br />
addAttr -ln &#8220;WheelDiameter&#8221;  -at double  -min 0 -max 100 -dv 18 ;<br />
addAttr -ln &#8220;WheelPassThrough&#8221;  -at double  -min 0 -max 1000 -dv 0 ;<br />
addAttr -ln &#8220;OuterCircumference&#8221;  -at double  -min 0 -max 10000 -dv 0 ;</p>
<p>// Making Tire Attributes Keyable //<br />
setAttr -e -keyable true ($wmd[0] + &#8220;.WheelDiameter&#8221;) ;<br />
setAttr -e -keyable true ($wmd[0] + &#8220;.SideWallBuldge&#8221;) ;<br />
setAttr -e -keyable true ($wmd[0] + &#8220;.TireWidth&#8221;) ;<br />
setAttr -e -keyable true ($wmd[0] + &#8220;.SideWallHeight&#8221;) ;<br />
setAttr -e -keyable true ($wmd[0] + &#8220;.OuterCircumference&#8221;) ;</p>
<p>// Making Circumference Dimension //<br />
select -r $wmd[0] ;<br />
string $WMDGroup = `group -n &#8220;WheelMeasuringDeviceGroup&#8221;`; xform -os -piv 0 0 0;</p>
<p>string $CircumDimension = &#8220;CircumferenceDimension1&#8243;;<br />
string $DummyLoc1[] = `spaceLocator -p 50 50 50 -n DistanceLocator1`;<br />
string $DummyLoc2[] = `spaceLocator -p 50 50 51 -n DistanceLocator1`;<br />
distanceDimension -sp 50 50 50 -ep 50 50 51;<br />
string $DummyDimen[] = `ls -sl`;<br />
string $DummyCircumDimension = `rename $DummyDimen[1] $CircumDimension`;<br />
string $DistLoc1[] = `spaceLocator -p 0 1 0 -n DistanceLocator1`;<br />
string $DistLoc2[] = `spaceLocator -p 0 1000mm 0 -n DistanceLocator1`;<br />
distanceDimension -sp 0 1 0 -ep 0 1000mm 0;<br />
string $DistDimen[] = `ls -sl`;<br />
select -r $DistLoc1;<br />
xform -cp;<br />
move -r 0 -1 0;<br />
select -r $DistLoc2;<br />
xform -cp;<br />
move -r 0 -1000mm 0;<br />
FreezeTransformations;</p>
<p>string $CircumDimension = `rename $DistDimen[1] $CircumDimension`;<br />
delete $DummyCircumDimension;<br />
delete $DummyLoc1;<br />
delete $DummyLoc2;</p>
<p>string $DummySphere[] = `sphere`;<br />
select $DummySphere;<br />
string $DummyCDG = `group -n &#8220;CircumferenceDimensionGroup1&#8243;`;</p>
<p>select -r $DistLoc1 $DistLoc2 $CircumDimension;<br />
string $CDGroup = `group -n &#8220;CircumferenceDimensionGroup1&#8243;`;</p>
<p>delete $DummyCDG;<br />
parent $CDGroup $WMDGroup;</p>
<p>// Making Annotation //<br />
select -r $DistLoc2[0];<br />
xform -cp;<br />
string $CircAnnotateShape = `annotate -tx &#8220;Circumference&#8221; -p 300mm 2500mm 300mm`;<br />
select -r $CircAnnotateShape;<br />
string $CircAnnotate[] = `pickWalk -d up`;<br />
parent $CircAnnotate $CDGroup;</p>
<p>// Connecting Attributes //<br />
select -r $wmd[0];</p>
<p>string $swBuldgeStr = $SWBuldge[0] + &#8220;.localTranslateZ = (&#8221; + $wmd[0] + &#8220;.SideWallBuldge &#8211; &#8221; + $wmd[0] + &#8220;.TireWidth) * .1&#8243;;<br />
expression -s $swBuldgeStr -o $wmd[1] -n &#8220;SideWallBuldgeExpression&#8221; -ae 1 -uc all ;</p>
<p>string $swhExpStr = $sw[0] + &#8220;.localTranslateZ = &#8221; + $wmd[0] + &#8220;.SideWallHeight *  0.01 * &#8221; + $wmd[1] + &#8220;.height&#8221;;<br />
expression -s $swhExpStr -o $wmd[1] -n &#8220;SideWallHeightExpression&#8221; -ae 1 -uc all ;</p>
<p>string $wdExpStr = $wmd[0] + &#8220;.WheelPassThrough = &#8221; + $wmd[0] + &#8220;.WheelDiameter * 2.54 * .5&#8243;;<br />
expression -s $wdExpStr -o $wmd[0] -n &#8220;WheelDiameterExpression&#8221; -ae 1 -uc all ;</p>
<p>string $cirExpStr = $wmd[0] + &#8220;.OuterCircumference = ((&#8221; + $wmd[1] + &#8220;.radius * 2)  + (&#8221; + $sw[0] + &#8220;.localTranslateZ * 2)) * 3.1415926535&#8243;;<br />
expression -s $cirExpStr -o $wmd[0] -n &#8220;WheelCircumferenceExpression&#8221; -ae 1 -uc all ;</p>
<p>string $tireWidthStr = $wmd[1] + &#8220;.height = &#8221; + $wmd[0] + &#8220;.TireWidth * .1&#8243;;<br />
expression -s $tireWidthStr -o $wmd[1] -n &#8220;TireWidthExpression&#8221; -ae 1 -uc all ;</p>
<p>/*TireWidth Passthrough<br />
*/<br />
connectAttr -f ($wmd[0] + &#8220;.WheelPassThrough&#8221;) ($wmd[1] + &#8220;.radius&#8221;);<br />
connectAttr -f ($wmd[0] + &#8220;.OuterCircumference&#8221;) ($DistLoc2[0] + &#8220;.translateY&#8221;);</p>
<p>/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=MEL+script+Wheel+Measuring+Device+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F863" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/863&amp;title=MEL+script+Wheel+Measuring+Device" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/863&amp;title=MEL+script+Wheel+Measuring+Device" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/863&amp;t=MEL+script+Wheel+Measuring+Device" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/863&amp;t=MEL+script+Wheel+Measuring+Device" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=MEL+script+Wheel+Measuring+Device&amp;link=http://www.bg3d.com/archives/863" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/863&amp;title=MEL+script+Wheel+Measuring+Device" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/863&amp;title=MEL+script+Wheel+Measuring+Device" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/863/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D Model of Ligne Roset Maly Platform Bed</title>
		<link>http://www.bg3d.com/archives/842</link>
		<comments>http://www.bg3d.com/archives/842#comments</comments>
		<pubDate>Wed, 01 Sep 2010 23:00:05 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[3D and CG Multimedia]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Bed]]></category>
		<category><![CDATA[Ligne Roset]]></category>
		<category><![CDATA[Maly]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Modeling]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=842</guid>
		<description><![CDATA[I modeled this Bed from photo&#8217;s and used it in a bedroom setup for demonstration purposes. This model is available on Turbosquid if your interested in purchasing. Mouse over image for wire frame.]]></description>
			<content:encoded><![CDATA[<p>I modeled this Bed from photo&#8217;s and used it in a bedroom setup for demonstration purposes.  This model is available on <a href="http://www.turbosquid.com/Search/Artists/Brictone?referral=Brictone">Turbosquid</a> if your interested in purchasing.</p>
<p><a href=http://www.turbosquid.com/FullPreview/Index.cfm/ID/554378?referral=Brictone onMouseOver="ImageName.src='http://www.bg3d.com/wp-content/uploads/2010/09/LigneRosetMalyBed_Comp_WireFrame02.jpg'" onMouseOut="ImageName.src='http://www.bg3d.com/wp-content/uploads/2010/09/LigneRosetMalyBed_Comp01.jpg'"><img src=http://www.bg3d.com/wp-content/uploads/2010/09/LigneRosetMalyBed_Comp01.jpg name=ImageName width="610" height="343" /> </a><br />
Mouse over image for wire frame.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=3D+Model+of+Ligne+Roset+Maly+Platform+Bed+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F842" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/842&amp;title=3D+Model+of+Ligne+Roset+Maly+Platform+Bed" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/842&amp;title=3D+Model+of+Ligne+Roset+Maly+Platform+Bed" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/842&amp;t=3D+Model+of+Ligne+Roset+Maly+Platform+Bed" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/842&amp;t=3D+Model+of+Ligne+Roset+Maly+Platform+Bed" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=3D+Model+of+Ligne+Roset+Maly+Platform+Bed&amp;link=http://www.bg3d.com/archives/842" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/842&amp;title=3D+Model+of+Ligne+Roset+Maly+Platform+Bed" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/842&amp;title=3D+Model+of+Ligne+Roset+Maly+Platform+Bed" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/842/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>*Update 04* WIP Photoreal rendering of GaugeMux USB with Maya</title>
		<link>http://www.bg3d.com/archives/599</link>
		<comments>http://www.bg3d.com/archives/599#comments</comments>
		<pubDate>Wed, 06 Jan 2010 18:14:19 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[3D and CG Multimedia]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[WIP]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[360]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[GaugeMux]]></category>
		<category><![CDATA[January]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Mental Ray]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=599</guid>
		<description><![CDATA[Modeled this GaugeMux USB and rendered it for use at www.asdqms.com in the future. I don&#8217;t know how to embed this flash rotate thingy into wordpress yet so I put it up here. http://www.bg3d.com/vids/cg/GaugeMux/ Click image for Full Size Click For Full Size]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">Modeled this GaugeMux USB and rendered it for use at www.asdqms.com in the future.</p>
<p>I don&#8217;t know how to embed this flash rotate thingy into wordpress yet so I put it up here.</p>
<p><a href="http://www.bg3d.com/vids/cg/GaugeMux/">http://www.bg3d.com/vids/cg/GaugeMux/</a></p>
<p><a href="http://www.bg3d.com/wp-content/uploads/2010/01/GaugMux1080Sample02.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-large wp-image-605" title="GaugMux1080Sample02" src="http://www.bg3d.com/wp-content/uploads/2010/01/GaugMux1080Sample02-1024x576.jpg" alt="" width="614" height="346" /></a>Click image for Full Size</p>
<p style="text-align: center;"><a href="http://www.bg3d.com/wp-content/uploads/2010/01/GaugMux.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-large wp-image-600" title="GaugMux" src="http://www.bg3d.com/wp-content/uploads/2010/01/GaugMux-1024x576.jpg" alt="4 Port GaugeMux USB" width="614" height="346" /></a>Click For Full Size</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=%2AUpdate+04%2A+WIP+Photoreal+rendering+of+GaugeMux+USB+with+Maya+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F599" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/599&amp;title=%2AUpdate+04%2A+WIP+Photoreal+rendering+of+GaugeMux+USB+with+Maya" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/599&amp;title=%2AUpdate+04%2A+WIP+Photoreal+rendering+of+GaugeMux+USB+with+Maya" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/599&amp;t=%2AUpdate+04%2A+WIP+Photoreal+rendering+of+GaugeMux+USB+with+Maya" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/599&amp;t=%2AUpdate+04%2A+WIP+Photoreal+rendering+of+GaugeMux+USB+with+Maya" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=%2AUpdate+04%2A+WIP+Photoreal+rendering+of+GaugeMux+USB+with+Maya&amp;link=http://www.bg3d.com/archives/599" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/599&amp;title=%2AUpdate+04%2A+WIP+Photoreal+rendering+of+GaugeMux+USB+with+Maya" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/599&amp;title=%2AUpdate+04%2A+WIP+Photoreal+rendering+of+GaugeMux+USB+with+Maya" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/599/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UPDATE 04: WIP for Bleu Current Multimedia logo RealFlow Maya animation</title>
		<link>http://www.bg3d.com/archives/516</link>
		<comments>http://www.bg3d.com/archives/516#comments</comments>
		<pubDate>Thu, 05 Nov 2009 10:00:52 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[3D and CG Multimedia]]></category>
		<category><![CDATA[WIP]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Bleu Current]]></category>
		<category><![CDATA[Fluid]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Real Flow]]></category>
		<category><![CDATA[Royal Oak]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=516</guid>
		<description><![CDATA[So it turns out it&#8217;s really hard to make the water turn into a specific shape and look natural. Here&#8217;s 2 more samples of where I&#8217;m at. Click below to see the previous versions. Updated! This is my first attempt at RealFlow with Maya. I did a simple blend to kind of show how this [...]]]></description>
			<content:encoded><![CDATA[<p>So it turns out it&#8217;s really hard to make the water turn into a specific shape and look natural.  Here&#8217;s 2 more samples of where I&#8217;m at.</p>
<div class="flvPlayer">				<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="625" height="369"><param name="movie" value="https://media.dreamhost.com/mediaplayer.swf?file=http://www.bg3d.com/vids/cg/wip/Bulb04.flv&amp;autoStart=false;" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="https://media.dreamhost.com/mediaplayer.swf?file=http://www.bg3d.com/vids/cg/wip/Bulb04.flv&amp;autoStart=false;" quality="high" wmode="transparent" width="625" height="369" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><br />
				</object></div>
<p>Click below to see the previous versions.<br />
<span id="more-516"></span><br />
Updated! This is my first attempt at RealFlow with Maya.  I did a simple blend to kind of show how this animation will be implemented with the logo.  This will probably need some more adjustmenting.<param name="allowfullscreen" value="true" /><div class="flvPlayer">				<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="625" height="369"><param name="movie" value="https://media.dreamhost.com/mediaplayer.swf?file=http://www.bg3d.com/vids/cg/wip/Bulb03XviD_conv.flv&amp;autoStart=false;" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="https://media.dreamhost.com/mediaplayer.swf?file=http://www.bg3d.com/vids/cg/wip/Bulb03XviD_conv.flv&amp;autoStart=false;" quality="high" wmode="transparent" width="625" height="369" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><br />
				</object></div>
<p>This is an animation I&#8217;m working on for Bleu Current Multimedia.  I attempted to use Maya Fluids although I&#8217;m pretty sure I&#8217;m unable to get the result I want with it so I&#8217;m changing gears and going to give Real Flow a shot.  This is the progress up to this point.   If anyone has any advice, feel free.</p>
<p><object width="620" height="349"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=7070127&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=7070127&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="620" height="349"></embed></object></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=UPDATE+04%3A+WIP+for+Bleu+Current+Multimedia+logo+RealFlow+Maya+animation+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F516" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/516&amp;title=UPDATE+04%3A+WIP+for+Bleu+Current+Multimedia+logo+RealFlow+Maya+animation" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/516&amp;title=UPDATE+04%3A+WIP+for+Bleu+Current+Multimedia+logo+RealFlow+Maya+animation" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/516&amp;t=UPDATE+04%3A+WIP+for+Bleu+Current+Multimedia+logo+RealFlow+Maya+animation" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/516&amp;t=UPDATE+04%3A+WIP+for+Bleu+Current+Multimedia+logo+RealFlow+Maya+animation" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=UPDATE+04%3A+WIP+for+Bleu+Current+Multimedia+logo+RealFlow+Maya+animation&amp;link=http://www.bg3d.com/archives/516" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/516&amp;title=UPDATE+04%3A+WIP+for+Bleu+Current+Multimedia+logo+RealFlow+Maya+animation" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/516&amp;title=UPDATE+04%3A+WIP+for+Bleu+Current+Multimedia+logo+RealFlow+Maya+animation" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/516/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cycling Jersey 3D model for PuinSai.com</title>
		<link>http://www.bg3d.com/archives/422</link>
		<comments>http://www.bg3d.com/archives/422#comments</comments>
		<pubDate>Wed, 29 Jul 2009 00:48:12 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[3D and CG Multimedia]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[artist]]></category>
		<category><![CDATA[Cycle]]></category>
		<category><![CDATA[Cycling]]></category>
		<category><![CDATA[Florida]]></category>
		<category><![CDATA[Jersey]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[texture]]></category>
		<category><![CDATA[wireframe]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=422</guid>
		<description><![CDATA[This is a cycling jersey I modeled for the purpose of creating designs and displaying them on a 3D model. The UV&#8217;s are laid out based on the way the clothing pattern is cut. Mouse over image for wire frame.]]></description>
			<content:encoded><![CDATA[<p>This is a cycling jersey I modeled for the purpose of creating designs and displaying them on a 3D model.  The UV&#8217;s are laid out based on the way the clothing pattern is cut.</p>
<p><a href=pics/cg/puinsai/CyclingJersey.jpg onMouseOver="ImageName.src='http://www.bg3d.com/pics/cg/puinsai/CyclingJerseyWireFrame.jpg'" onMouseOut="ImageName.src='http://www.bg3d.com/pics/cg/puinsai/CyclingJersey.jpg'"><img src=http://www.bg3d.com/pics/cg/puinsai/CyclingJersey.jpg name=ImageName width="610" height="343" /> </a><br />
Mouse over image for wire frame.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=Cycling+Jersey+3D+model+for+PuinSai.com+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F422" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/422&amp;title=Cycling+Jersey+3D+model+for+PuinSai.com" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/422&amp;title=Cycling+Jersey+3D+model+for+PuinSai.com" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/422&amp;t=Cycling+Jersey+3D+model+for+PuinSai.com" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/422&amp;t=Cycling+Jersey+3D+model+for+PuinSai.com" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Cycling+Jersey+3D+model+for+PuinSai.com&amp;link=http://www.bg3d.com/archives/422" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/422&amp;title=Cycling+Jersey+3D+model+for+PuinSai.com" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/422&amp;title=Cycling+Jersey+3D+model+for+PuinSai.com" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/422/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D artist will jump for job interview, literally!</title>
		<link>http://www.bg3d.com/archives/315</link>
		<comments>http://www.bg3d.com/archives/315#comments</comments>
		<pubDate>Sun, 21 Jun 2009 20:30:44 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[3D and CG Multimedia]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Jumping stilts]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[artist]]></category>
		<category><![CDATA[Bock]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Jump]]></category>
		<category><![CDATA[Jumping]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[San Francisco]]></category>
		<category><![CDATA[Stilts]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=315</guid>
		<description><![CDATA[It&#8217;s time to launch the secret weapon.  I didn&#8217;t want it to have to come to this but you&#8217;ve asked for it! I&#8217;ll be at Embarcadero and Bryant in San Francisco  after 2pm.  Come on out and have a go on some jumping stilts!]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time to launch the secret weapon.  I didn&#8217;t want it to have to come to this but you&#8217;ve asked for it!</p>
<p>I&#8217;ll be at Embarcadero and Bryant in San Francisco  after 2pm.  Come on out and have a go on some jumping stilts!</p>
<p style="text-align: center;"><a href="http://www.bg3d.com/wp-content/uploads/2009/06/SSPX0426.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-large wp-image-316" title="Tshirt &quot;3D artist will jump for job interview&quot;" src="http://www.bg3d.com/wp-content/uploads/2009/06/SSPX0426-1024x768.jpg" alt="Tshirt &quot;3D artist will jump for job interview&quot;" width="614" height="461" /></a></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=3D+artist+will+jump+for+job+interview%2C+literally%21+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F315" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/315&amp;title=3D+artist+will+jump+for+job+interview%2C+literally%21" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/315&amp;title=3D+artist+will+jump+for+job+interview%2C+literally%21" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/315&amp;t=3D+artist+will+jump+for+job+interview%2C+literally%21" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/315&amp;t=3D+artist+will+jump+for+job+interview%2C+literally%21" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=3D+artist+will+jump+for+job+interview%2C+literally%21&amp;link=http://www.bg3d.com/archives/315" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/315&amp;title=3D+artist+will+jump+for+job+interview%2C+literally%21" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/315&amp;title=3D+artist+will+jump+for+job+interview%2C+literally%21" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/315/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Akralon World</title>
		<link>http://www.bg3d.com/archives/165</link>
		<comments>http://www.bg3d.com/archives/165#comments</comments>
		<pubDate>Tue, 03 Mar 2009 01:48:01 +0000</pubDate>
		<dc:creator>Brian Gottlieb</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.bg3d.com/?p=165</guid>
		<description><![CDATA[www.AkralonWorld.com This is my latest project here.  I basically know very little about building a website.  I&#8217;ve been introduced to these things called wordpress (which is this site) and Drupal (which is basically wordpress on steriods(Which is kick ass by the way!))  So I just made a website with like no programing knowledge and it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<h3><a href="http://www.AkralonWorld.com">www.AkralonWorld.com</a></h3>
<p>This is my latest project here.  I basically know very little about building a website.  I&#8217;ve been introduced to these things called wordpress (which is this site) and Drupal (which is basically wordpress on steriods(Which is kick ass by the way!))  <span id="more-165"></span> So I just made a website with like no programing knowledge and it&#8217;s functional and  I&#8217;d say it looks pretty cool.  I&#8217;m working on getting some music working in the Tavern and there&#8217;s a couple of chat rooms and a forum.</p>
<p>The Library will feature books of legends based in the world of Akralon.  Also any maps and such will be in there.</p>
<p>For now the Town hall isn&#8217;t much but we plan on having important discussions take place here. (Forums)</p>
<p>The Tavern is where you go to chat with others and can listen to the music of Akralon.  Looking at getting an open mic night going.</p>
<p>The Museum is currently under construction and will be open to the public soon.</p>
<p>www.AkralonWorld.com</p>
<p>See you in Akralon!</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=Akralon+World+http%3A%2F%2Fwww.bg3d.com%2Farchives%2F165" title="Post to Twitter"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.bg3d.com/archives/165&amp;title=Akralon+World" title="Post to Delicious"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.bg3d.com/archives/165&amp;title=Akralon+World" title="Post to Digg"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.bg3d.com/archives/165&amp;t=Akralon+World" title="Post to Facebook"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.bg3d.com/archives/165&amp;t=Akralon+World" title="Post to MySpace"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/myspace/tt-myspace.png" alt="Post to MySpace" /></a> <a target="_blank" class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Akralon+World&amp;link=http://www.bg3d.com/archives/165" title="Post to Ping.fm"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/ping/tt-ping.png" alt="Post to Ping.fm" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.bg3d.com/archives/165&amp;title=Akralon+World" title="Post to Reddit"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.bg3d.com/archives/165&amp;title=Akralon+World" title="Post to StumbleUpon"><img class="nothumb" src="http://www.bg3d.com/wp-content/plugins/tweet-this/icons/en/su/tt-su.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.bg3d.com/archives/165/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

