<?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>undefined-type &#187; 3d</title>
	<atom:link href="http://undefined-type.com/tag/3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://undefined-type.com</link>
	<description>Flex,Flash &#38; AIR</description>
	<lastBuildDate>Wed, 18 Nov 2009 09:48:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Papervision 3D and Maya Camera</title>
		<link>http://undefined-type.com/2009/09/papervision-3d-and-maya-camera/</link>
		<comments>http://undefined-type.com/2009/09/papervision-3d-and-maya-camera/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 12:50:48 +0000</pubDate>
		<dc:creator>Bäcker</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[papervision]]></category>

		<guid isPermaLink="false">http://undefined-type.com/?p=559</guid>
		<description><![CDATA[Worked with Papervision 3D in a couple of project and trying to simulate the Maya 3D world to Papervision 3D as much as possible to make it easier for the art directors. A big problem has been with the Maya Camera and units. What we did is that the 3d modeler setups a camera in [...]]]></description>
			<content:encoded><![CDATA[<p>Worked with Papervision 3D in a couple of project and trying to simulate the Maya 3D world to Papervision 3D as much as possible to make it easier for the art directors. A big problem has been with the Maya Camera and units. What we did is that the 3d modeler setups a camera in Maya and we are converting the values to the camera in actionscript to fit Papervision 3D.</p>
<p>What we are looking at is the FOV (focal length), the flash convert value is (xv / (2 * Math.tan(Math.PI * fov / 360))) /1.5;</p>
<p>Bojidar Dimitrov has an 1.5 lens converter that works excellent:<br />
<a href="http://www.bdimitrov.de/kmp/technology/fov.html" target="_blank">http://www.bdimitrov.de/kmp/technology/fov.html</a></p>
<p>By using the Maya Focal Length thru the converter and adding that to this formulas variable xv, you will get a Papervision 3D camera that is the same.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// FOV from Maya</span>
<span style="color: #000000; font-weight: bold;">var</span> fov:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">35</span>;
<span style="color: #808080; font-style: italic;">// FOV to F from http://www.bdimitrov.de/kmp/technology/fov.html</span>
<span style="color: #000000; font-weight: bold;">var</span> xv:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">45.741390734365076</span>;
<span style="color: #000000; font-weight: bold;">var</span> focus:<span style="color: #0066CC;">Number</span> = <span style="color: #66cc66;">&#40;</span>xv <span style="color: #66cc66;">/</span> <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span> <span style="color: #66cc66;">*</span> <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">tan</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">PI</span> <span style="color: #66cc66;">*</span> fov <span style="color: #66cc66;">/</span> <span style="color: #cc66cc;">360</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1.5</span>;
<span style="color: #0066CC;">camera</span>.<span style="color: #006600;">focus</span> = focus;</pre></td></tr></table></div>

<p>Please visit <a href="http://blog.papervision3d.org/" target="_blank">Papervision 3D</a> blog for great info.</p>
]]></content:encoded>
			<wfw:commentRss>http://undefined-type.com/2009/09/papervision-3d-and-maya-camera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash CS4</title>
		<link>http://undefined-type.com/2008/12/flash-cs4/</link>
		<comments>http://undefined-type.com/2008/12/flash-cs4/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 10:35:32 +0000</pubDate>
		<dc:creator>Bäcker</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[cs4]]></category>
		<category><![CDATA[flash player 10]]></category>

		<guid isPermaLink="false">http://undefined-type.com/?p=339</guid>
		<description><![CDATA[<script type="text/javascript" src="http://undefined-type.com/wp-includes/js/jquery/jquery.js"></script><script type="text/javascript" src="http://undefined-type.com/wp-content/plugins/pb-embedflash/js/sbadapter/shadowbox-jquery.js"></script><script type="text/javascript" src="http://undefined-type.com/wp-content/plugins/pb-embedflash/js/shadowbox.js"></script><script type="text/javascript"><!--
window.onload = function() {var options ={assetURL:'',loadingImage:'http://undefined-type.com/wp-content/plugins/pb-embedflash/css/images/loading.gif',flvPlayer:'http://undefined-type.com/wp-content/plugins/pb-embedflash/swf/mediaplayer.swf',animate:true,animSequence:'wh',overlayColor:'#000',overlayOpacity:0.85,overlayBgImage:'http://undefined-type.com/wp-content/plugins/pb-embedflash/css/images/overlay-85.png',listenOverlay:true,autoplayMovies:true,showMovieControls:true,resizeDuration:0.35,fadeDuration:0.35,displayNav:true,continuous:false,displayCounter:true,counterType:'default',viewportPadding:20,handleLgImages:'resize',initialHeight:160,initialWidth:320,enableKeys:true,keysClose:['c', 'q', 27],keysPrev:['p', 37],keysNext:['n', 39],handleUnsupported:'',text: {cancel:'Cancel',loading: 'loading',close:'<span class="shortcut">C</span>lose',next:'<span class="shortcut">N</span>ext',prev:'<span class="shortcut">P</span>revious',errors:{single: 'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',shared: 'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either: 'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}}};Shadowbox.init(options);}
--></script>I finaly got my license of Adobe CS4.

Happy as I was i tried out Flash and some of the new cool features, created a small dynamic draw application and tried out the 3D features (use the knobs, hold and drag mouse). Make sure you have Flash Player 10 installed.
(Please open the article to see the [...]]]></description>
			<content:encoded><![CDATA[<p>I finaly got my license of Adobe CS4.</p>
<p><a href="http://undefined-type.com/wp-content/uploads/2008/12/cs4package-compress.jpg" rel="lightbox[339]"><img class="aligncenter size-medium wp-image-340" title="cs4package-compress" src="http://undefined-type.com/wp-content/uploads/2008/12/cs4package-compress-300x261.jpg" alt="cs4package-compress" width="300" height="261" /></a></p>
<p>Happy as I was i tried out Flash and some of the new cool features, created a small dynamic draw application and tried out the 3D features (use the knobs, hold and drag mouse). Make sure you have Flash Player 10 installed.</p>
<p><small>(Please open the article to see the flash file or player.)</small></p>
<p>As usual, download source here <a href="http://undefined-type.com/wp-content/uploads/2008/12/dynamicdraw.zip">dynamicdraw.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://undefined-type.com/2008/12/flash-cs4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

