<?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>Paul Brunt &#187; spotlights</title>
	<atom:link href="http://www.paulbrunt.co.uk/tag/spotlights/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulbrunt.co.uk</link>
	<description>faster, better; faster, better!</description>
	<lastBuildDate>Tue, 30 Aug 2011 14:03:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WebGL Spotlights and animation</title>
		<link>http://www.paulbrunt.co.uk/2009/12/13/webgl-spotlights-and-animation/</link>
		<comments>http://www.paulbrunt.co.uk/2009/12/13/webgl-spotlights-and-animation/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 17:19:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blender]]></category>
		<category><![CDATA[webgl]]></category>
		<category><![CDATA[glge]]></category>
		<category><![CDATA[spotlights]]></category>

		<guid isPermaLink="false">http://www.paulbrunt.co.uk/?p=284</guid>
		<description><![CDATA[Another update:
Targets acheived this week:
1) spotlights are now done and dusted
2) made the animation system more generic(the aim is to make everything easy to animate), see the scrolling material layer on the floor of this weeks demo and the movement of the spot lights
3) started writting an XML file format to make things a bit [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Another update:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Targets acheived this week:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">1) spotlights are now done and dusted</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">2) made the animation system more generic(the aim is to make everything easy to animate), see the scrolling material layer on the floor of this weeks demo and the movement of the spot lights</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3) started writting an XML file format to make things a bit easier when it comes to handling resources</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">4) fog is on hold until untill I&#8217;ve got round to doing some turrain to demo it <img src='http://www.paulbrunt.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">See the Latest Demo Here</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">(Sorry still now video under linux again)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">It&#8217;s been a very very busy week I&#8217;ve nearly doubled the size of the library. I looked into importing collada files and I don&#8217;t think</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">It&#8217;s all that practical, for more then basic mesh import. It&#8217;s an excellant generic format but it&#8217;s highly involved and since the whole</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">purpose of the library was to abstract away the complexity I&#8217;ve decided to try and map a very simple XML format directly to the library.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">For example the material for animated floor in the demo is expressed as:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;animation_vector id=&#8221;materialanim&#8221; frames=&#8221;40&#8243;&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;animation_curve channel=&#8221;OffsetX&#8221;&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;bez_point&gt;-5.47,0.0,1.0,0.0,8.34,0.0&lt;/bez_point&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;bez_point&gt;12.28,1.0,30.22,1.0,36.84,1.0&lt;/bez_point&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;bez_point&gt;31.16,0.0,40.0,0.0,46.32,0.0&lt;/bez_point&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;/animation_curve&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;/animation_vector&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;material id=&#8221;material&#8221; emit=&#8221;0.2&#8243;&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;texture id=&#8221;texture1&#8243; src=&#8221;grass.jpg&#8221; /&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;texture id=&#8221;texture2&#8243; src=&#8221;mask1.jpg&#8221; /&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;texture id=&#8221;texture3&#8243; src=&#8221;dirt.jpg&#8221; /&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;material_layer texture=&#8221;#texture1&#8243; frame_rate=&#8221;5&#8243; animation=&#8221;#materialanim&#8221; mapinput=&#8221;UV1&#8243; mapto=&#8221;M_COLOR&#8221; scale_x=&#8221;5&#8243; scale_y=&#8221;5&#8243; /&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;material_layer texture=&#8221;#texture2&#8243; mapinput=&#8221;UV1&#8243; mapto=&#8221;M_MSKR&#8221; scale_x=&#8221;1&#8243; scale_y=&#8221;1&#8243; /&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>&lt;material_layer texture=&#8221;#texture3&#8243; mapinput=&#8221;UV1&#8243; mapto=&#8221;M_COLOR&#8221; scale_x=&#8221;5&#8243; scale_y=&#8221;5&#8243; /&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;/material&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">I&#8217;m starting to think it&#8217;s nearly time to release(at least as an alpha, since the api is still changing on a daily basis). I&#8217;ve been looking into github(many thanks to Giles Thomas for pointing me that way). Any other suggestions out there?</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Github does seem to be the best I&#8217;ve checkout so far. I&#8217;ve put up some preliminary documentation for anybody intrested Initially docs</div>
<p>Targets acheived this week:</p>
<p>1) Spotlights are now done and dusted</p>
<p>2) Made the animation system more generic (the aim is to make everything easy to animate), see the scrolling material layer on the floor of this weeks demo and the movement of the spot lights</p>
<p>3) Started writting an XML file format to make things a bit easier when it comes to handling resources</p>
<p>4) Fog is on hold until untill I&#8217;ve got round to doing some terrain to demo it <img src='http://www.paulbrunt.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><span id="more-284"></span>The latest demo is up, sorry for the insane animated material but I just wanted to do something to demo the animation system.</p>
<p><a href="http://www.paulbrunt.co.uk/webgl/demo3">See the Latest Demo Here</a></p>
<p>(Sorry still no video under linux again)</p>
<p>It&#8217;s been a very very busy week I&#8217;ve nearly doubled the size of the library. I looked into importing collada files and I don&#8217;t think It&#8217;s all that practical, for more then basic mesh import. It&#8217;s an excellant generic format but it&#8217;s highly involved and since the whole purpose of the library was to abstract away the complexity I&#8217;ve decided to try and map a very simple XML format directly to the library. I may still reconsider and start a collada import but it will be some time off.</p>
<p>I&#8217;m starting to think it&#8217;s nearly time to release(at least as an alpha, since the api is still changing on a daily basis). I&#8217;ve been looking into github(many thanks to <a href="http://learningwebgl.com">Giles Thomas</a> for pointing me that way). Any other suggestions out there? Github does seem to be the best I&#8217;ve checkout so far. I&#8217;ve also put up some <a href="http://www.paulbrunt.co.uk/webgl/jsdoc/">preliminary documentation</a> for anybody intrested.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulbrunt.co.uk/2009/12/13/webgl-spotlights-and-animation/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
	</channel>
</rss>

