<?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>[:.]</title>
	<atom:link href="http://www.lorenzoangeli.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.lorenzoangeli.net</link>
	<description>For Scientists of Animation Only</description>
	<lastBuildDate>Thu, 17 Nov 2011 10:02:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>drQt updates</title>
		<link>http://www.lorenzoangeli.net/?p=606</link>
		<comments>http://www.lorenzoangeli.net/?p=606#comments</comments>
		<pubDate>Mon, 25 Apr 2011 21:07:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[drqt]]></category>
		<category><![CDATA[pipeline]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lorenzoangeli.net/?p=606</guid>
		<description><![CDATA[﻿﻿]]></description>
			<content:encoded><![CDATA[<p>
<div class="ngg-galleryoverview" id="ngg-gallery-6-606">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.lorenzoangeli.net/?p=606&amp;show=slide">
			[Show as slideshow]		</a>
	</div>

	
	<!-- Thumbnails -->
		
	<div id="ngg-image-34" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/create_job.png" title=" " class="shutterset_set_6" >
								<img title="create_job" alt="create_job" src="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/thumbs/thumbs_create_job.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-35" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/flags.png" title=" " class="shutterset_set_6" >
								<img title="flags" alt="flags" src="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/thumbs/thumbs_flags.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-36" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/job_node_view.png" title=" " class="shutterset_set_6" >
								<img title="job_node_view" alt="job_node_view" src="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/thumbs/thumbs_job_node_view.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-37" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/jobs_view.png" title=" " class="shutterset_set_6" >
								<img title="jobs_view" alt="jobs_view" src="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/thumbs/thumbs_jobs_view.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-38" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/limits.png" title=" " class="shutterset_set_6" >
								<img title="limits" alt="limits" src="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/thumbs/thumbs_limits.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-39" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/slaves_view.png" title=" " class="shutterset_set_6" >
								<img title="slaves_view" alt="slaves_view" src="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/thumbs/thumbs_slaves_view.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-40" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/standalone_node_view.png" title=" " class="shutterset_set_6" >
								<img title="standalone_node_view" alt="standalone_node_view" src="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/thumbs/thumbs_standalone_node_view.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-33" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/create_custom_job.png" title=" " class="shutterset_set_6" >
								<img title="create_custom_job" alt="create_custom_job" src="http://www.lorenzoangeli.net/wp-content/gallery/drqt_updates/thumbs/thumbs_create_custom_job.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>

﻿﻿</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzoangeli.net/?feed=rss2&#038;p=606</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>drQt</title>
		<link>http://www.lorenzoangeli.net/?p=562</link>
		<comments>http://www.lorenzoangeli.net/?p=562#comments</comments>
		<pubDate>Sun, 02 Jan 2011 17:42:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[drqt]]></category>
		<category><![CDATA[pipeline]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.lorenzoangeli.net/?p=562</guid>
		<description><![CDATA[drQt is a new project i&#8217;ve started and it aims to move and redesign the drqman interface with the help of PyQt . The project is hosted on gitHub at this addess : https://github.com/hdd/drqt and is in need of  some love and help If you are reading this article and you are using drQt please [...]]]></description>
			<content:encoded><![CDATA[<p>drQt is a new project i&#8217;ve started and it aims to move and redesign the drqman interface with the help of PyQt .<span id="more-562"></span></p>
<p>The project is hosted on gitHub at this addess :<br />
<a title="drqt_git" href="https://github.com/hdd/drqt" target="_blank"> https://github.com/hdd/drqt</a></p>
<p>and is in need of  some love and help<br />
If you are reading this article and you are using drQt please test it and report if there&#8217;s any problems.</p>
<p><strong>To Do:</strong></p>
<ul>
<li>create new job</li>
<li>environment variables in tooltips</li>
<li>job type icons (maya , aqsis, blender&#8230;etc)</li>
<li>job dependency in node view</li>
</ul>
<p>some images of the current status:</p>

<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt/drQt2.jpg" title="" class="shutterset_singlepic17" >
	<img class="ngg-singlepic" src="http://www.lorenzoangeli.net/wp-content/gallery/cache/17__320x240_drQt2.jpg" alt="drQt2" title="drQt2" />
</a>


<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt/drQt.jpg" title="" class="shutterset_singlepic16" >
	<img class="ngg-singlepic" src="http://www.lorenzoangeli.net/wp-content/gallery/cache/16__320x240_drQt.jpg" alt="drQt" title="drQt" />
</a>


<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt/drQt3.jpg" title="" class="shutterset_singlepic18" >
	<img class="ngg-singlepic" src="http://www.lorenzoangeli.net/wp-content/gallery/cache/18__320x240_drQt3.jpg" alt="drQt3" title="drQt3" />
</a>


<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt/drQt4.jpg" title="" class="shutterset_singlepic19" >
	<img class="ngg-singlepic" src="http://www.lorenzoangeli.net/wp-content/gallery/cache/19__320x240_drQt4.jpg" alt="drQt4" title="drQt4" />
</a>


<a href="http://www.lorenzoangeli.net/wp-content/gallery/drqt/drQt5.jpg" title="" class="shutterset_singlepic20" >
	<img class="ngg-singlepic" src="http://www.lorenzoangeli.net/wp-content/gallery/cache/20__320x240_drQt5.jpg" alt="drQt5" title="drQt5" />
</a>

]]></content:encoded>
			<wfw:commentRss>http://www.lorenzoangeli.net/?feed=rss2&#038;p=562</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Extending the MayaAPI with python</title>
		<link>http://www.lorenzoangeli.net/?p=455</link>
		<comments>http://www.lorenzoangeli.net/?p=455#comments</comments>
		<pubDate>Sun, 24 Oct 2010 12:46:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[maya]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lorenzoangeli.net/?p=455</guid>
		<description><![CDATA[If you are used to code with python under maya , you are already aware that the maya API doesn&#8217;t cover all the node types available. The only thing that have to be done is creating a new class , inherited from an MFnDependency node, and start overriding the create function . In this example [...]]]></description>
			<content:encoded><![CDATA[<p>If you are used to code with python under maya , you are already aware that the maya API doesn&#8217;t cover all the node types available.<br />
The only thing that have to be done is creating a new class , inherited from an MFnDependency node, and start overriding the create function .<span id="more-455"></span></p>
<p>In this example we are going to create a new Maya Function and a Maya Iterator to work on the joints.</p>
<p>As first thing we need to import the maya API</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">import</span> maya.<span style="color: black;">OpenMaya</span> <span style="color: #ff7700;font-weight:bold;">as</span> OpenMaya</div></td></tr></tbody></table></div>
<p>Here we create the MFnJoint inheriting from the standard MFnDependencyNode</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">class</span> MFnJoint<span style="color: black;">&#40;</span>OpenMaya.<span style="color: black;">MFnDependencyNode</span><span style="color: black;">&#41;</span>:<br />
<span style="color: #ff7700;font-weight:bold;">def</span> <span style="color: #0000cd;">__init__</span><span style="color: black;">&#40;</span><span style="color: #008000;">self</span><span style="color: #66cc66;">,</span>*args<span style="color: black;">&#41;</span>:<br />
<span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #008000;">super</span><span style="color: black;">&#40;</span>MFnJoint<span style="color: #66cc66;">,</span><span style="color: #008000;">self</span><span style="color: black;">&#41;</span>.<span style="color: #0000cd;">__init__</span><span style="color: black;">&#40;</span>*args<span style="color: black;">&#41;</span><br />
<br />
<span style="color: #ff7700;font-weight:bold;">def</span> create<span style="color: black;">&#40;</span><span style="color: #008000;">self</span><span style="color: #66cc66;">,</span>*args<span style="color: black;">&#41;</span>:<br />
<span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> args:<br />
<span style="color: #808080; font-style: italic;"># here is where the magic happen, if no argument are passed to the function we create a joint , named bone</span><br />
<span style="color: #008000;">super</span><span style="color: black;">&#40;</span>MFnJoint<span style="color: #66cc66;">,</span><span style="color: #008000;">self</span><span style="color: black;">&#41;</span>.<span style="color: black;">create</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;joint&quot;</span><span style="color: #66cc66;">,</span><span style="color: #483d8b;">&quot;bone&quot;</span><span style="color: black;">&#41;</span><br />
<span style="color: #ff7700;font-weight:bold;">else</span>:<br />
<span style="color: #008000;">super</span><span style="color: black;">&#40;</span>MFnJoint<span style="color: #66cc66;">,</span><span style="color: #008000;">self</span><span style="color: black;">&#41;</span>.<span style="color: black;">create</span><span style="color: black;">&#40;</span>*args<span style="color: black;">&#41;</span></div></td></tr></tbody></table></div>
<p>For the Iterator , we override the init function of the MItDependencyNodes, setting the filter by default on kJoint</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">class</span> MItJoint<span style="color: black;">&#40;</span>OpenMaya.<span style="color: black;">MItDependencyNodes</span><span style="color: black;">&#41;</span>:<br />
<span style="color: #ff7700;font-weight:bold;">def</span> <span style="color: #0000cd;">__init__</span><span style="color: black;">&#40;</span><span style="color: #008000;">self</span><span style="color: #66cc66;">,</span>*args<span style="color: black;">&#41;</span>:<br />
<span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #008000;">super</span><span style="color: black;">&#40;</span>MItJoint<span style="color: #66cc66;">,</span><span style="color: #008000;">self</span><span style="color: black;">&#41;</span>.<span style="color: #0000cd;">__init__</span><span style="color: black;">&#40;</span>OpenMaya.<span style="color: black;">MFn</span>.<span style="color: black;">kJoint</span><span style="color: black;">&#41;</span></div></td></tr></tbody></table></div>
<p>Not is time to start using this 2 shiny new classes &#8230;..</p>
<p>let&#8217;s create a new joint</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">B<span style="color: #66cc66;">=</span>MFnJoint<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><br />
B.<span style="color: black;">create</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></div></td></tr></tbody></table></div>
<p>and use the new iterator to get all the joints in the scene&#8230;..</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iterJ <span style="color: #66cc66;">=</span> MItJoint<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><br />
<span style="color: #ff7700;font-weight:bold;">while</span> <span style="color: black;">&#40;</span><span style="color: #ff7700;font-weight:bold;">not</span> iterJ.<span style="color: black;">isDone</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>:<br />
Jnt<span style="color: #66cc66;">=</span>MFnJoint<span style="color: black;">&#40;</span>iterJ.<span style="color: black;">item</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><br />
<span style="color: #ff7700;font-weight:bold;">print</span> Jnt.<span style="color: black;">name</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><br />
iterJ.<span style="color: black;">next</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></div></td></tr></tbody></table></div>
<p>The next step is to start collecting all your custom functions and iterator in a module to start importing them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzoangeli.net/?feed=rss2&#038;p=455</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>maya plugins developement under linux</title>
		<link>http://www.lorenzoangeli.net/?p=361</link>
		<comments>http://www.lorenzoangeli.net/?p=361#comments</comments>
		<pubDate>Sun, 26 Sep 2010 02:59:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[maya]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lorenzoangeli.net/?p=361</guid>
		<description><![CDATA[There&#8217;s a simple way to code maya plugins (and not only these) under linux, and it runs under the name net beans. This java software permits to set up a full configurable develpment environment with some easy steps , and It&#8217;s able to perform some interesting features: Code auto competition Visual Debuging Software installation these [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a simple way to code maya plugins (and not only these) under linux,<br />
and it runs under the name net beans.<span id="more-361"></span></p>
<p>This java software permits to set up a full configurable develpment environment with some easy steps ,<br />
and It&#8217;s able to perform some interesting features:</p>
<ul>
<li>Code auto competition</li>
<li>Visual Debuging</li>
</ul>
<h3>Software installation</h3>
<p>these steps have to be done , only if you want to install a new version aside to the default one)</p>
<p>NetBeans can be freely downloaded from <a href="http://netbeans.org/features/cpp/">it&#8217;s site</a><br />
The version you&#8217;ll have to download , is the c++ one, otherwise youl&#8217;ll have to install the missing plugin</p>
<p>Decompress the file in your local bin folder<br />
and start the software from there.</p>
<h3>Software configuration</h3>
<p>To configure this IDE ,to properly hande the plugins developement,<br />
there are some simple steps that have to be followed in order.</p>
<p>supposed you have your gcc412 compiled with the correct flags somewhere on the disk&#8230;</p>
<h3>Create a new builder</h3>
<p>To be able to safely compile and link the plugins you have to use the right version of the gcc compiler , and you have to teach netbeans to use it.</p>
<p>To do so , open the netbeans preferences:</p>
<ul>
<li><em><strong>Tool -&gt; options -&gt; C/C++<br />
</strong></em></li>
</ul>
<p>and in the build tools list add a new tool collection pressing Add ..<br />
it will open a simple interface which will ask you , for a base directory path,<br />
Set it to your gcc412 bin directory .</p>
<p>In case you followed the gcc post , set it to   /opt/gcc412/bin</p>
<p>Set the Tool Collection Name as <strong>mayaDev</strong></p>
<p>The full set of preferences is provided here :</p>
<table style="width: 100%;" border="1" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td>Family</td>
<td>GNU</td>
</tr>
<tr>
<td>Base Directory</td>
<td>/opt/gcc412/bin</td>
</tr>
<tr>
<td>C Compiler</td>
<td>/opt/gcc412/bin/gcc412</td>
</tr>
<tr>
<td>C++ Compiler</td>
<td>/opt/gcc412/bin/g++412</td>
</tr>
<tr>
<td>Make Command</td>
<td>/usr/bin/gmake</td>
</tr>
<tr>
<td>Debugger Command</td>
<td>/usr/bin/gdb</td>
</tr>
<tr>
<td>CMake Command</td>
<td>/usr/bin/cmake</td>
</tr>
</tbody>
</table>
<h3>Start a new plugin</h3>
<ol>
<li>go to new , and select a new c++ dynamic library</li>
</ol>
<ul>
<li><strong>File -&gt; New Project -&gt; C/C++ -&gt; C/C++ Dynamic Library -&gt; Next &gt;<br />
</strong></li>
<li>Set the project name and path as preferences.</li>
</ul>
<ol>
<li>right click on the project to set up the properties</li>
</ol>
<ul>
<li><strong>configuration -&gt; &lt;all configurations&gt;</strong><br />
select this option from the drop down menu<br />
to be able to share the basic setting between the build configurations</li>
<li><strong>build -&gt; tool collection<br />
</strong>Set it to your gcc412 tool collection <strong>mayaDev</strong>, or another compatible one</li>
<li><strong>C++ compiler -&gt;</strong><br />
there are some path that have to be set up:</p>
<table style="width: 100%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>there<em>include directories</em></td>
<td><em>${MAYA_LOCATION}/maya/include</em></td>
</tr>
<tr>
<td><em>libraries</em></td>
<td><em>_BOOL , INCLUDE_IOSTREAM ,</em>REQUIRE_IOSTREAM<em>, LINUX</em></td>
</tr>
</tbody>
</table>
</li>
<li><strong>linked -&gt;</strong><br />
<table style="width: 100%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><em>additional library directories </em></td>
<td><em>${MAYA_LOCATION}/maya/lib</em></td>
</tr>
<tr>
<td><em>libraries</em></td>
<td><em>libOpenMaya.so, libFoundation.so</em></td>
</tr>
</tbody>
</table>
<p><em><br />
</em></li>
</ul>
<h3><strong>Code </strong>Autocompetition</h3>
<p>To check if everything is well configured create a main.cpp file and include some maya headers</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#include &lt;maya/MGlobal.h&gt;</div></td></tr></tbody></table></div>
<p>and save the file.</p>
<p>You should be able now to complete the code using <strong>ctrl-space</strong>.<br />
If something fails , check the include paths in the project configuration</p>
<h3>Build</h3>
<p>To build the plugin , choose the build configuration you want to use (debug or release)<br />
and press , from the drop down.<br />
Press the button next to it to build the current project</p>
<p>the build output will be shown just below the code area.</p>
<h3>Debug</h3>
<p>To properly debug a maya plugin it have to :</p>
<ul>
<li>Compile the plugin and libraries in debug mode</li>
<li>start Maya with the right environment variables set</li>
</ul>
<p>To debug a plugin under the IDE, you have to attach it to the running maya process, before loading the plugin.</p>
<ul>
<li><strong>Debug -&gt; Attach Debugger -&gt;<br />
</strong></li>
<li>pick up the maya process , usually  /usr/autodesk/maya/bin/maya.bin</li>
</ul>
<p>It will raise a connection error , but you can safely ignore it.<br />
NetBeans will enter then , in debug mode , and you&#8217;ll can start adding the breakpoints where you prefear.</p>
<p>Click on the line code number , to set a breack point in the code.</p>
<h3>Maya Environment Variables</h3>
<p>Before starting , maya needs to have some environment variables to properly debug a plugin:</p>
<p>bash:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export AW_DEBUGGING=F</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export MAYA_DEBUG_NO_SIGNAL_HANDLERS=1</div></td></tr></tbody></table></div>
<p>tcsh:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">setenv AW_DEBUGGING F</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">setenv MAYA_DEBUG_NO_SIGNAL_HANDLERS 1</div></td></tr></tbody></table></div>
<p>A Module <em><strong>maya/dev</strong></em> is available in the download section to simplify the job.<br />
put it in your local module folder and add</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">module load maya/dev</div></td></tr></tbody></table></div>
<p>in your .bashrc file to source it on shell startup.</p>
<h3>Notes</h3>
<p>Once the environment variables are set up , you&#8217;ll can also start maya attached to any debugger , running it with :</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;maya -d gdb</div></td></tr></tbody></table></div>
<p>or , for the lazy ones like me&#8230;</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;maya -d ddd</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzoangeli.net/?feed=rss2&#038;p=361</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>modules</title>
		<link>http://www.lorenzoangeli.net/?p=170</link>
		<comments>http://www.lorenzoangeli.net/?p=170#comments</comments>
		<pubDate>Sun, 19 Sep 2010 23:43:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[pipeline]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lorenzoangeli.net/?p=170</guid>
		<description><![CDATA[Introduction: if you have to manage various environment variables configurations, there&#8217;s a little  software which can help you out in this messy task . The software is called modules  and it&#8217;s  hosted on sourceforge at this address: http://modules.sourceforge.net/ But before start using it there are some steps that you&#8217;ll have to go through&#8230;. Compile and [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction:</h3>
<p>if you have to manage various environment variables configurations, there&#8217;s a little  software which can help you out in this messy task . <span id="more-170"></span>The software is called modules  and it&#8217;s  hosted on sourceforge at this address:</p>
<p><strong><a href="http://modules.sourceforge.net/">http://modules.sourceforge.net/</a></strong></p>
<p>But before start using it there are some steps that you&#8217;ll have to go through&#8230;.</p>
<h3 class="western">Compile and Install:</h3>
<p>download the latest &#8220;C&#8221; version from here:</p>
<p><strong><a href="http://sourceforge.net/projects/modules/files/">http://sourceforge.net/projects/modules/files/</a></strong><br />
<!-- p, li { white-space: pre-wrap; } --></p>
<p>uncompress it :</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tar -zxvf modules-3.2.7b.tar.gz</div></td></tr></tbody></table></div>
<p>go into the folder and configure the sources with:</p>
<p>note:<em> the tcl iclude/lib path it&#8217;s been modified to match fedora 13 requirements</em></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">./configure --prefix=/opt --with-tcl-lib=/usr/lib64/tcl8.5/ --with-tcl-inc=/usr/include/</div></td></tr></tbody></table></div>
<p>If the configuration step end up with no errors, it&#8217;s time to install it as root:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo make install</div></td></tr></tbody></table></div>
<p>if everything is gone fine,the executables will be located under /opt/Modules/3.2.7/bin</p>
<h3 class="western">Configure</h3>
<p>To finish, add theese 2 lines to your .bashrc file,  to start using modules:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/opt/Modules/3.2.7/init/bash</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">module use ~/modules</div></td></tr></tbody></table></div>
<p>create now a folder in your home :</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mkdir ~/modules</div></td></tr></tbody></table></div>
<p>This folder will contain all the module files you&#8217;ll need to load.</p>
<p>start a new shell or re-source .bashrc to pick up the changes</p>
<h3 class="western">Use</h3>
<p>A  module is usally a tcl file ,contained into a context named folder</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">myModule/default</div></td></tr></tbody></table></div>
<p>To be recognized as proper module , the file have to contain the header:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#%Module1.0</div></td></tr></tbody></table></div>
<p><a href="http://fringe.davesource.com/Fringe/Computers/Languages/tcl_tk/tcl_shell.html" target="_blank">here</a> a complete tclsh command reference</p>
<p>and <a href="http://modules.sourceforge.net/man/modulefile.html" target="_blank">here</a> for a complete list of extra tcl commands defined in modules</p>
<h3 class="western">Common Commands</h3>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># module avail</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># module show /moduleName/default</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># module load /moduleName/default</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># module unload /moduleName/default</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzoangeli.net/?feed=rss2&#038;p=170</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dr.Queue</title>
		<link>http://www.lorenzoangeli.net/?p=277</link>
		<comments>http://www.lorenzoangeli.net/?p=277#comments</comments>
		<pubDate>Sun, 19 Sep 2010 23:06:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[pipeline]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lorenzoangeli.net/?p=277</guid>
		<description><![CDATA[Main DrQueue site: https://ssl.drqueue.org/cwebsite/index.php ADVICE: all the tests is done under my laptop running linux fc10 and pyton 2.5 this guide is just to test it , not to enable it in an a production environment! Download the sources from here : https://ssl.drqueue.org/project/wiki/GettingTheSources Once decompressed , go into the folder and compile it as root [...]]]></description>
			<content:encoded><![CDATA[<h3>Main DrQueue site:</h3>
<p>https://ssl.drqueue.org/cwebsite/index.php</p>
<p><span><strong>ADVICE:</strong></span><br />
all the tests is done under my laptop running linux fc10 and pyton 2.5<span id="more-277"></span><br />
this guide is just to test it , not to enable it in an a production environment!</p>
<p><strong>Download the sources from here :</strong></p>
<p>https://ssl.drqueue.org/project/wiki/GettingTheSources</p>
<p><strong>Once decompressed </strong>, go into the folder and compile it as root with :</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">scons PREFIX=/usr/local install</div></td></tr></tbody></table></div>
<p>this command will install the binary folder in the /usr/local/drqueue path</p>
<p><strong>then copy the folders bin, db , etc</strong> to the the same /usr/local/drqueue folder (at the same level of the bins)<br />
ok , now you have to configure for the first time the envirnment:<br />
add this lines to your .bashrc file (or create an env and source it)</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export DRQUEUE_ROOT=/usr/local/drqueue</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export DRQUEUE_MASTER=127.0.0.1</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export PATH=$PATH:/usr/local/drqueue/bin</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export DRQUEUE_TMP=/tmp</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export DRQUEUE_LOGS=/var/log</div></td></tr></tbody></table></div>
<p>or use module to manage your environment variables, the module file can be dowloaded <a href="http://www.lorenzoangeli.net/?page_id=61">here</a><br />
just some the 3 basic commands you have to run to start all:</p>
<p><span>master</span> : run the master daemon<br />
<span>slave </span>: enable your machine to render<br />
<span>drqman </span>: a simple interface to monitor and start the jobs</p>
<p>now is the python turn !<br />
go to the source folder and enter into the python one.<br />
then run as root:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">python setup.py install</div></td></tr></tbody></table></div>
<p>this will compile and install the drqueue module for your pyton version <img src='http://www.lorenzoangeli.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>now let\&#8217;s play with it , compiling a renderman shader with 3delight &#8230;</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># start importing the module<br />
import drqueue.base.libdrqueue as drq<br />
# create a now job J=drq.job()<br />
# define the command you want to run<br />
J.cmd=\&quot;shaderdl /home/hdd/Desktop/subsurface/simple.sl \ -o /home/hdd/Desktop/subsurface/simple.sdl\&quot;<br />
# give a name to the job J.name=\&quot;compile shader\&quot;<br />
# and start !<br />
J.send_to_queue()</div></td></tr></tbody></table></div>
<p>I really hope you\&#8217;ll enjoy this basic tutorial , I hope more will come , now i have a full drQueue setup available <img src='http://www.lorenzoangeli.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzoangeli.net/?feed=rss2&#038;p=277</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>compiling gcc 4.1.2</title>
		<link>http://www.lorenzoangeli.net/?p=248</link>
		<comments>http://www.lorenzoangeli.net/?p=248#comments</comments>
		<pubDate>Sun, 19 Sep 2010 20:33:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[project]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lorenzoangeli.net/?p=248</guid>
		<description><![CDATA[To be able to compile  Maya plugins  under linux,  you need to compile and link the against gcc412 , which is not usually shipped with the latest linux distributions. The flags to compile gcc are been found here. For further versions , remember to update the flags accordingly to the docs. Use To use it [...]]]></description>
			<content:encoded><![CDATA[<p>To be able to compile  Maya plugins  under linux,  you need to compile and link the against gcc412 , which is not usually shipped with the latest linux distributions.<span id="more-248"></span></p>
<p>The flags to compile gcc are been found <a href="http://download.autodesk.com/us/maya/2011help/index.html">here</a>.<br />
For further versions , remember to update the flags accordingly to the docs.<!--more--></p>
<p><strong>Use<br />
</strong></p>
<p>To use it you have to configure your makefile to use these executables.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export CXX = /opt/gcc412/bin/gcc412</div></td></tr></tbody></table></div>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export LD_LIBRARY_PATH = /opt/gcc412/lib:${LD_LIBRARY_PATH}</div></td></tr></tbody></table></div>
<p>Or setup your C++ IDE.</p>
<p>Soon will provieded a  <a href="http://modules.sourceforge.net/">module</a> file to setup  the user environment variables</p>
<p><strong>Build and Install</strong></p>
<p><strong> </strong></p>
<ul>
<li><strong>download:</strong>
<p>http://gcc.gnu.org/gcc-4.1/</li>
<li><strong>configure GCC:</strong>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">configure --prefix=&lt;span&gt;/opt/gcc412&lt;/span&gt; --program-suffix=&lt;span&gt;412&lt;/span&gt; --enable-shared  --enable-threads=posix  --enable-checking=release  --with-system-zlib  --enable-__cxa_atexit  --disable-libunwind-exceptions  --enable-languages=&lt;span&gt;c,c++&lt;/span&gt;</div></td></tr></tbody></table></div>
</li>
<li><strong><strong>and INSTALL:</strong><br />
</strong>(become root with <span>su &#8211; </span>)<strong><br />
make install</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzoangeli.net/?feed=rss2&#038;p=248</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The wind of changes</title>
		<link>http://www.lorenzoangeli.net/?p=1</link>
		<comments>http://www.lorenzoangeli.net/?p=1#comments</comments>
		<pubDate>Sat, 11 Sep 2010 19:38:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lorenzoangeli.net/?p=1</guid>
		<description><![CDATA[As you may see , there are some changes running on the site&#8230;. As soon as I can i&#8217;ll restore the old contents , starting from the most viewed ones&#8230; I hope you will enjoy this new site . Cheers. L.]]></description>
			<content:encoded><![CDATA[<p>As you may see , there are some changes running on the site&#8230;.<span id="more-1"></span></p>
<p>As soon as I can i&#8217;ll restore the old contents , starting from the most viewed ones&#8230;</p>
<p>I hope you will enjoy this new site .</p>
<p>Cheers.</p>
<p>L.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lorenzoangeli.net/?feed=rss2&#038;p=1</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

