<?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>RavenScript</title>
	<atom:link href="http://ravenscript.ravenhaalan.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://ravenscript.ravenhaalan.com</link>
	<description>Flexible Scripts for Creative Building</description>
	<lastBuildDate>Sat, 08 Aug 2009 20:29:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Swing Scene</title>
		<link>http://ravenscript.ravenhaalan.com/?p=7</link>
		<comments>http://ravenscript.ravenhaalan.com/?p=7#comments</comments>
		<pubDate>Sat, 08 Aug 2009 18:01:24 +0000</pubDate>
		<dc:creator>Raven Haalan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ravenscript.ravenhaalan.com/?p=7</guid>
		<description><![CDATA[No, no, not that swing scene – doors. Swinging doors. They’re pretty simple, but they serve to illustrate a point about how scripted geometry works.

Here’s what we want: A door that swings open in steps, from 0 to 90 degrees. Using the RavenPrim, it’s easy to do, but not as simple as it looks.
Rotate It!
The [...]]]></description>
			<content:encoded><![CDATA[<p>No, no, not that swing scene – doors. Swinging doors. They’re pretty simple, but they serve to illustrate a point about how scripted geometry works.</p>
<p style="text-align: center;"><a title="RavenPrim Swing Door" href="http://www.flickr.com/photos/37417924@N07/3630927880/"><img class="aligncenter" style="border: 0pt none;" src="http://farm4.static.flickr.com/3542/3630927880_0a9623c5ed.jpg" border="0" alt="RavenPrim Swing Door" width="500" height="500" /></a></p>
<p>Here’s what we want: A door that swings open in steps, from 0 to 90 degrees. Using the RavenPrim, it’s easy to do, but not as simple as it looks.</p>
<p><span id="more-7"></span><strong>Rotate It!</strong></p>
<p>The first and most obvious thing we might try is rotating the prim 90 degrees.</p>
<p>TouchedState = Rotate;&lt;0,0,90&gt;</p>
<p style="text-align: center;"><a title="RavenPrim Door Overhead NoMove Annotated" href="http://www.flickr.com/photos/37417924@N07/3631535863/"><img class="aligncenter" style="border: 0pt none;" src="http://farm4.static.flickr.com/3653/3631535863_434958d53c.jpg" border="0" alt="RavenPrim Door Overhead NoMove Annotated" width="500" height="394" /></a></p>
<p>Rotation happens around the center of the prim, so rather than the door swinging back on it’s hinge, as we might hope, it rotates in place.</p>
<p><strong>Move It!</strong></p>
<p>In order to get the hinging affect, we need to move the center back and to the side as well.</p>
<p>TouchedState = Rotate;&lt;0,0,90&gt;|Move;&lt;-0.625,0.625,0&gt;</p>
<p style="text-align: center;"><a title="RavenPrim Door Overhead Move Annotated" href="http://www.flickr.com/photos/37417924@N07/3632350062/"><img class="aligncenter" style="border: 0pt none;" src="http://farm4.static.flickr.com/3326/3632350062_9a128a5eef.jpg" border="0" alt="RavenPrim Door Overhead Move Annotated" width="500" height="415" /></a></p>
<p>One thing worth noting is how far to move the RavenPrim. This depends on the size and thickness of the door. The move sideways and back should be half the width of the door, minus half it’s thickness.</p>
<p>moveDistance = (width/2) &#8211; (thickness/2)</p>
<p>The prim is 1.5m wide and .25m thick, so the amount to move is: .75 &#8211; .125, thus .625</p>
<p><strong>Go Phantom</strong></p>
<p>Ever try to walk through an open door and bump into it? Ow. Let’s not do that. Set the prim phantom and the klutzy and lagged can walk right through while it’s open.</p>
<p>TouchedState = Rotate;&lt;0,0,90&gt;|Move;&lt;-0.625,0.625,0&gt;|Phantom;True</p>
<p><strong>Transition Gradually!</strong></p>
<p>In order to get the door to swing open, rather than snap open, specify how many intermediate steps you want it to take.</p>
<p>TransitionSlices = 5</p>
<p>Hope that helps you out with your adventures in doorland. We’ll cover further enhancements to doors shortly.</p>
]]></content:encoded>
			<wfw:commentRss>http://ravenscript.ravenhaalan.com/?feed=rss2&amp;p=7</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About the RavenScript Main Store</title>
		<link>http://ravenscript.ravenhaalan.com/?p=6</link>
		<comments>http://ravenscript.ravenhaalan.com/?p=6#comments</comments>
		<pubDate>Sat, 08 Aug 2009 18:00:17 +0000</pubDate>
		<dc:creator>Raven Haalan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ravenscript.ravenhaalan.com/?p=6</guid>
		<description><![CDATA[SL is for fun and expressing creativity. When I began the design of the RavenScript Main Store, I wanted a facility that had &#8220;SL Scripter&#8221; at the very core of its philosophy.
http://slurl.com/secondlife/Cohen/49/43/42

I get a lot of questions about the logo. It&#8217;s a crop and slight tweak of a &#8220;Raven&#8221; ink by Haida artist Bill Reid. [...]]]></description>
			<content:encoded><![CDATA[<p>SL is for fun and expressing creativity. When I began the design of the RavenScript Main Store, I wanted a facility that had &#8220;SL Scripter&#8221; at the very core of its philosophy.</p>
<p><a href="http://slurl.com/secondlife/Cohen/49/43/42" target="_new">http://slurl.com/secondlife/Cohen/49/43/42</a></p>
<p><img style="margin: 0px auto 10px; text-align: center; width: 500px; display: block; height: 250px;" src="http://farm3.static.flickr.com/2423/3626811074_0de7287368.jpg" border="0" alt="" /><br />
I get a lot of questions about the logo. It&#8217;s a crop and slight tweak of a &#8220;Raven&#8221; ink by Haida artist <a href="http://www.billreidfoundation.org/banknote/raven.htm" target="_new">Bill Reid</a>. Beyond being too cool for words, I&#8217;ve been a lifelong fan of his, and wanted to pay him homage.</p>
<p><span style="font-weight: bold"><span id="more-6"></span>The Store</span></p>
<p>I was struck by the fact that I was building a script store in a virtual world. You don&#8217;t get more virtual than that. SL mimics reality, then bends the rules. The store should reflect that.</p>
<p><img style="margin: 0px auto 10px; text-align: center; width: 500px; display: block; height: 250px;" src="http://farm3.static.flickr.com/2483/3626810360_46bf42c3f2.jpg" border="0" alt="" /><br />
A lot of architecture IRL is defined by the laws of physics and figuring out how to actually hold the roof up. In SL, I didn&#8217;t have physical reality to contend with, so there was no need for weight bearing walls or protection from the elements. So it is I have towering spires of glass with huge gaps in them&#8230; and Hey! where&#8217;s the roof?</p>
<p>As a scripter, I don&#8217;t worry about libraries of textures and sculpts. The beauty is in the code, so I kept it simple in physical appearance. Our clients are builders, and the constant reality of a builder, starting a new build, is a plywood prim, so I used plywood extensively as a tribute to our builder clients.</p>
<p><img style="margin: 0px auto 10px; text-align: center; width: 500px; display: block; height: 250px;" src=" http://farm4.static.flickr.com/3600/3626809840_c5527f40c4.jpg" border="0" alt="" /><br />
Being free of physics doesn&#8217;t mean there aren&#8217;t things to deal with. Using all those semi-transparent megaprims for the walls caused that good ol&#8217; transparency effect weirdness. In order to cope with it, I added interior panels, but I decided to sculpt a stylized Raven wing.</p>
<p><img style="margin: 0px auto 10px; text-align: center; width: 500px; display: block; height: 250px;" src="http://farm4.static.flickr.com/3649/3626810062_406e8492a6.jpg" border="0" alt="" /><br />
Opening day approached, and a place to party was required, so a multi-level dance floor and DJ booth went up on the front lawn. It&#8217;s being kept handy. <img src='http://ravenscript.ravenhaalan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img style="margin: 0px auto 10px; text-align: center; width: 500px; display: block; height: 500px;" src="http://farm4.static.flickr.com/3564/3593419480_0d24e05ca6.jpg" border="0" alt="" /><br />
Finally, SL is all about fun. That&#8217;s why there&#8217;s a Maze. It&#8217;s not an easy maze. It&#8217;s a hard maze, &#8217;cause it&#8217;s built with the RavenPrim and it changes on you and tries to trap you and stuff.</p>
<p><img style="margin: 0px auto 10px; text-align: center; width: 500px; display: block; height: 422px;" src="http://farm4.static.flickr.com/3313/3629337244_c8f09343a8.jpg" border="0" alt="" /><br />
But it has a prize, and it sure is fun. Hope to see you sometime at the store. Say hi. <img src='http://ravenscript.ravenhaalan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ravenscript.ravenhaalan.com/?feed=rss2&amp;p=6</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Birth of the RavenScript Vision</title>
		<link>http://ravenscript.ravenhaalan.com/?p=3</link>
		<comments>http://ravenscript.ravenhaalan.com/?p=3#comments</comments>
		<pubDate>Sat, 08 Aug 2009 17:57:42 +0000</pubDate>
		<dc:creator>Raven Haalan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ravenscript.ravenhaalan.com/?p=3</guid>
		<description><![CDATA[
RavenScript didn&#8217;t start as a grand vision. It started because some friends wanted me to write some scripts for them. A scanner. A teleport system. Sliding doors. A texture changer. Quick and dirty scripts. The problem is, I&#8217;ve been a professional programmer and software architect in RL for 25 years and I rather hate quick [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 0px 0px 10px 10px; width: 240px; float: right; height: 240px;" src="http://farm4.static.flickr.com/3652/3612309356_fde344fdce_m.jpg" border="0" alt="" /><br />
<a href="http://slurl.com/secondlife/Cohen/49/43/41">RavenScript </a>didn&#8217;t start as a grand vision. It started because some friends wanted me to write some scripts for them. A scanner. A teleport system. Sliding doors. A texture changer. Quick and dirty scripts. The problem is, I&#8217;ve been a professional programmer and software architect in RL for 25 years and I rather hate quick and dirty.</p>
<p>I prefer to write power software with a broad range of capabilities and tons of user flexibility. So while I was delivering early versions to my lead users, I started to think much more broadly about a system of builder&#8217;s scripts that would take most things builders want to do to a whole new level.</p>
<p><span id="more-3"></span><span style="font-weight: bold">The Joy of Isle Scanner</span></p>
<p>My first significant script was a scanner made to spec for <a href="http://islelunasea.com/" target="_new">Isle</a>. Isle has limited bandwidth, so she wanted a scanner that could run as a prim, not as a radar hud. Pretty simple requirements &#8211; report on who is in a specific area, when they leave. Throw up a list. It was called &#8220;The Joy of Isle&#8221; because the first script was installed in a picture with that title.</p>
<p><span style="font-weight: bold">RavenPort</span></p>
<p>The first system I wrote and delivered as a product was <span style="font-style: italic">RavenPort </span>(currently in beta) which provides for a set of teleporters and destinations to auto-discover each other. Destinations could be permissions restricted. It was handy, and set the tone for power and flexibility. Product release coming sooner than later.</p>
<p><span style="font-weight: bold">RavenPrim</span><br />
<img style="margin: 0px 0px 10px 10px; width: 240px; float: right; height: 240px;" src="http://farm4.static.flickr.com/3354/3611598355_46e362e9d4_m.jpg" border="0" alt="" /><br />
I had started hitting memory limits in <span style="font-style: italic">RavenPort</span>, and realized I needed to re-architect my scripts. The next request for scripts was from a builder who needed a number of functions (sliding and swing doors, secret walls, windows, lights), and I began to think &#8211; why many scripts? Why not one configuration driven script? This gave birth to the <span style="font-style: italic"><a href="https://www.xstreetsl.com/modules.php?name=Marketplace&amp;file=item&amp;ItemID=1523467" target="_new">RavenPrim</a></span>. I began to see that builders didn&#8217;t want a piecemeal approach to their scripted behavior, they just lived with that because SL scripters were only building pieces.</p>
<p><span style="font-weight: bold">The RavenScript Vision</span><br />
Out of all this, a vision emerged which was a single, unified and expandable system of scripts that all worked together to meet a builder&#8217;s needs. RavenPrim is the start, but only the start. The Scanner will integrate with the prim&#8217;s communication protocol, so things can happen (Pictures go PG, stuff can hide, doors unlock, lights turn on) when certain people are nearby, or certain people are absent. A control system will enable time of day changes. A single unified permissions system would underlie all of these interacting elements.</p>
<p><img style="margin: 0px 0px 10px 10px; width: 240px; float: right; height: 240px;" src="http://farm4.static.flickr.com/3559/3612361240_a46bd497c2_m.jpg" border="0" alt="" /><br />
While builders might be shipping designs using these scripts, users could buy add-ons from them, or other designers, and they would just fit in. Or get the scripts and extend the system themselves.</p>
<p>It&#8217;s a bit fuzzy still, this vision, but the basic thought is simple. Flexiblity, power and integration.</p>
<p>Welcome to <a href="http://slurl.com/secondlife/Cohen/49/43/41">RavenScript</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ravenscript.ravenhaalan.com/?feed=rss2&amp;p=3</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://ravenscript.ravenhaalan.com/?p=1</link>
		<comments>http://ravenscript.ravenhaalan.com/?p=1#comments</comments>
		<pubDate>Mon, 20 Jul 2009 12:55:27 +0000</pubDate>
		<dc:creator>Raven Haalan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ravenhaalan.com/ravenscript/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://ravenscript.ravenhaalan.com/?feed=rss2&amp;p=1</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
