<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Fog in Papervision</title>
	<atom:link href="http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/feed/" rel="self" type="application/rss+xml" />
	<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/</link>
	<description>Flash 'n stuff</description>
	<lastBuildDate>Mon, 26 Dec 2011 04:47:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: pctqnskqsb</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-2421</link>
		<dc:creator><![CDATA[pctqnskqsb]]></dc:creator>
		<pubDate>Sat, 28 May 2011 09:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-2421</guid>
		<description><![CDATA[u8pH4P  &lt;a href=&quot;http://zkblzgfsgvsj.com/&quot; rel=&quot;nofollow&quot;&gt;zkblzgfsgvsj&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>u8pH4P  <a href="http://zkblzgfsgvsj.com/" rel="nofollow">zkblzgfsgvsj</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daysia</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-2419</link>
		<dc:creator><![CDATA[Daysia]]></dc:creator>
		<pubDate>Mon, 23 May 2011 15:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-2419</guid>
		<description><![CDATA[I feel so much happier now I udnernstad all this. Thanks!]]></description>
		<content:encoded><![CDATA[<p>I feel so much happier now I udnernstad all this. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hypnotize yourself</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-1973</link>
		<dc:creator><![CDATA[hypnotize yourself]]></dc:creator>
		<pubDate>Thu, 02 Sep 2010 05:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-1973</guid>
		<description><![CDATA[I really enjoy your blog here, thank you so much you have helped me out greatly :) spread the love.]]></description>
		<content:encoded><![CDATA[<p>I really enjoy your blog here, thank you so much you have helped me out greatly <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  spread the love.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pss</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-1925</link>
		<dc:creator><![CDATA[pss]]></dc:creator>
		<pubDate>Mon, 26 Apr 2010 22:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-1925</guid>
		<description><![CDATA[hi, 

which version of pv3d libraries have you used?
Can you share it?]]></description>
		<content:encoded><![CDATA[<p>hi, </p>
<p>which version of pv3d libraries have you used?<br />
Can you share it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valery Stiliner</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-1901</link>
		<dc:creator><![CDATA[Valery Stiliner]]></dc:creator>
		<pubDate>Sun, 07 Feb 2010 08:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-1901</guid>
		<description><![CDATA[I just had to say thankyou for posting. I happened on your web site from bing and I wanted say i&#039;m impressed.]]></description>
		<content:encoded><![CDATA[<p>I just had to say thankyou for posting. I happened on your web site from bing and I wanted say i&#8217;m impressed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-1764</link>
		<dc:creator><![CDATA[Anthony]]></dc:creator>
		<pubDate>Wed, 02 Sep 2009 19:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-1764</guid>
		<description><![CDATA[looks like my message cot cut off?? not sure but any help would be much appreciated,

thank you]]></description>
		<content:encoded><![CDATA[<p>looks like my message cot cut off?? not sure but any help would be much appreciated,</p>
<p>thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-1763</link>
		<dc:creator><![CDATA[Anthony]]></dc:creator>
		<pubDate>Wed, 02 Sep 2009 19:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-1763</guid>
		<description><![CDATA[I am going insane trying to figure out how to get a depth of field on a site I&#039;ve been working on.  I wanted to use your fog source code but cannot get it to flow with my code


ive looked all over the web and cannot find anything that can work without using basicview

i try to run the code:

var fogMaterial:FogMaterial = new FogMaterial(0xffffff);
var fogLayers:int = 8;
var minDepth:Number = 3000;
var maxDepth:Number = 60600;



but i get the error:

override public function drawTriangle(tri:RenderTriangle, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void]]></description>
		<content:encoded><![CDATA[<p>I am going insane trying to figure out how to get a depth of field on a site I&#8217;ve been working on.  I wanted to use your fog source code but cannot get it to flow with my code</p>
<p>ive looked all over the web and cannot find anything that can work without using basicview</p>
<p>i try to run the code:</p>
<p>var fogMaterial:FogMaterial = new FogMaterial(0xffffff);<br />
var fogLayers:int = 8;<br />
var minDepth:Number = 3000;<br />
var maxDepth:Number = 60600;</p>
<p>but i get the error:</p>
<p>override public function drawTriangle(tri:RenderTriangle, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Barcinski</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-1635</link>
		<dc:creator><![CDATA[Mark Barcinski]]></dc:creator>
		<pubDate>Mon, 09 Mar 2009 14:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-1635</guid>
		<description><![CDATA[Hi Scott, this code has become somehow obsolete now as papervision has got a build in fog, check Andy&#039;s &lt;a href=&quot;http://blog.zupko.info/?p=134&quot; rel=&quot;nofollow&quot;&gt;post&lt;/a&gt; on fog.]]></description>
		<content:encoded><![CDATA[<p>Hi Scott, this code has become somehow obsolete now as papervision has got a build in fog, check Andy&#8217;s <a href="http://blog.zupko.info/?p=134" rel="nofollow">post</a> on fog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-1634</link>
		<dc:creator><![CDATA[Scott]]></dc:creator>
		<pubDate>Thu, 05 Mar 2009 21:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-1634</guid>
		<description><![CDATA[Hi,
Your tutorial looks great and runs fast, I have to do an all nighter and need to get fog working, I&#039;m using the latest SVN, so the RenderLayers do not work. Can I trouble you to show me how to convert your code to use the new Viewpoint layers?

Thanks!

private function setupFog():void {
			renderLayers = [];
			renderLayers.push(viewport.renderLayerManager.defaultLayer);
			
			for(var i:int = 0 ; i &lt; fogSteps ; i++){
				var l : RenderLayer = new RenderLayer();
				viewport.addRenderLayer(l);
				
//				l.alpha = i * (1 / fogSteps);
				var ct : Color = new Color();
				ct.setTint(0xffffff,  i * (1 / fogSteps));
				
				l.transform.colorTransform = ct;
				
				renderLayers.push(l);
			}
		}
		
		private function sortObjectsForFog(e:Event):void {
			
			for each(var do3d:DisplayObject3D in scene.children){
				if(!do3d.culled)do3d.renderLayer = renderLayers[Math.abs( Math.min(fogSteps, (do3d.screenZ) * .08 &lt;&lt; 1 ))];
			}
			
		}]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
Your tutorial looks great and runs fast, I have to do an all nighter and need to get fog working, I&#8217;m using the latest SVN, so the RenderLayers do not work. Can I trouble you to show me how to convert your code to use the new Viewpoint layers?</p>
<p>Thanks!</p>
<p>private function setupFog():void {<br />
			renderLayers = [];<br />
			renderLayers.push(viewport.renderLayerManager.defaultLayer);</p>
<p>			for(var i:int = 0 ; i &lt; fogSteps ; i++){<br />
				var l : RenderLayer = new RenderLayer();<br />
				viewport.addRenderLayer(l);</p>
<p>//				l.alpha = i * (1 / fogSteps);<br />
				var ct : Color = new Color();<br />
				ct.setTint(0xffffff,  i * (1 / fogSteps));</p>
<p>				l.transform.colorTransform = ct;</p>
<p>				renderLayers.push(l);<br />
			}<br />
		}</p>
<p>		private function sortObjectsForFog(e:Event):void {</p>
<p>			for each(var do3d:DisplayObject3D in scene.children){<br />
				if(!do3d.culled)do3d.renderLayer = renderLayers[Math.abs( Math.min(fogSteps, (do3d.screenZ) * .08 &lt;&lt; 1 ))];<br />
			}</p>
<p>		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hypnotize Anyone</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-97</link>
		<dc:creator><![CDATA[Hypnotize Anyone]]></dc:creator>
		<pubDate>Wed, 13 Aug 2008 09:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-97</guid>
		<description><![CDATA[Cool.  Come by and hypnotize yourself if you please ;)]]></description>
		<content:encoded><![CDATA[<p>Cool.  Come by and hypnotize yourself if you please <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Barcinski</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-87</link>
		<dc:creator><![CDATA[Mark Barcinski]]></dc:creator>
		<pubDate>Sat, 02 Aug 2008 17:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-87</guid>
		<description><![CDATA[Craigie, papervision has been evolving at amazing pace for the past few months, big changes to pv3d often cause old code to break, next time I publish source code I&#039;ll include the pv3d revision with it.

However if you are interested in the fog itself you should look at this &lt;a href=&quot;http://blog.zupko.info/?p=134&quot; rel=&quot;nofollow&quot;&gt;post&lt;/a&gt; of Andy Zupko, he has build fog into pv3d as a renderer filter.]]></description>
		<content:encoded><![CDATA[<p>Craigie, papervision has been evolving at amazing pace for the past few months, big changes to pv3d often cause old code to break, next time I publish source code I&#8217;ll include the pv3d revision with it.</p>
<p>However if you are interested in the fog itself you should look at this <a href="http://blog.zupko.info/?p=134" rel="nofollow">post</a> of Andy Zupko, he has build fog into pv3d as a renderer filter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craigie</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-86</link>
		<dc:creator><![CDATA[craigie]]></dc:creator>
		<pubDate>Sat, 02 Aug 2008 16:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-86</guid>
		<description><![CDATA[I&#039;d really like to try out the source, downloaded it, but I get many compilation errors, mostly about the renderLayers, eg:

1119: Access of possibly undefined property renderLayerManager through a reference with static type org.papervision3d.view:Viewport3D.

I&#039;m using the latest great white revision through svn, are there some extra classes I need to download? thanks for any advice.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;d really like to try out the source, downloaded it, but I get many compilation errors, mostly about the renderLayers, eg:</p>
<p>1119: Access of possibly undefined property renderLayerManager through a reference with static type org.papervision3d.view:Viewport3D.</p>
<p>I&#8217;m using the latest great white revision through svn, are there some extra classes I need to download? thanks for any advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Barcinski</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-68</link>
		<dc:creator><![CDATA[Mark Barcinski]]></dc:creator>
		<pubDate>Tue, 17 Jun 2008 18:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-68</guid>
		<description><![CDATA[Hi Brandon,

Glad you like the fog, the bitwise operations is a different story, they can be either handy or very fast or both. Unfortunately for me in the fog source the left bit shift is rather useless as it is equivalent to casting a Number to int and the multiplying it with 2 which is rather stupid than smart because this way i end up with half the layers not being used at all.

thanx for pointing it out]]></description>
		<content:encoded><![CDATA[<p>Hi Brandon,</p>
<p>Glad you like the fog, the bitwise operations is a different story, they can be either handy or very fast or both. Unfortunately for me in the fog source the left bit shift is rather useless as it is equivalent to casting a Number to int and the multiplying it with 2 which is rather stupid than smart because this way i end up with half the layers not being used at all.</p>
<p>thanx for pointing it out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon DeLauney</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-64</link>
		<dc:creator><![CDATA[Brandon DeLauney]]></dc:creator>
		<pubDate>Fri, 13 Jun 2008 22:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-64</guid>
		<description><![CDATA[I was looking at the math you used to place the do3d objects in there respective renderLayers and noticed that you were not actually utilizing any of the odd indexed renderLayers? I think this is do to the Left Bit shift that you used.

I&#039;m just wondering cuz I am trying to learn to use bitwise operators in my code and I have to say its been kicking my butt. So when I saw you using it successfully in your code I though &quot;Hey, lets break down the math so I can learn to use it&quot;.

Just wondering, if I&#039;m wrong tell my I&#039;m a dork. But please enplane why I&#039;m a dork.

Thanks, and the fog simple kicks ass. I love it.]]></description>
		<content:encoded><![CDATA[<p>I was looking at the math you used to place the do3d objects in there respective renderLayers and noticed that you were not actually utilizing any of the odd indexed renderLayers? I think this is do to the Left Bit shift that you used.</p>
<p>I&#8217;m just wondering cuz I am trying to learn to use bitwise operators in my code and I have to say its been kicking my butt. So when I saw you using it successfully in your code I though &#8220;Hey, lets break down the math so I can learn to use it&#8221;.</p>
<p>Just wondering, if I&#8217;m wrong tell my I&#8217;m a dork. But please enplane why I&#8217;m a dork.</p>
<p>Thanks, and the fog simple kicks ass. I love it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Symplicity00</title>
		<link>http://barcinskijeanjean.wordpress.com/2008/05/30/fog-in-papervision/#comment-59</link>
		<dc:creator><![CDATA[Symplicity00]]></dc:creator>
		<pubDate>Sat, 31 May 2008 01:20:24 +0000</pubDate>
		<guid isPermaLink="false">http://barcinskijeanjean.wordpress.com/?p=73#comment-59</guid>
		<description><![CDATA[Oh,Sorry for that.  That means that &quot;your comment is waiting for the author&#039;s permission.&quot; 
Since I sometimes got spams on my comments, I changed the setting into the one that requires my permission so as to protect visitors from visiting stupid sites.
But now your comment is displayed :D
Btw, thank you for visiting.]]></description>
		<content:encoded><![CDATA[<p>Oh,Sorry for that.  That means that &#8220;your comment is waiting for the author&#8217;s permission.&#8221;<br />
Since I sometimes got spams on my comments, I changed the setting into the one that requires my permission so as to protect visitors from visiting stupid sites.<br />
But now your comment is displayed <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
Btw, thank you for visiting.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

