<?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>*drawlogic &#187; object</title>
	<atom:link href="http://drawlogic.com/tag/object/feed/" rel="self" type="application/rss+xml" />
	<link>http://drawlogic.com</link>
	<description>interactive and game development technologies for the web - flash, flex, unity3d, silverlight, javascript</description>
	<lastBuildDate>Thu, 22 Dec 2011 21:55:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Papervision 3D 2.0 Breaking Changes on Object yaw, roll, pitch</title>
		<link>http://drawlogic.com/2008/07/17/papervision-3d-20-breaking-changes/</link>
		<comments>http://drawlogic.com/2008/07/17/papervision-3d-20-breaking-changes/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 17:43:29 +0000</pubDate>
		<dc:creator>drawk</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[3D ENGINES]]></category>
		<category><![CDATA[ACTIONSCRIPT]]></category>
		<category><![CDATA[ACTIONSCRIPT3]]></category>
		<category><![CDATA[ARCHITECT]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[DEVELOPMENT]]></category>
		<category><![CDATA[ENGINE]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[FLEX]]></category>
		<category><![CDATA[GAMEDEV]]></category>
		<category><![CDATA[PAPERVISION]]></category>
		<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[RENDERING]]></category>
		<category><![CDATA[TECHNOLOGY]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[object]]></category>

		<guid isPermaLink="false">http://drawk.wordpress.com/?p=223</guid>
		<description><![CDATA[UPDATE: See comments and papervision list for revert of this change.  You can now use localRotationX, localrotationY and localRotation Z instead.  yaw(), pitch() and roll() are back by popular demand. Hi List, Sorry for this confusion, but we decided to revert back to pitch( angle ), yaw( angle ) and roll( angle ) methods. There [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: </strong>See comments and papervision list for revert of this change.  You can now use localRotationX, localrotationY and localRotation Z instead.  yaw(), pitch() and roll() are <a href="http://www.nabble.com/-Breaking-Change--DO3D-has-new-props-localRotationX---Y--Z-%2C-pitch%2C-yaw%2C-roll-are-methods-again-td18556276.html" target="_blank">back by popular demand</a>.</p>
<blockquote><p>Hi List,</p>
<p>Sorry for this confusion, but we decided to revert back to pitch(<br />
angle ), yaw( angle ) and roll( angle ) methods.</p>
<p>There are three new getter / setters now though:</p>
<p>do3d.localRotationX<br />
do3d.localRotationY<br />
do3d.localRotationZ</p>
<p>So:</p>
<p>pitch( 30 ) would be the same as doing localRotationX = 30;</p>
<p>Note that  localRotationX / Y /Z are rotations relative to the<br />
rotation as set by rotationX / Y / Z.<br />
Also note that after do3d.lookAt() localRotationX/Y/Z will be resetted to 0</p>
<p>Tim</p></blockquote>
<p><strong>ORIGINAL POST: </strong></p>
<p>Papervision 3D 2.0 Alpha has been undergoing lots of changes and one you might want to know about is the object <a href="http://www.nabble.com/-Breaking-Change--DisplayObject3D-pitch,-yaw,-roll-are-now-getter---setters-td18479823.html" target="_blank">yaw, pitch and roll change</a>.  Thisis changing on how you access them but only slightly.  This is good because you an read and write the values on the object not just set them. Per the papervision list from the man Tim Knip:</p>
<blockquote><p><span>On many users request: </span></p>
<p><span><strong class="highlight">DisplayObject3D</strong>&#8216;s methods <strong class="highlight">pitch</strong>(), <strong class="highlight">yaw</strong>() and <strong class="highlight">roll</strong>() <strong class="highlight">are</strong> <strong class="highlight">now</strong> <strong class="highlight">getters</strong> / <strong class="highlight">setters</strong>. </span></p>
<p><span>Usage: </span></p>
<p><span>do3d.<strong class="highlight">yaw</strong> = degrees; </span><br />
<span>do3d.<strong class="highlight">pitch</strong> = degrees; </span><br />
<span>do3d.<strong class="highlight">roll</strong> = degrees; </span></p>
<p><span>var myYaw : Number = do3d.<strong class="highlight">yaw</strong>; </span></p>
<p><span>This means these values <strong class="highlight">are</strong> <strong class="highlight">now</strong> &#8216;absolute&#8217; values instead of previous </span><br />
<span>&#8216;relative&#8217; values as in deprecated do3d.<strong class="highlight">yaw</strong>( 1 ); </span></p>
<p><span>Let me know any issues (as I&#8217;m sure there <strong class="highlight">are</strong>&#8230;) </span></p>
<p><span>Tim </span></p></blockquote>
<p>This only affects the latest and greatest revisions of papervision but is definitely a good change.  It is good to make changes that make more sense without worrying about breaking changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://drawlogic.com/2008/07/17/papervision-3d-20-breaking-changes/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

