<?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>El blog de Agedito</title>
	<atom:link href="http://www.agedito.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.agedito.com/blog</link>
	<description>TD blog</description>
	<lastBuildDate>Mon, 02 Jan 2012 17:24:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>[news] td-diary, a new section</title>
		<link>http://www.agedito.com/blog/?p=225</link>
		<comments>http://www.agedito.com/blog/?p=225#comments</comments>
		<pubDate>Mon, 02 Jan 2012 17:24:14 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=225</guid>
		<description><![CDATA[I created a new section, td-diary. In this section, I tell you the problems that I found when I make addond, compounds&#8230; This section is not a tutorials one, are simply some dev notes]]></description>
			<content:encoded><![CDATA[<p>I created a new section, td-diary.</p>
<p>In this section, I tell you the problems that I found when I make addond, compounds&#8230;</p>
<p>This section is not a tutorials one, are simply some dev notes</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D225&amp;title=%5Bnews%5D%20td-diary%2C%20a%20new%20section"><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=225</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[a td diary] agGradientBackground</title>
		<link>http://www.agedito.com/blog/?p=219</link>
		<comments>http://www.agedito.com/blog/?p=219#comments</comments>
		<pubDate>Mon, 02 Jan 2012 17:15:50 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[a td diary]]></category>
		<category><![CDATA[Softimage]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=219</guid>
		<description><![CDATA[In this post I tell you the problems that I found developing agGradientBackground, it&#8217;s not a tutorial is only a diary&#8230; &#160; Idea is simple, make a gradient background with a custom preferences to store permanent configuration. I suppose that I&#8217;t will be a very fast dev. Finally was fast, but not so fast.. I [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I tell you the problems that I found developing agGradientBackground, it&#8217;s not a tutorial is only a diary&#8230;<br />
<span id="more-219"></span><br />
&nbsp;</p>
<p>Idea is simple, make a gradient background with a custom preferences to store permanent configuration. I suppose that I&#8217;t will be a very fast dev. Finally was fast, but not so fast..</p>
<p>I created a display callback and draw a opengl in Post-begin frame pass, and a custom property stored at preferences.<br />
First problem.. the custom preferences, it&#8217;s seems a softimage bug but dobule values not  was remebered by xsi at restart <img src='http://www.agedito.com/blog/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' />   I made some test with a very simple propery but the same behavior, double values not was stored persistenly&#8230; I need to make more test, but it seems a softimage bug. Solution, make two properties one double and other float syncronized by events. The float is the user one and the double is hidden and the one that I use in my c++ code.</p>
<p>The second problem was a own bug, rotoscopy was hidden by the gradient. The solution was simple, change pass to a siBeginFrame one.</p>
<p>Third problem, when transforms or paint tool was activated and move the camera, the gradient was painted in gray color. The solution was simple, disabled GL_LIGHTING and GL_DEPTH_TEST before draw the gradient, softimage modify that openGL states when activate transform so It needed to force disable them.</p>
<p>The last problem, when launch a start capture the gradient is painted correctly but it openGl antialiassing option is checked, the gradient is not painted. Becouse the person that suggested me the addon not need this, at this version I left the bug, but I&#8217;ll investigate it soon&#8230;</p>
<p>In short, a simple and fast development but&#8230; always there are problems!! :-p  I&#8217;d found a possible softimage bug, and now I undestand more callbacks details.</p>
<p>&nbsp;</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D219&amp;title=%5Ba%20td%20diary%5D%20agGradientBackground"><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=219</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[addon] agGradientBackground</title>
		<link>http://www.agedito.com/blog/?p=203</link>
		<comments>http://www.agedito.com/blog/?p=203#comments</comments>
		<pubDate>Mon, 02 Jan 2012 08:48:59 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[Addons]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=203</guid>
		<description><![CDATA[My colleage Manu Linares asks to create a gradient background. Here is: Instalation Install addon and restart. Donwload agGradientBackground 1.0 (Right click &#8211; SaveAs or drag and drop into softimage) Restart softimage Activate and configure at File/Preferences/Custom Preferences/agGradientBackground Limitations If create a start capture with OpenGL-Antialiasing checked, the gradient is not drawed. a td diary You [...]]]></description>
			<content:encoded><![CDATA[<p>My colleage <a href="http://www.jmlinaresblog.com/">Manu Linares</a> asks to create a gradient background. Here is:</p>
<p><iframe src="http://player.vimeo.com/video/34455609" width="500" height="309" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p><span id="more-203"></span></p>
<blockquote><p>Instalation</p></blockquote>
<ol>
<li>Install  addon and restart. <a title="Download agGradientBackground 1.0" href="http://www.agedito.com/addons/agGradientBackground1.0.xsiaddon">Donwload agGradientBackground 1.0</a> (Right click &#8211; SaveAs or drag and drop into softimage)</li>
<li>Restart softimage</li>
<li>Activate and configure at File/Preferences/Custom Preferences/agGradientBackground</li>
</ol>
<blockquote><p>Limitations</p></blockquote>
<p>If create a start capture with OpenGL-Antialiasing checked, the gradient is not drawed.</p>
<blockquote><p>a td diary</p></blockquote>
<p>You can read the problems that I founded developing this addon in the<a title="td-diary section" href="http://www.agedito.com/blog/?p=219"> td-diary section</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D203&amp;title=%5Baddon%5D%20agGradientBackground"><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=203</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>[News] Starting a more complex project..</title>
		<link>http://www.agedito.com/blog/?p=196</link>
		<comments>http://www.agedito.com/blog/?p=196#comments</comments>
		<pubDate>Thu, 18 Aug 2011 18:25:03 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=196</guid>
		<description><![CDATA[I&#8217;d finished my ICE tests, now I&#8217;ll start a more complex project. I expexted to show something soon&#8230;]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d finished my ICE tests, now I&#8217;ll start a more complex project. I expexted to show something soon&#8230; <img src='http://www.agedito.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D196&amp;title=%5BNews%5D%20Starting%20a%20more%20complex%20project.."><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=196</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ICE deformer] agRollUp</title>
		<link>http://www.agedito.com/blog/?p=194</link>
		<comments>http://www.agedito.com/blog/?p=194#comments</comments>
		<pubDate>Thu, 18 Aug 2011 18:17:54 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[ICE]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=194</guid>
		<description><![CDATA[Other ICE tests, a spiral deformer that keeps distances. The interesant thing in this deformer is that internally resolve a equation using Newton-Raphson method.]]></description>
			<content:encoded><![CDATA[<p>Other ICE tests, a spiral deformer that keeps distances.<br />
The interesant thing in this deformer is that internally resolve a equation using Newton-Raphson method. </p>
<p><iframe src="http://player.vimeo.com/video/27872060" width="500" height="313" frameborder="0"></iframe></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D194&amp;title=%5BICE%20deformer%5D%20agRollUp"><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=194</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[Python] store method calls errors inside method</title>
		<link>http://www.agedito.com/blog/?p=178</link>
		<comments>http://www.agedito.com/blog/?p=178#comments</comments>
		<pubDate>Wed, 10 Aug 2011 09:52:51 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=178</guid>
		<description><![CDATA[I like to check alternatives to the classics programming paradigmas, so&#8230; Sometimes, writing code, I need a method that returns a data, but I need that if the method fails, returns information about the reason of the error. Returns different data information in each case is not a solution that I like too much because [...]]]></description>
			<content:encoded><![CDATA[<p>I like to check alternatives to the classics programming paradigmas, so&#8230;</p>
<p>Sometimes, writing code, I need a method that returns a data, but I need that if the method fails, returns information about the reason of the error.<br />
Returns different data information in each case is not a solution that I like too much because the valid returns type influence the error returns type and viceversa. So check if the returns is valid or not can be not a simple line.</p>
<p>A solution that I found is store errors inside the method,  so I can access that information if I need</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">inspect</span>
<span style="color: #ff7700;font-weight:bold;">def</span> f<span style="color: black;">&#40;</span>x<span style="color: black;">&#41;</span>:
  felf = <span style="color: #008000;">globals</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#91;</span><span style="color: #dc143c;">inspect</span>.<span style="color: black;">getframeinfo</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">inspect</span>.<span style="color: black;">currentframe</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>.<span style="color: black;">function</span><span style="color: black;">&#93;</span>
  <span style="color: #ff7700;font-weight:bold;">if</span> x == <span style="color: #ff4500;">0</span>:
    felf.<span style="color: black;">myLastError</span> = <span style="color: #483d8b;">&quot;error: %d&quot;</span> <span style="color: #66cc66;">%</span> x
    <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #008000;">None</span>
&nbsp;
  <span style="color: #ff7700;font-weight:bold;">return</span> x
&nbsp;
res = f<span style="color: black;">&#40;</span><span style="color: #ff4500;">3</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">if</span> res == <span style="color: #008000;">None</span>:
  <span style="color: #ff7700;font-weight:bold;">print</span> f.<span style="color: black;">myLastError</span>
res = f<span style="color: black;">&#40;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">if</span> res == <span style="color: #008000;">None</span>:
  <span style="color: #ff7700;font-weight:bold;">print</span> f.<span style="color: black;">myLastError</span>
res = f<span style="color: black;">&#40;</span><span style="color: #ff4500;">3</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">if</span> res == <span style="color: #008000;">None</span>:
  <span style="color: #ff7700;font-weight:bold;">print</span> f.<span style="color: black;">myLastError</span></pre></td></tr></table></div>

<p>I want to test it with decorators&#8230; python rules!!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D178&amp;title=%5BPython%5D%20store%20method%20calls%20errors%20inside%20method"><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=178</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>2d convex hull</title>
		<link>http://www.agedito.com/blog/?p=172</link>
		<comments>http://www.agedito.com/blog/?p=172#comments</comments>
		<pubDate>Thu, 04 Aug 2011 04:55:31 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=172</guid>
		<description><![CDATA[My firsts tests with ICE modeling, a 2D convex hull.]]></description>
			<content:encoded><![CDATA[<p>My firsts tests with ICE modeling, a 2D convex hull.</p>
<p><iframe src="http://player.vimeo.com/video/27277239" width="500" height="313" frameborder="0"></iframe></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D172&amp;title=2d%20convex%20hull"><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=172</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>agFrustrum</title>
		<link>http://www.agedito.com/blog/?p=169</link>
		<comments>http://www.agedito.com/blog/?p=169#comments</comments>
		<pubDate>Sun, 31 Jul 2011 23:10:16 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[ICE]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=169</guid>
		<description><![CDATA[A simply ICE compound to detect what objects are visible by camera. It&#8217;s gives object and components visibility state, in static frame or animation.]]></description>
			<content:encoded><![CDATA[<p>A simply ICE compound to detect what objects are visible by camera.</p>
<p>It&#8217;s gives object and components visibility state, in static frame or animation.</p>
<p><iframe src="http://player.vimeo.com/video/27128306" width="500" height="313" frameborder="0"></iframe></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D169&amp;title=agFrustrum"><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=169</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>agMathParser execute twice bug fixed.</title>
		<link>http://www.agedito.com/blog/?p=160</link>
		<comments>http://www.agedito.com/blog/?p=160#comments</comments>
		<pubDate>Tue, 05 Apr 2011 11:28:04 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=160</guid>
		<description><![CDATA[A user (thanks Alex) report me a bug. The tool crash in the sexcond exection. Now it&#8217;s fices and you can download it from the web. As I responsed to Cesar (at the agMathParser comments), a second version will be released when I have more user feedbacks. This version was a personal one and I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>A user (thanks Alex) report me a bug. The tool crash in the sexcond exection. Now it&#8217;s fices and you can download it from the web.</p>
<p>As I responsed to Cesar (at the agMathParser comments), a second version will be released when I have more user feedbacks. This version was a personal one and I&#8217;d published it becouse I think that it could be userfull but I know that to be a public tool would be nice to allows a better customization to add new nodes and perhaps supports to others areas (render tree or expressions simplify)</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D160&amp;title=agMathParser%20execute%20twice%20bug%20fixed."><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=160</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>agMathParser: Math expression &#8211;&gt; ICE</title>
		<link>http://www.agedito.com/blog/?p=134</link>
		<comments>http://www.agedito.com/blog/?p=134#comments</comments>
		<pubDate>Mon, 04 Apr 2011 20:48:56 +0000</pubDate>
		<dc:creator>agedito</dc:creator>
				<category><![CDATA[ICE]]></category>

		<guid isPermaLink="false">http://www.agedito.com/blog/?p=134</guid>
		<description><![CDATA[[Version 1.1 reuse bug fix added] I want to share this small tool. It is a math expression to ICE compound converter. (Softimage 2011) Donwload agMathParser 1.1 (Right click &#8211; SaveAs or drag and drop into softimage) Supported functions: +, -, *, /, ^,  % sin, cos, tan, asin, acos, atan sqrt, abs, min, max, [...]]]></description>
			<content:encoded><![CDATA[<p>[Version 1.1 reuse bug fix added]</p>
<p>I want to share this small tool. It is a math expression to ICE compound converter. (Softimage 2011)</p>
<p><iframe src="http://player.vimeo.com/video/21869170" width="500" height="309" frameborder="0"></iframe></p>
<p><a title="Download agMathParser 1.1" href="http://www.agedito.com/addons/agMathParser1.1.xsiaddon">Donwload agMathParser 1.1</a> (Right click &#8211; SaveAs or drag and drop into softimage)</p>
<p><span id="more-134"></span>Supported functions:</p>
<ul>
<li>+, -, *, /, ^,  %</li>
<li>sin, cos, tan, asin, acos, atan</li>
<li>sqrt, abs, min, max, floor, log, ln</li>
<li>PI, E</li>
</ul>
<p>Install the addon, and execute it at Ice Tree View\User Tools\agMath Parser.<br />
If you find any error, please tell me and indicate the expression taht cause the error.</p>
<p>Any comments or ideas are welcome too. <img src='http://www.agedito.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.agedito.com%2Fblog%2F%3Fp%3D134&amp;title=agMathParser%3A%20Math%20expression%20%26%238211%3B%3E%20ICE"><img src="http://www.agedito.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.agedito.com/blog/?feed=rss2&#038;p=134</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
	</channel>
</rss>
