<?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/"
		>
<channel>
	<title>Comments on: Cloth simulation modifier in AS3Dmod</title>
	<atom:link href="http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/</link>
	<description>Flash Platform Experiments</description>
	<lastBuildDate>Wed, 10 Mar 2010 20:08:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: desgraci</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-4365</link>
		<dc:creator>desgraci</dc:creator>
		<pubDate>Tue, 07 Jul 2009 23:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-4365</guid>
		<description>lol, yes it happens, sometimes im not so clear when i try to explain things.

ok the good news is that i found a way, due that i was overlooking that the .dae are in fact an entire scene, i wouldnt be abble to attack the geometries directly so what i got to do in this case was to stick some theories together, and at the end what i did was to call as a mesh the part of the scene that contained the geometries of the model (o_O&#039; say it fast twice) and voila, 
got my model in collada with perlin, wind,  well u call it, in fact what i did was to convert not the obect container, but the part with geometries to a mesh in away so i could use it :D so happy now.</description>
		<content:encoded><![CDATA[<p>lol, yes it happens, sometimes im not so clear when i try to explain things.</p>
<p>ok the good news is that i found a way, due that i was overlooking that the .dae are in fact an entire scene, i wouldnt be abble to attack the geometries directly so what i got to do in this case was to stick some theories together, and at the end what i did was to call as a mesh the part of the scene that contained the geometries of the model (o_O&#8217; say it fast twice) and voila,<br />
got my model in collada with perlin, wind,  well u call it, in fact what i did was to convert not the obect container, but the part with geometries to a mesh in away so i could use it <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  so happy now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-4360</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 07 Jul 2009 19:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-4360</guid>
		<description>Sorry, in my last post I thought you were using an MD2 instead of a collada (I&#039;ve been working with md2 the whole day today :) ).
I don&#039;t think that As3DMod supports any hierarchy. It only takes the vertices of a mesh and displaces them, which is probably the problem you&#039;re facing (and why ObjectContainer doesn&#039;t work). You could loop through the collada&#039;s children and assign a modifier to any mesh you encounter. The modifiers will always happen relative to their own coordinate system&#039;s origin point tho.</description>
		<content:encoded><![CDATA[<p>Sorry, in my last post I thought you were using an MD2 instead of a collada (I&#8217;ve been working with md2 the whole day today <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).<br />
I don&#8217;t think that As3DMod supports any hierarchy. It only takes the vertices of a mesh and displaces them, which is probably the problem you&#8217;re facing (and why ObjectContainer doesn&#8217;t work). You could loop through the collada&#8217;s children and assign a modifier to any mesh you encounter. The modifiers will always happen relative to their own coordinate system&#8217;s origin point tho.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: desgraci</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-4356</link>
		<dc:creator>desgraci</dc:creator>
		<pubDate>Tue, 07 Jul 2009 18:28:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-4356</guid>
		<description>of course the declaration of var and the embed goes first :p</description>
		<content:encoded><![CDATA[<p>of course the declaration of var and the embed goes first :p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: desgraci</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-4355</link>
		<dc:creator>desgraci</dc:creator>
		<pubDate>Tue, 07 Jul 2009 18:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-4355</guid>
		<description>im using this code:


model1 = Collada.parse(Charmesh, {scaling:.3, material:material});
            _scene.addChild(model1);
_modifierStack = new ModifierStack(new LibraryAway3d(), model1);
			
			// create cloth modifier and add it to the stack
			_cloth = new Cloth();
			_modifierStack.addModifier(_cloth);

		private var model1:ObjectContainer3D;
		        //texture for mario
        [Embed(source=&quot;assets/mario_tex.jpg&quot;)]
        private var Charmap:Class;
        
        //collada file for mario
        [Embed(source=&quot;assets/mario_testrun.dae&quot;,mimeType=&quot;application/octet-stream&quot;)]
        private var Charmesh:Class;

at the end in away3d you work with mesh or objectcontainer, so maybe im doing something stupid as usual, cause it works with the mesh, but cant get to work with the containers... it is only me?</description>
		<content:encoded><![CDATA[<p>im using this code:</p>
<p>model1 = Collada.parse(Charmesh, {scaling:.3, material:material});<br />
            _scene.addChild(model1);<br />
_modifierStack = new ModifierStack(new LibraryAway3d(), model1);</p>
<p>			// create cloth modifier and add it to the stack<br />
			_cloth = new Cloth();<br />
			_modifierStack.addModifier(_cloth);</p>
<p>		private var model1:ObjectContainer3D;<br />
		        //texture for mario<br />
        [Embed(source="assets/mario_tex.jpg")]<br />
        private var Charmap:Class;</p>
<p>        //collada file for mario<br />
        [Embed(source="assets/mario_testrun.dae",mimeType="application/octet-stream")]<br />
        private var Charmesh:Class;</p>
<p>at the end in away3d you work with mesh or objectcontainer, so maybe im doing something stupid as usual, cause it works with the mesh, but cant get to work with the containers&#8230; it is only me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-4351</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 07 Jul 2009 16:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-4351</guid>
		<description>I&#039;m not sure, actually. Since it&#039;s animated, it could be that away3D animates the vertices after as3dMod updates them (ie: the as3dmod modifiers are undone). But you should definitely not get a black screen: the worst that could happen is that you see the model in its normal state.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure, actually. Since it&#8217;s animated, it could be that away3D animates the vertices after as3dMod updates them (ie: the as3dmod modifiers are undone). But you should definitely not get a black screen: the worst that could happen is that you see the model in its normal state.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: desgraci</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-4346</link>
		<dc:creator>desgraci</dc:creator>
		<pubDate>Tue, 07 Jul 2009 15:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-4346</guid>
		<description>Mr., David i would like to ask u a question, its possible to use the as3mod on a collada in way3d? i was trying to make on, but i always get black screens</description>
		<content:encoded><![CDATA[<p>Mr., David i would like to ask u a question, its possible to use the as3mod on a collada in way3d? i was trying to make on, but i always get black screens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: desgraci</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-4143</link>
		<dc:creator>desgraci</dc:creator>
		<pubDate>Thu, 02 Jul 2009 14:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-4143</guid>
		<description>oh nvm  :D i found it</description>
		<content:encoded><![CDATA[<p>oh nvm  <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  i found it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: desgraci</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-4140</link>
		<dc:creator>desgraci</dc:creator>
		<pubDate>Thu, 02 Jul 2009 14:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-4140</guid>
		<description>a question, i downloaded the examples but i cant find the away3dmod.modifier.colth.as class, where is it, is no within as3dmod package in google...</description>
		<content:encoded><![CDATA[<p>a question, i downloaded the examples but i cant find the away3dmod.modifier.colth.as class, where is it, is no within as3dmod package in google&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chichilatte</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-2368</link>
		<dc:creator>chichilatte</dc:creator>
		<pubDate>Fri, 15 May 2009 11:23:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-2368</guid>
		<description>Raay, i fixed the problem! I was using an old Away3D.swc library. I made a new swc in FlexBuilder using the latest repo version and it goes like the blazes :)

But it has added an extra 50k to all my swfs. agg.

Note: here&#039;s how i made my swc (the Away3d swc doesn&#039;t seem to be publicly available, only the .as source from the repo)...
http://blog.tartiflop.com/2008/11/downloading-and-compiling-away3d-sources-with-svn-in-eclipse/

thanks for yr help david++</description>
		<content:encoded><![CDATA[<p>Raay, i fixed the problem! I was using an old Away3D.swc library. I made a new swc in FlexBuilder using the latest repo version and it goes like the blazes <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But it has added an extra 50k to all my swfs. agg.</p>
<p>Note: here&#8217;s how i made my swc (the Away3d swc doesn&#8217;t seem to be publicly available, only the .as source from the repo)&#8230;<br />
<a href="http://blog.tartiflop.com/2008/11/downloading-and-compiling-away3d-sources-with-svn-in-eclipse/" rel="nofollow">http://blog.tartiflop.com/2008/11/downloading-and-compiling-away3d-sources-with-svn-in-eclipse/</a></p>
<p>thanks for yr help david++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.derschmale.com/2009/03/16/cloth-simulation-modifier-in-as3dmod/comment-page-1/#comment-2215</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 11 May 2009 16:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.derschmale.com/?p=70#comment-2215</guid>
		<description>Hi Chichilatte,

Apart from the texture asset, are there any other changes? The amount of triangles in your source 3D object impacts the performance a lot, since every connection between vertices means extra calculations. If that&#039;s not the case, try compiling a release version and see how fast that goes, it might just be the debugger.</description>
		<content:encoded><![CDATA[<p>Hi Chichilatte,</p>
<p>Apart from the texture asset, are there any other changes? The amount of triangles in your source 3D object impacts the performance a lot, since every connection between vertices means extra calculations. If that&#8217;s not the case, try compiling a release version and see how fast that goes, it might just be the debugger.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
