<?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/"
	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>Vitsly</title>
	<atom:link href="http://vitsly.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vitsly.wordpress.com</link>
	<description>this blog is an english mirror of vitsly.livejournal.com</description>
	<lastBuildDate>Tue, 15 Dec 2009 22:30:36 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='vitsly.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/7d32745e93dec7fece6daed518b6d2d1?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Vitsly</title>
		<link>http://vitsly.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vitsly.wordpress.com/osd.xml" title="Vitsly" />
		<item>
		<title>2009 reel</title>
		<link>http://vitsly.wordpress.com/2009/12/15/2009-reel/</link>
		<comments>http://vitsly.wordpress.com/2009/12/15/2009-reel/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 22:30:00 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=33</guid>
		<description><![CDATA[

	
	
	
	


Here is my recent reel.
Hires (100mb)
Most of the works made in SHANDESIGN
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=33&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=8192449&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=8192449&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>Here is my recent reel.</p>
<p><a href="http://www.vitsly.ru/vitsly-reel-2009.mov">Hires (100mb)</a></p>
<p>Most of the works made in <a href="http://www.shandesign.ru/">SHANDESIGN</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=33&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2009/12/15/2009-reel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.vitsly.ru/vitsly-reel-2009.mov" length="100997680" type="video/quicktime" />
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>
	</item>
		<item>
		<title>Bokeh in 3dsmax with particle flow and maxscript</title>
		<link>http://vitsly.wordpress.com/2009/12/15/bokeh-in-3dsmax-with-particle-flow-and-maxscript/</link>
		<comments>http://vitsly.wordpress.com/2009/12/15/bokeh-in-3dsmax-with-particle-flow-and-maxscript/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 21:57:00 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=28</guid>
		<description><![CDATA[

	
	
	
	


As the new year every-CG-artist-nightmare began, here is simple holiday hint.

Let&#8217;s steel some bokeh pictures from internet, or take a photo of some bright defocused lights.

Cut them with a circle masks in AE or PS and make an equal images sequence (i did 10 pictures).

Setup the multi/sub object material in 3ds max for 10 ID&#8217;s, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=28&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=8168156&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=8168156&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>As the new year every-CG-artist-nightmare began, here is simple holiday hint.</p>
<p><span id="more-28"></span></p>
<p>Let&#8217;s steel some bokeh pictures from internet, or take a photo of some bright defocused lights.</p>
<p><img src="http://www.vitsly.ru/bokeh/bokeh_circles.jpg" alt="" /></p>
<p>Cut them with a circle masks in AE or PS and make an equal images sequence (i did 10 pictures).</p>
<p><img src="http://www.vitsly.ru/bokeh/material_settings.gif" alt="" /></p>
<p>Setup the multi/sub object material in 3ds max for 10 ID&#8217;s, with additive transparency.</p>
<p><img src="http://www.vitsly.ru/bokeh/material_structure.gif" alt="" /></p>
<p>Put the white-to-black gradient ramp texture to the opacity slot using the second UV channel.</p>
<p><img src="http://www.vitsly.ru/bokeh/gradient.gif" alt="" /></p>
<p>Put the bokeh images sequence into the diffuse slots using the first UV channel.</p>
<p>Let&#8217;s make the particle flow system based on some interesting complex geometry, e.g. some twisted helix splines.</p>
<p>Set proper number of the vertices in the Birth operator, and also set location: selected in the Position Object operator.</p>
<p><img src="http://www.vitsly.ru/bokeh/particle_flow1.gif" alt="" /></p>
<p>Use Mesh select over all splines to convert splines to mesh vertices.</p>
<p>Add Material Dynamic operator with prepared multi/sub object material to the PFlow event.</p>
<p><img src="http://www.vitsly.ru/bokeh/side_view.gif" alt="" /></p>
<p>Let the Shape Facing operator, oriented to the Target Camera define particles shape.</p>
<p>And now the main part of the tutorial &#8211; add the Script operator with the following script:</p>
<p><span style="color:#0000ff;">on</span> ChannelsUsed pCont <span style="color:#0000ff;">do</span><br />
(<br />
pCont.useTime = true<br />
pCont.useScale = true<br />
pCont.usePosition = true<br />
pCont.useMapping = true<br />
)</p>
<p><span style="color:#0000ff;">on</span> Init pCont <span style="color:#0000ff;">do</span><br />
(<br />
)</p>
<p><span style="color:#0000ff;">on</span> Proceed pCont <span style="color:#0000ff;">do</span><br />
(<br />
count = pCont.NumParticles()<br />
tarpos = $Camera01.Target.position<br />
campos = $Camera01.position</p>
<p><span style="color:#0000ff;">for</span> i <span style="color:#0000ff;">in</span> 1 <span style="color:#0000ff;">to</span> count <span style="color:#0000ff;">do</span><br />
(<br />
pCont.particleIndex = i<br />
pCont.setParticleMapping i 2 [abs((distance campos tarpos)-(distance campos pCont.particlePosition))/500,0,0]<br />
<span style="color:#008000;">&#8212; all the particles get the UV coordinates at 2-nd UV channel here.<br />
&#8212; UV coords depends on the distance to camera&#8217;s focus &#8220;sphere&#8221;.</span><br />
pCont.particleScale = abs((distance campos tarpos)-(distance pCont.particlePosition campos))/5<br />
<span style="color:#008000;">&#8212; here is the dependence of the particle&#8217;s scale defined<br />
&#8212; &#8220;focused&#8221; particles are small, as they moving away from the focus &#8211; they are becoming bigger.</span><br />
)<br />
)</p>
<p><span style="color:#0000ff;">on</span> Release pCont<span style="color:#0000ff;"> do</span><br />
(<br />
)</p>
<p>This script will define particle&#8217;s scale and transparency depends on camera&#8217;s focus.<br />
Now you can animate the geometry or the camera and render the particles with scanline.<br />
Don&#8217;t forget to cache all the particles for viewport/render using the Cache operator.</p>
<p>This setup renders pretty fast as opposed to mental ray&#8217;s or vray&#8217;s honest dof.<br />
And we have fast bokeh effect with the ability to inceract with scene geometry.</p>
<p><a href="http://www.vitsly.ru/bokeh/Bokeh.rar">Here is the scene</a></p>
<p>P.S. While i worked with the script there were a couple of obstructions, which took several hours to break.<br />
And after finding the proper solution, i found that exactly same solutions were already described at the second disc of CG Academy Particle Flow Scripting.<br />
So if this theme is interesting for someone &#8211; i advice to look through. My respect to Bobo!</p>
<p>That is all.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=28&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2009/12/15/bokeh-in-3dsmax-with-particle-flow-and-maxscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/bokeh/bokeh_circles.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/bokeh/material_settings.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/bokeh/material_structure.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/bokeh/gradient.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/bokeh/particle_flow1.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/bokeh/side_view.gif" medium="image" />
	</item>
		<item>
		<title>Dust to dust</title>
		<link>http://vitsly.wordpress.com/2009/03/04/dust-to-dust/</link>
		<comments>http://vitsly.wordpress.com/2009/03/04/dust-to-dust/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 09:58:13 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=21</guid>
		<description><![CDATA[

	
	
	
	



Several different ways to make a dust.
quicktime movie

We need 3dsmax, vray, ae, physx, fumefx, krakatoa, a lot of time and disk space.
0. Simulation with PhysX.
Build a house from simple non-intersected blocks (bricks, ceiling, glass, roof tiling etc.).
Roof frames and other concave objects must be joined into groups.
Make all objects, except the floor, Dynamic RigidBodies, assign [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=21&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3452523&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3452523&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p><img src="http://www.vitsly.ru/dust/lj-dust-intro.jpg" alt="" /></p>
<p>Several different ways to make a dust.</p>
<p><a href="http://www.vitsly.ru/dust/Final_lores.mov">quicktime movie</a></p>
<p><span id="more-21"></span></p>
<p>We need 3dsmax, vray, ae, physx, fumefx, krakatoa, a lot of time and disk space.</p>
<h2>0. Simulation with PhysX.</h2>
<p>Build a house from simple non-intersected blocks (bricks, ceiling, glass, roof tiling etc.).</p>
<p>Roof frames and other concave objects must be joined into groups.</p>
<p>Make all objects, except the floor, Dynamic RigidBodies, assign them different weights. Set initial speed and big weight for the demolition spheres.</p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3451473&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3451473&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>Add all physical objects to the simulation and simulate for 250 frames with Auto Key button enabled. Render with Vray.</p>
<p><img src="http://www.vitsly.ru/dust/lj-dust-window.gif" alt="" /></p>
<p>Make some hidden noised geometry behind pre-broken glass and push them away at the right moment.</p>
<h2>1. Sprites dust with Particle Flow.</h2>
<p>Make the sprites system &#8211; tons of camera oriented square particles with transparent texture.</p>
<p>Sprites should be born on the hi-speed moving objects and fly with the same direction. Also they should be decelerating and dissolving with age.</p>
<p><img src="http://www.vitsly.ru/dust/lj-dust-Sprite-settings.gif" alt="" /></p>
<p>Stick a huge amount of particles to all the scene objects, and spawn the sprites from them when the parent particles will have certain velocity or acceleration.</p>
<p><img src="http://www.vitsly.ru/dust/lj-dust-Sprite-acceleration.gif" alt="" /></p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3451516&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3451516&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>The acceleration sprites will be born at the impact moment, like some clouds beating from parent objects.</p>
<p>Velocity sprites will escort the most active parent objects like a cloudy trails.</p>
<p><img src="http://www.vitsly.ru/dust/lj-dust-Sprite-velocity.gif" alt="" /></p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3451521&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3451521&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>Make the dust material for the sprites with a radial gradient mixed with Smoke map for a opacity texture, dissolved with Particle Age.</p>
<p>We should have a lot of particles for an intersection artefacts minimisation, growing with age and then dying.</p>
<p>Make the Drag force for the sprites air decceleration, assign a Matte material for the geometry an render with Scanline.</p>
<h2>2. Debris with Particle Flow.</h2>
<p>Debris should be made from geometry particles (Tetra). They must be randomly scaled, and rotating.</p>
<p><img src="http://www.vitsly.ru/dust/lj-dust-Debris.gif" alt="" /></p>
<p>Add the floor Deflector and a Gravity, kill the Drag.</p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3451448&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3451448&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>Render with scanline.</p>
<h2>3. Ground impacts dust with Vray, AE, Fumefx.</h2>
<p>We need some kind of Realflow wetmap for a ground impacts dust.</p>
<p>First, render a ground Vraydirt map or any other occlusion texture from the top view. Hide for camera (not for render) all other objects.</p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3451317&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3451317&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>Blend a couple of rendered texture copies with the Difference, shifted the top layer for one frame in AfterEffects, then precompose.</p>
<p><img src="http://www.vitsly.ru/dust/lj-dust-Dirt-flowchart.gif" alt="" /></p>
<p>Blend about 10 copies of this Comp with Add or Screen and Blur them, shifting eath layer for one frame.</p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3451529&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3451529&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>So we have the texture, white at the object&#8217;s movements near the ground. The texture should be a smoke emitter in the FumeFX.</p>
<p>Set the small Buoyancy and huge Diffusion for a more dusty look.</p>
<p>Render the smoke, lighted with direct light, placed at the same location as the Vraysun.</p>
<p>Add the blue light across the sun, for a more dramatic render.</p>
<p>Turn on the Fluid map before the FumeFX simulation for more detailed dust.</p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3451441&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3451441&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>Don&#8217;t forget to turn on the Fluid map in Exporting channels, and add some Noise or Smoke textures in appropriate slots.</p>
<h2>4. Turbulent dust with Particle Flow, FumeFX and Krakatoa.</h2>
<p>Open the velocity Sprites scene and make the FumeFX smoke emitters from all of the particles.</p>
<p>Simulate smoke with FumeFX and save the cache. We need the Velocity channel in the Exporting channels enabled before the simulation.</p>
<p>Make new Pflow particle system, producing 5 millions of particles, that should be born on the scene objects with small random offset inside (to minimise the moire effects)</p>
<p><img src="http://www.vitsly.ru/dust/lj-dust-Krakatoa-settings.gif" alt="" /></p>
<p>The FumeFX Follow operator will control particles speed, all we need is picking the FumeFX container wihtin the operator.</p>
<p><img src="http://www.vitsly.ru/dust/lj-dust-Krakatoa-fumefx.gif" alt="" /></p>
<p>Cache all the animation to disk with Save Particles To File Sequence routine in Krakatoa GUI. The cache will take about 20 Gb of disk space.</p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3451456&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3451456&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>This pass is very cool, but we need a geomerty matte for the compositing.</p>
<p>So make the Named Selection Set with all the scene geometry inside and point it as Matte Object in Krakatoa GUI.</p>
<p>Push the geomerty outside a little for assured particle coverage.</p>
<p><span style='text-align:center; display: block;'>
<object type="application/x-shockwave-flash" width="500" height="375" data="http://www.vimeo.com/moogaloop.swf?clip_id=3451465&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA">
	<param name="quality" value="best" />
	<param name="allowfullscreen" value="true" />
	<param name="scale" value="showAll" />
	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=3451465&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" />
</object>
</span></p>
<p>That is all.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=21&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2009/03/04/dust-to-dust/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
<enclosure url="http://www.vitsly.ru/dust/Final_lores.mov" length="4937980" type="video/quicktime" />
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/dust/lj-dust-intro.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/dust/lj-dust-window.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/dust/lj-dust-Sprite-settings.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/dust/lj-dust-Sprite-acceleration.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/dust/lj-dust-Sprite-velocity.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/dust/lj-dust-Debris.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/dust/lj-dust-Dirt-flowchart.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/dust/lj-dust-Krakatoa-settings.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/dust/lj-dust-Krakatoa-fumefx.gif" medium="image" />
	</item>
		<item>
		<title>Loopable flag</title>
		<link>http://vitsly.wordpress.com/2009/01/23/loopable-flag/</link>
		<comments>http://vitsly.wordpress.com/2009/01/23/loopable-flag/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 13:17:15 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=16</guid>
		<description><![CDATA[
how to make a loopable cloth simulation using 3ds max

1. Simulation
Make a hi-res 2:1 plane, and add some geometry details for the seams.

Choose cloth settings for a whole flag (e.g. silk or satin).

Make two cloth groups &#8211; one for a cloth preservation near a flagstaff (with a small soft selection), and another for a heavier [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=16&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://www.vitsly.ru/flag/lj-flag_render.jpg" alt="flag render" /></p>
<p>how to make a loopable cloth <a href="http://www.vitsly.ru/flag/flag.mov">simulation</a> using 3ds max</p>
<p><span id="more-16"></span></p>
<p><strong>1. Simulation</strong></p>
<p>Make a hi-res 2:1 plane, and add some geometry details for the seams.</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_plane.gif" alt="plane settings" /></p>
<p>Choose cloth settings for a whole flag (e.g. silk or satin).</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_cloth.gif" alt="cloth settings" /></p>
<p>Make two cloth groups &#8211; one for a cloth preservation near a flagstaff (with a small soft selection), and another for a heavier cloth at the seams imitation.</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_group1.gif" alt="flagstaff group" /></p>
<p>Change the seams group cloth settings to a more rigid (e.g. burlap or rubber).</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_group2.gif" alt="seams group" /></p>
<p>Set up the gravity and a wind with the turbulence. Animate the wind&#8217;s direction and strength. For a better turbulence settings control I made a simple particle system and bind it to the wind space warp.</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_wind.gif" alt="wind settings and particles" /></p>
<p>We are ready to run the simulation. You can also play around time scale to make the flag looking magnificent. </p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_time.gif" alt="time and simulation" /></p>
<p><strong>2. Point cache</strong></p>
<p>When simulation is over &#8211; it&#8217;s time to make a point cache from it.</p>
<p>Apply the point cache modifier over the cloth.</p>
<p>Save the cache to the HDD and put the files to the network folder for a distributed render or backburner (For some reason exporting directly to the network folder doesn&#8217;t seem to be working).</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_cache.gif" alt="point cache" /></p>
<p>Now get rid of the cloth modifier from the stack for a file size economy.</p>
<p>Make a copy of cached flag and choose a pair of the most epic simulation parts for a future loop using a playback type &#8211; playback graph.</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_curves.gif" alt="point cache curves" /></p>
<p>To get a proper loop, the playback graph frame number of the first flag copy in the first frame needs to be equal to the playback graph frame number of the second flag copy in the last frame.</p>
<p><strong>3. Morphing</strong></p>
<p>As I noticed, simple morphing is not enough for a proper looping of the cloth anmation, so for the more natural cloth motion use the &#8220;wipe&#8221; morphing transition described below.</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_volselect.gif" alt="volume select" /></p>
<p>Apply the Vol.Select modifier to the first copy of the flag under the point cache. Animate modifier&#8217;s gizmo motion in the wind direction. It should come over to the flag with a huge selection softness.</p>
<p>Put the morpher modifier over the pointcache and choose the second flag&#8217;s copy as a morph target.</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_morph.gif" alt="morphing" /></p>
<p>Turn on the automatically reload targets switch for an animated result.</p>
<p><strong>4. Wrinkles</strong></p>
<p>As seen on the reference videos there are small wrinkles appears around a seams which are looking good, however we still don&#8217;t get them so far.</p>
<p>Simulate the thin cloth stripe with fixed top vertices (selected every second vertex). Add some wind with small strength and huge turbulence.</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_wrinkles.gif" alt="wrinkles production" /></p>
<p>Render the simulated stripe with self illuminated gradient material applied across and get the wrinkles displacement map.</p>
<p>Assemble looped construction from the rendered stripes and put it to the map slot in the displacement modifier over couple of turmosmooth iterations.</p>
<p><strong>5. Texturing and render</strong></p>
<p>Make the diffuse, bump and opacity textures from the cloth photos in Photoshop.</p>
<p>Make a vray2sided material with a vray material inside. Put the maps to the corresponded vray material slots.</p>
<p><img src="http://www.vitsly.ru/flag/lj-flag_render.jpg" alt="render" /></p>
<p>Set up the lighting and render.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=16&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2009/01/23/loopable-flag/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
<enclosure url="http://www.vitsly.ru/flag/flag.mov" length="4635468" type="video/quicktime" />
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_render.jpg" medium="image">
			<media:title type="html">flag render</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_plane.gif" medium="image">
			<media:title type="html">plane settings</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_cloth.gif" medium="image">
			<media:title type="html">cloth settings</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_group1.gif" medium="image">
			<media:title type="html">flagstaff group</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_group2.gif" medium="image">
			<media:title type="html">seams group</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_wind.gif" medium="image">
			<media:title type="html">wind settings and particles</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_time.gif" medium="image">
			<media:title type="html">time and simulation</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_cache.gif" medium="image">
			<media:title type="html">point cache</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_curves.gif" medium="image">
			<media:title type="html">point cache curves</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_volselect.gif" medium="image">
			<media:title type="html">volume select</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_morph.gif" medium="image">
			<media:title type="html">morphing</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_wrinkles.gif" medium="image">
			<media:title type="html">wrinkles production</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/flag/lj-flag_render.jpg" medium="image">
			<media:title type="html">render</media:title>
		</media:content>
	</item>
		<item>
		<title>The call of Qhull</title>
		<link>http://vitsly.wordpress.com/2009/01/19/the-call-of-qhull/</link>
		<comments>http://vitsly.wordpress.com/2009/01/19/the-call-of-qhull/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 16:36:55 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=12</guid>
		<description><![CDATA[How to make 3d Voronoi cells for a custom points cloud in 3ds max.



These pics (third pic &#8211; chupakabrah) and animation were made from a standart max primitives processed by Voronoi algorithm.

Make some interesting geometry in 3dsmax and embrace it in a bounding box.

Export model from 3dsmax to a Wavefront OBJ file.

Open OBJ file in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=12&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>How to make 3d Voronoi cells for a custom points cloud in 3ds max.</p>
<p><a href="http://www.vitsly.ru/qhull/qhull-intro-2-big.jpg"><img alt="" src="http://www.vitsly.ru/qhull/qhull-intro-2.jpg" class="alignnone" width="500" height="250" /></a></p>
<p><a href="http://www.vitsly.ru/qhull/qhull-intro-big.jpg"><img alt="" src="http://www.vitsly.ru/qhull/qhull-intro.jpg" class="alignnone" width="500" height="250" /></a></p>
<p><a href="http://www.vitsly.ru/qhull/qhull-intro-3-big.jpg"><img alt="" src="http://www.vitsly.ru/qhull/qhull-intro-3.jpg" class="alignnone" width="500" height="250" /></a></p>
<p>These pics (third pic &#8211; <a href="http://chupakabrah.livejournal.com/">chupakabrah</a>) and <a href="http://www.vitsly.ru/qhull/LJ-qhull.mov">animation</a> were made from a standart max primitives processed by Voronoi algorithm.</p>
<p><span id="more-12"></span></p>
<p>Make some interesting geometry in 3dsmax and embrace it in a bounding box.</p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_max-in.gif" alt="" /></p>
<p>Export model from 3dsmax to a Wavefront OBJ file.</p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_export-to-obj.gif" alt="" /></p>
<p>Open OBJ file in the <a href="http://web.axelero.hu/karpo/">3D Object Converter</a> and save as Qhull OFF file.</p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_3d-converter.gif" alt="" /></p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_export-to-txt.gif" alt="" /></p>
<p>Get rid of needless part of text information at the bottom, and two digits at the top and save the rest as &#8220;points.txt&#8221;.</p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_txt-edit-1.gif" alt="" /></p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_txt-edit-2.gif" alt="" /></p>
<p>Put the file to <a href="http://www.qhull.org/">Qhull</a> programs folder.</p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_console-run.gif" alt="" /></p>
<p>Run QHULL-GO console from Qhull folder.</p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_console.gif" alt="" /></p>
<p>Run &#8220;qvoronoi s p Fv out.txt&#8221; command in console.</p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_qvoronoi.gif" alt="" /></p>
<p>After the command completion the &#8220;out.txt&#8221; file will appear to the Qhull folder.</p>
<p>Now put in the same folder the <a href="http://home.scarlet.be/zoetrope/voronoi3d/voronoi3d.zip">convert3d.py</a> script from the <a href="http://home.scarlet.be/zoetrope/">Zoetrope</a>.</p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_script.gif" alt="" /></p>
<p>For the script to be properly excecuted you must have the <a href="http://www.python.org/">Python 2.6</a> installed on your system.</p>
<p>After the command completion the &#8220;out.txt&#8221; file should appear in the Qhull folder. Load it into 3dsmax and enjoy.</p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_enjoy-1.gif" alt="" /></p>
<p><img src="http://www.vitsly.ru/qhull/LJ-qhull_enjoy-2.gif" alt="" /></p>
<p>Btw. Great respect for all af the listed above tools creators.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=12&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2009/01/19/the-call-of-qhull/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://www.vitsly.ru/qhull/LJ-qhull.mov" length="2064356" type="video/quicktime" />
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/qhull/qhull-intro-2.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/qhull-intro.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/qhull-intro-3.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_max-in.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_export-to-obj.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_3d-converter.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_export-to-txt.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_txt-edit-1.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_txt-edit-2.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_console-run.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_console.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_qvoronoi.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_script.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_enjoy-1.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/qhull/LJ-qhull_enjoy-2.gif" medium="image" />
	</item>
		<item>
		<title>Shaken &amp; stirred</title>
		<link>http://vitsly.wordpress.com/2008/05/22/shaken-stirred/</link>
		<comments>http://vitsly.wordpress.com/2008/05/22/shaken-stirred/#comments</comments>
		<pubDate>Thu, 22 May 2008 10:27:16 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=3</guid>
		<description><![CDATA[For some reason, there are broken elements in Realflow&#8217;s connector for 3dsmax2008, like material for mixing fluids among with some others.

movie
And the challenge was to shake and mix two fluids of different colors.

Let&#8217;s modelin 3dsmax basic primitive like in picture below, kind of a sloped  plexyglass figure for shooting beer stuff, and export it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=3&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For some reason, there are broken elements in Realflow&#8217;s connector for 3dsmax2008, like material for mixing fluids among with some others.</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-intro.jpg" alt="" width="500" height="250" /></p>
<p><a href="http://www.vitsly.ru/lj-shaken/jl-shaken.mov">movie</a></p>
<p>And the challenge was to shake and mix two fluids of different colors.</p>
<p><span id="more-3"></span></p>
<p>Let&#8217;s modelin 3dsmax basic primitive like in picture below, kind of a sloped  plexyglass figure for shooting beer stuff, and export it in obj format with triangle faces option checked.</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-obj-export.jpg" alt="" width="500" height="428" /></p>
<p>Setup in RF an epic collison of two luquids from two different emitters with the rapid of 50.</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-realflow-setup.jpg" alt="" width="500" height="430" /></p>
<p>Next make a single shared mesh for both liquids, with resolution a bit higher than automaticlaly suggested.</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-realflow-liquid.jpg" alt="" width="500" height="764" /></p>
<p>Calculate the mesh and import it into 3dsmax, add Relax on top of mesh for extra smoothness.</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-relax-settings.jpg" alt="" width="500" height="375" /></p>
<p>Render both meshes by order with vray, each with it&#8217;s unique materials reflections and refractions from the same camera.</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-two-liquids-render.jpg" alt="" width="500" height="200" /></p>
<p>Assign pure self illuminating material to mesh, with gradient ramp texture from white (0-25% [255 0 0]) to black (75-100% [0 0 255]).</p>
<p>For the U axis tiling enter a mystic number 0.05.</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-gradient-settings.jpg" alt="" width="500" height="656" /></p>
<p>Choosing UV coordinate settings, possible by looking at UV-unwrap of the mesh imported from RF.</p>
<p>For example, here&#8217;s the <a href="http://www.vitsly.ru/lj-shaken/3-liquids-solution.jpg">settings</a> for three emitter positioned in one dimension.</p>
<p>If enable &#8220;show material in viewport&#8221; button we&#8217;ll see that mixed parts of fluids now have grey color and &#8220;pure&#8221; parts of every liquid stay white and black respectively.</p>
<p>However, there are very sharp transitions in the areas where two liquids mix, there is a need to blur them out.</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-gradient-render.jpg" alt="" width="500" height="375" /></p>
<p>Here comes in handy render effect called &#8220;Surface Blur&#8221; written by Pavel Kuznetsov, for which (and for others,too) megarespect to him.</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-surface-blur.jpg" alt="" width="500" height="765" /></p>
<p>Render the mesh from the same camera once again with blurred result, without any reflections, refractions etc.</p>
<p>By the way, we can also render v-ray passes for velocity and z-depth channels for compositinig work later on. (unfortunately in combination with surface blur, it&#8217;s impossible to get real depth of field and motion blur)</p>
<p><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-render-passes.jpg" alt="" width="500" height="200" /></p>
<p>Now, let&#8217;s load into Aftereffects all the sequences we&#8217;ve got.</p>
<p>Substract one of the main color liquids by assigning luma matte for black and white mask. Put another colorliquid at very beneath, then precompose all.</p>
<p><a href="http://www.vitsly.ru/lj-shaken/lj-shaken-flowchart-big.jpg"><img src="http://www.vitsly.ru/lj-shaken/lj-shaken-flowchart-small.jpg" alt="" width="500" height="268" /></a></p>
<p>Make some color corection, DOF and motion blur as a post effects from respective channels.</p>
<p>Thats all :)</p>
<p>P.S. I&#8217;m not sure if the same method will clearly work for the mixing fluids into some kind of volume, for that purpose, some further composition work is needed.</p>
<p>P.P.S. Thanks to <a href="http://www.polypixel.tv/">Polypixel</a> for translating from russian</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vitsly.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vitsly.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=3&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2008/05/22/shaken-stirred/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://www.vitsly.ru/lj-shaken/jl-shaken.mov" length="2080912" type="video/quicktime" />
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-intro.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-obj-export.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-realflow-setup.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-realflow-liquid.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-relax-settings.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-two-liquids-render.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-gradient-settings.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-gradient-render.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-surface-blur.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-render-passes.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-shaken/lj-shaken-flowchart-small.jpg" medium="image" />
	</item>
		<item>
		<title>front view &#124; reel 08</title>
		<link>http://vitsly.wordpress.com/2008/03/28/front-view-reel-08/</link>
		<comments>http://vitsly.wordpress.com/2008/03/28/front-view-reel-08/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 11:49:16 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=4</guid>
		<description><![CDATA[
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=4&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.front-view.com/"><img src="http://www.vitsly.ru/FV_small.jpg" alt="" width="500" height="433" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vitsly.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vitsly.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=4&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2008/03/28/front-view-reel-08/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/FV_small.jpg" medium="image" />
	</item>
		<item>
		<title>lazy flares</title>
		<link>http://vitsly.wordpress.com/2008/03/21/lazy-flares/</link>
		<comments>http://vitsly.wordpress.com/2008/03/21/lazy-flares/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 15:01:48 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=7</guid>
		<description><![CDATA[
I&#8217;m totally sick about huge overuse of CG lens flares, especially ae knoll chroma hoop and photoshop&#8217;s 35 mm.
So to fight with this i thought out cool method to kill a week &#8211; shooting to photo camera real lens flares, then combine them to HDRs and track them with light sources in ae.

Take cam with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=7&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://www.vitsly.ru/lj-lazyflare-01-intro.jpg" alt="" width="500" height="166" /></p>
<p>I&#8217;m totally sick about huge overuse of CG lens flares, especially ae knoll chroma hoop and photoshop&#8217;s 35 mm.</p>
<p>So to fight with this i thought out cool method to kill a week &#8211; shooting to photo camera real lens flares, then combine them to HDRs and track them with light sources in ae.</p>
<p><span id="more-7"></span></p>
<p>Take cam with ability to shoot manually (Canon EOS 350D for example), LED light and a dark room without any kids and pets.</p>
<p><img src="http://www.vitsly.ru/lj-lazyflare-03-shooting-layout.jpg" alt="" /></p>
<p>After thousands of boring tryouts come up wıth ruqirement of five different exposures for every frame (to compile HDRs) and about 100 LED light positions for enough smoothness of the flare&#8217;s movement.</p>
<p><img src="http://www.vitsly.ru/lj-lazyflare-04-bracketing.jpg" alt="" /></p>
<p>Kiss your wife goodbye for a couple of days and locked myself into the dark room, and shoot there 500 frames, shining out to your eyes with 200 lm tactical LED light (i forgot to warn you &#8211; eyes and photo cam matrix will go to trash after all)</p>
<p>To automate shooting process for such a lot of frames use <a href="http://www.breezesys.com/DSLRRemotePro/index.htm">DSLR Remote Pro</a>, it is helpful to remote control photo cam by usb. Set up the time lapse for 100 frames by every 30 seconds and exposure bracketing for 5 frames by 2 steps (by shutter speed)</p>
<p>Go out to daylight and after LED trails are dissapeared from the eyes let&#8217;s deal with HDRs.</p>
<p><img src="http://www.vitsly.ru/lj-lazyflare-05-dslr.gif" alt="" /></p>
<p>Install <a href="http://www.hdrsoft.com/">Photomatix Pro</a> for HDRs compiling, this software has an ability to automatically recognize EXIF info from shooted JPEGs. So feed to Photomatix all the JPEGs and go to bed. by mornig you will have 100 HDRs</p>
<p><img src="http://www.vitsly.ru/lj-lazyflare-06-photomatrix.gif" alt="" /></p>
<p>Now it&#8217;s time for ae.</p>
<p>We have to figure out some kind of a system for motion of hdr on the screen. Lens flare basic feature is aperture ghosting, that moves opposite to light source by the center of the frame. So use the tracking method which covers this kind of movement.</p>
<p>To implement this scheme you&#8217;ll have to recall some basic trigonometry knowledge from school, particularly arc tangents and sum of the squares of the legs.</p>
<p><img src="http://www.vitsly.ru/lj-lazyflare-07-wireframe.gif" alt="" /></p>
<p>Do not forget to switch to 32-bit mode in ae for proper work with HDRs</p>
<p>Make comp 100 frames lenght, lad HDRs sequence and named it &#8220;photo-sequence&#8221;.</p>
<p>Make another comp with two previous comps layered and add null named &#8220;target&#8221;. Dimensions of this new comp should be one and half times less than comp with &#8220;photo-sequence&#8221;.</p>
<p>Enable time remapping for &#8220;photo-sequence&#8221; layer and use folowing expression:</p>
<p><em> x = thisComp.width/2 &#8211; thisComp.layer(&#8220;target&#8221;).transform.position[0]<br />
y = thisComp.height/2 &#8211; thisComp.layer(&#8220;target&#8221;).transform.position[1]<br />
Math.sqrt(x*x + y*y) * ((comp(&#8220;photo-sequence&#8221;).duration / comp(&#8220;photo-sequence&#8221;).frameDuration) / (comp(&#8220;photo-sequence&#8221;).width / 2)) * thisComp.frameDuration</em></p>
<p>For rotation of the same layer use this one:</p>
<p><em> x = thisComp.width / 2 &#8211; thisComp.layer(&#8220;target&#8221;).transform.position[0]<br />
y = thisComp.height / 2 &#8211; thisComp.layer(&#8220;target&#8221;).transform.position[1]<br />
z = 0<br />
if (x &gt; 0) {z = 180}<br />
radiansToDegrees(Math.atan(y / x)) + z</em></p>
<p>Now if we move &#8220;target&#8221; &#8211; HDRs flares follow it. Notice, that we have a lack with the rays when &#8220;target&#8221; moving around the center of composition.</p>
<p><img src="http://www.vitsly.ru/lj-lazyflare-08-motion-blur.jpg" alt="" /></p>
<p>If you need to use true 32-bit motion blur it will be heplful to apply &#8220;Echo&#8221; effect for HDRs comp.</p>
<p><img src="http://www.vitsly.ru/lj-lazyflare-09-flowchart.gif" alt="" /></p>
<p>Finally track some CG light sources, applied tracking data to &#8220;target&#8221; position and link flares exposure to CG lights brightness.</p>
<p>All we need as a final step is to track any CG lamp, insert keys to position of &#8220;target&#8221; null and adjust exposure of the flares.</p>
<p>After days of shooting and boring hdr&#8217;s combining you could obtain a library of ajustable real lens flares</p>
<p><img src="http://www.vitsly.ru/lj-lazyflare-11-library.jpg" alt="" /></p>
<p>Anyway, great respect for <a href="http://www.redgiantsoftware.com/knolllightfactory.html">Knoll Light Factory</a> team!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vitsly.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vitsly.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=7&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2008/03/21/lazy-flares/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/lj-lazyflare-01-intro.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-lazyflare-03-shooting-layout.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-lazyflare-04-bracketing.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-lazyflare-05-dslr.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-lazyflare-06-photomatrix.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-lazyflare-07-wireframe.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-lazyflare-08-motion-blur.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-lazyflare-09-flowchart.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/lj-lazyflare-11-library.jpg" medium="image" />
	</item>
		<item>
		<title>web 2.0</title>
		<link>http://vitsly.wordpress.com/2006/09/25/web-20/</link>
		<comments>http://vitsly.wordpress.com/2006/09/25/web-20/#comments</comments>
		<pubDate>Mon, 25 Sep 2006 10:41:53 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=6</guid>
		<description><![CDATA[
this is the web, made with cloth modifier
large picture

1. straight to web modeling. first we&#8217;ll make spline spiral, with radial crossections, then damage it a little for more realistic look.

2. extrude our spline with a huge amount, but without caps
3. convert extruded spline to editable mesh and weld vertices
4. apply subdivide modifier, to break the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=6&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://www.vitsly.ru/vitsly/lj_web.jpg" alt="" width="500" height="500" /></p>
<p>this is the web, made with cloth modifier</p>
<p><a href="http://www.vitsly.ru/vitsly/lj_web_large.jpg">large picture</a></p>
<p><span id="more-6"></span></p>
<p>1. straight to web modeling. first we&#8217;ll make spline spiral, with radial crossections, then damage it a little for more realistic look.</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_web_web-edit.jpg" alt="" width="500" height="300" /></p>
<p>2. extrude our spline with a huge amount, but without caps</p>
<p>3. convert extruded spline to editable mesh and weld vertices</p>
<p>4. apply subdivide modifier, to break the web into big amount of segments. this operation needed for bending web lines.</p>
<p>5. select open edges and make spline from them</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_web_spline-ex.jpg" alt="" width="500" height="500" /></p>
<p>6. let&#8217;s make geometry from our spline. turn &#8220;enable in viewport&#8221; option at the &#8220;rendering&#8221; rollout, we need thin rectangular with 45 degrees angle.</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_web_weld.jpg" alt="" width="500" height="500" /></p>
<p>7. and finally weld vertices at the web corners</p>
<p>8. now it&#8217;s time for drops. we&#8217;ll make them with Particle flow system</p>
<p>9. to begin with, create small geosphere with 2 segments</p>
<p>11. select only bottom vertices of the web mesh</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_web_pflow.jpg" alt="" width="500" height="680" /></p>
<p>11. set the particle system</p>
<p>12. turn particles to mesh with mesher, and attach them to the web</p>
<p>13. weld top vertices of the drops with bottom vertices of the web</p>
<p>14. apply cloth modifier</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_web_cloth.jpg" alt="" width="500" height="606" /></p>
<p>15. start simutation and go have a lunch</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_web-drop.gif" alt="" width="250" height="250" /></p>
<p>16. when come back &#8211; take last simulated frame and convert to editable mesh</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_web_wire.jpg" alt="" width="500" height="500" /></p>
<p>17. apply some nature HDR map to environment and glass material to the web with drops</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_web_hdr.jpg" alt="" width="500" height="250" /></p>
<p>18. render with vray, add some posteffects in ae</p>
<p>That&#8217;s all</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vitsly.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vitsly.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=6&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2006/09/25/web-20/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/vitsly/lj_web.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_web_web-edit.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_web_spline-ex.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_web_weld.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_web_pflow.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_web_cloth.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_web-drop.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_web_wire.jpg" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_web_hdr.jpg" medium="image" />
	</item>
		<item>
		<title>trigonometry for geeks</title>
		<link>http://vitsly.wordpress.com/2006/08/23/trigonometry-for-geeks/</link>
		<comments>http://vitsly.wordpress.com/2006/08/23/trigonometry-for-geeks/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 14:30:37 +0000</pubDate>
		<dc:creator>vitsly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vitsly.wordpress.com/?p=8</guid>
		<description><![CDATA[
goal: to repeat macos menu with aftereffects using shoe cream cans
more preciesely: to make growing cans wave, with controllable wave parameters
trouble: cans must be separated by equal distance and should not cross each other when they grow
solution: we&#8217;ll create an expression for this movement with help of aftereffects.
sample movie

1. let&#8217;s clear up the situation: we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=8&subd=vitsly&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://www.vitsly.ru/vitsly/lj_banki.gif" alt="" width="250" height="150" /></p>
<p>goal: to repeat macos menu with aftereffects using shoe cream cans</p>
<p>more preciesely: to make growing cans wave, with controllable wave parameters</p>
<p>trouble: cans must be separated by equal distance and should not cross each other when they grow</p>
<p>solution: we&#8217;ll create an expression for this movement with help of aftereffects.</p>
<p><a href="http://www.vitsly.ru/vitsly/lj_banki_final.mov">sample movie</a></p>
<p><span id="more-8"></span></p>
<p>1. let&#8217;s clear up the situation: we need our cans to move out and grow when some kind of a control object coming towards  and they must smoothly take the initial phase when it goes away &#8211;  And again, we need to keep in mind that cans should not intersect wıth each other when the control object is in movement.</p>
<p>2. let&#8217;s make a graph of the variation cans size and position depending on the control object movement</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_banki_graphs.gif" alt="" width="500" height="300" /></p>
<p>at the graphs:</p>
<p>X axis &#8211; distance between can and control object</p>
<p>Y axis &#8211; position (green colored) and size (red one) variations</p>
<p>a &#8211; distance, when the can begins to &#8220;react&#8221; to control object in a matter of a movement</p>
<p>b &#8211; initial size of the can</p>
<p>c &#8211; maximum size variation (wave height)</p>
<p>d &#8211; maximum movement of the can</p>
<p>e- distance, when the can is begins to &#8220;react&#8221; the control object in a matter of a resize</p>
<p>let&#8217;s recall some school trigonometry. seems like we need a pieces of sine and cosine graphs at the middle of our plot</p>
<p>if the distance to control object is less then &#8220;a&#8221; &#8211; the can moves by Y(X)=-d formula</p>
<p>if the distance to control object is more than &#8220;a&#8221; &#8211; the can moves by Y(X)=d formula</p>
<p>if the distance to control object fits into the interval of &#8220;a&#8221; and &#8220;-a&#8221; &#8211; the can moves by Y(X)=sin((x*pi)/(a*2))*d formula</p>
<p>if the distance to control object is less than &#8220;e&#8221; and &#8220;-e&#8221; &#8211; the can grows by Y(X)=((cos((x*pi)/e)+1)/2)*c+b formula</p>
<p>if the distance to control object is less than &#8220;-e&#8221; and more then &#8220;e&#8221; &#8211; the can grows by Y(X)=b formula</p>
<p>4. now we need to translate this data to ae expression language</p>
<p>let&#8217;s make a comp with all of the cans and add a null to it. the null will be a control object.</p>
<p>the ahchor point of all the cans must be at their bottom. so they grow upwards only.</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_banki_controls.gif" alt="" width="500" height="350" /></p>
<p>let&#8217;s apply to the dummy four &#8220;Expression control &#8211; Slider control&#8221; effects, and rename them appropriately. they will be responsible for variables &#8220;a&#8221;, &#8220;c&#8221;, &#8220;d&#8221; and &#8220;e&#8221;. the &#8220;b&#8221; variable will be ecual to 1.</p>
<p>here is the expression we need to apply to the position of each can:</p>
<p><em>pos = thisComp.layer(&#8220;Null 1&#8243;).effect(&#8220;Shift&#8221;)(&#8220;Slider&#8221;);<br />
if (thisComp.layer(&#8220;Null 1&#8243;).transform.position[0] &#8211; transform.position[0] &lt; 0) {pos = -thisComp.layer(&#8220;Null 1&#8243;).effect(&#8220;Shift&#8221;)(&#8220;Slider&#8221;);}<br />
if (Math.abs(thisComp.layer(&#8220;Null 1&#8243;).transform.position[0] &#8211; transform.position[0]) &lt; thisComp.layer(&#8220;Null 1&#8243;).effect(&#8220;Affect pos&#8221;)(&#8220;Slider&#8221;))<br />
{pos = Math.sin(3.14*(thisComp.layer(&#8220;Null 1&#8243;).transform.position[0] &#8211; transform.position[0])/thisComp.layer(&#8220;Null 1&#8243;).effect(&#8220;Affect pos&#8221;)(&#8220;Slider&#8221;)/2)*thisComp.layer(&#8220;Null 1&#8243;).effect(&#8220;Shift&#8221;)(&#8220;Slider&#8221;);}<br />
transform.position-pos</em></p>
<p>and for the scale of every can apply this one below:</p>
<p><em>scl = thisComp.layer(&#8220;Null 1&#8243;).effect(&#8220;Max Scale&#8221;)(&#8220;Slider&#8221;)*((Math.cos(((thisComp.layer(&#8220;Null 1&#8243;).transform.position[0] &#8211; transform.position[0])/thisComp.layer(&#8220;Null 1&#8243;).effect(&#8220;Affect scale&#8221;)(&#8220;Slider&#8221;))*3.14))+1)/2+1;<br />
if (Math.abs(thisComp.layer(&#8220;Null 1&#8243;).transform.position[0] &#8211; transform.position[0]) &gt; thisComp.layer(&#8220;Null 1&#8243;).effect(&#8220;Affect scale&#8221;)(&#8220;Slider&#8221;)) {scl = 1;}<br />
transform.scale*scl</em></p>
<p>as you can see &#8211; our expressions means the same, that our formulas and plots mean.</p>
<p>That&#8217;s it! Let&#8217;s pull the control object and enjoy the result!</p>
<p><img src="http://www.vitsly.ru/vitsly/lj_banki.jpg" alt="" width="500" height="300" /></p>
<p>as a final touches to the project we add some back, shadows and &#8220;wet-floor&#8221; glossy reflections.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vitsly.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vitsly.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vitsly.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vitsly.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vitsly.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vitsly.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vitsly.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vitsly.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vitsly.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vitsly.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vitsly.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vitsly.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vitsly.wordpress.com&blog=3828902&post=8&subd=vitsly&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://vitsly.wordpress.com/2006/08/23/trigonometry-for-geeks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://89.179.194.205/vitsly/lj_banki_final.mov" length="261200" type="video/quicktime" />
<enclosure url="http://www.vitsly.ru/vitsly/lj_banki_final.mov" length="261200" type="video/quicktime" />
	
		<media:content url="" medium="image">
			<media:title type="html">vitsly</media:title>
		</media:content>

		<media:content url="http://www.vitsly.ru/vitsly/lj_banki.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_banki_graphs.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_banki_controls.gif" medium="image" />

		<media:content url="http://www.vitsly.ru/vitsly/lj_banki.jpg" medium="image" />
	</item>
	</channel>
</rss>