<?xml version="1.0" encoding="iso-8859-2"?>
<!-- name="generator" content="pyblosxom/1.0.0 (May 24, 2004)" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>... with flags unfurled...  Apr 2005</title>
<link>http://znouza.meinlschmidt.org/blog/</link>
<description>we reached the dizzy heights...</description>
<language>en</language>
<item>
    <title>Maxwell render - new Rhinoll version</title>
    <link>http://znouza.meinlschmidt.org/blog/rhino3d/renders/050416-0922.html</link>
    <description>Next Limit has released new version of Rhinoll (0.5.1) and Maxwell Render (1.1.33_alpha).
I&apos;ve just did some render.

&lt;p class=&quot;image&quot;&gt;&lt;a href=&quot;http://orin.meinlschmidt.org/~znouza/swamp/rhino/misky.jpg&quot;&gt;&lt;img src=&quot;/blog/bimg/050416-0922.jpg&quot; width=&quot;352&quot; alt=&quot;&quot; border=0&gt;&lt;/a&gt;&lt;br&gt;6h rendertime, 19 samples, 16 bounces, physical sky&lt;/p&gt;

&lt;p class=&quot;image&quot;&gt;&lt;a href=&quot;http://orin.meinlschmidt.org/~znouza/swamp/rhino/byt.jpg&quot;&gt;&lt;img src=&quot;/blog/bimg/050416-1427.jpg&quot; width=&quot;352&quot; alt=&quot;&quot; border=0&gt;&lt;/a&gt;&lt;br&gt;2h rendertime, 16 samples, 16 bounces, physical sky + Sun&lt;/p&gt;

&lt;p class=&quot;image&quot;&gt;&lt;a href=&quot;http://orin.meinlschmidt.org/~znouza/swamp/rhino/byt_sklo.jpg&quot;&gt;&lt;img src=&quot;/blog/bimg/050416-1829.jpg&quot; width=&quot;352&quot; alt=&quot;&quot; border=0&gt;&lt;/a&gt;&lt;br&gt;2h rendertime, 16 samples, 16 bounces, physical sky + Sun,&lt;br&gt;added glass surfaces&lt;/p&gt;
</description>
  </item>
<item>
    <title>Maxwell render</title>
    <link>http://znouza.meinlschmidt.org/blog/rhino3d/renders/050412-0836.html</link>
    <description>I&apos;ve bought prerelease version of Maxwell Render (www.maxwellrender.com), with plugin to
Rhino3D. There&apos;s some tests.

&lt;p class=&quot;image&quot;&gt;&lt;a href=&quot;http://orin.meinlschmidt.org/~znouza/swamp/rhino/hrnek.jpg&quot;&gt;&lt;img src=&quot;/blog/bimg/050412-0835.jpg&quot; width=&quot;352&quot; alt=&quot;&quot; border=0&gt;&lt;/a&gt;&lt;br&gt;1h rendertime, 15 samples&lt;/p&gt;

&lt;p class=&quot;image&quot;&gt;&lt;a href=&quot;http://orin.meinlschmidt.org/~znouza/swamp/rhino/hrnek2.jpg&quot;&gt;&lt;img src=&quot;/blog/bimg/050412-1751.jpg&quot; width=&quot;352&quot; alt=&quot;&quot; border=0&gt;&lt;/a&gt;&lt;br&gt;1h rendertime, 15 samples&lt;/p&gt;
</description>
  </item>
<item>
    <title>Progress bar</title>
    <link>http://znouza.meinlschmidt.org/blog/programming/palmbits/050406-0143.html</link>
    <description>&lt;p&gt;
from palm-dev e-mail list, credit goes to Logan Shaw
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
typedef struct
{
    RectangleType bounds;
    WinHandle savedbits;
} ProgBar;

void OpenProgressBar (ProgBar *progbar)
{
    UInt16 savebitserror;

    progbar-&gt;savedbits = WinSaveBits (&amp; progbar-&gt;bounds, &amp; savebitserror);
    WinEraseRectangle (&amp; progbar-&gt;bounds, 0);
}

void CloseProgressBar (ProgBar *progbar)
{
    if (progbar-&gt;savedbits)
    {
        WinRestoreBits (
	        progbar-&gt;bounds.topLeft.x, progbar-&gt;bounds.topLeft.y,
	        progbar-&gt;savedbits);
    }
    else
    {
	/* maybe should enqueue a frmUpdateEvent instead, maybe not */
        WinEraseRectangle (&amp; progbar-&gt;bounds, 0);
    }
}

void UpdateProgressBar (ProgBar *progbar, Int32 numerator, Int32 denominator)
{
    RectangleType fillrect;

    RctCopyRectangle (&amp; progbar-&gt;bounds, &amp; fillrect);
    fillrect.extent.x = progbar-&gt;bounds.extent.x * numerator / denominator;

    WinDrawRectangle (&amp; fillrect, 0);
}

void TestProgressBar ()
{
    Int32 i;
    const Int32 max = 25;
    ProgBar progbar;

    progbar.bounds.topLeft.x = 20;
    progbar.bounds.topLeft.y = 70;
    progbar.extent.x = 120;
    progbar.extent.y = 20;

    OpenProgressBar (&amp; progbar);
    for (i = 0; i &lt;= max; i++)
    {
        UpdateProgressBar (&amp; progbar, i, max);
        SysTaskDelay (SysTicksPerSecond() / 5);
    }
    CloseProgressBar (&amp; progbar);
}

&lt;/pre&gt;
</description>
  </item>
   </channel>
</rss>