<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2000883203198497473</id><updated>2012-02-16T02:28:51.097-08:00</updated><category term='maya tutorial'/><title type='text'>Maya Tutorials</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://maya-tutorials-4u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2000883203198497473/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://maya-tutorials-4u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_yKJlBZaYlDw/S27GES3yNnI/AAAAAAAAAMA/CfMO8En2OK0/S220/DSC01094.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2000883203198497473.post-1743648713375554393</id><published>2008-06-27T09:26:00.000-07:00</published><updated>2008-11-06T17:47:05.489-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maya tutorial'/><title type='text'>Creating Shadows For Maya Paint Effects</title><content type='html'>Maya paint effects is a very powerful feature in Maya which you can use to create animated plants and grass without useing any third party plug-in. However Maya paint effects has its own drawbacks. The main drawback is you cannot render shadows with paint effects.&lt;br /&gt;&lt;br /&gt;So I found this nifty little trick that you can use to render shadows. This tutorial will show you how to do this in a couple of simple steps.&lt;br /&gt;&lt;br /&gt;You can download the completed scene file by clicking &lt;a href="http://www.mediafire.com/?tymzof1i1zn"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;p&gt;Start a new scene in Maya. Press F6 to reach the rendering menu set. On the paint effects menu select get brush to open the visor window.&lt;/p&gt;&lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_yKJlBZaYlDw/SGUm7V5vYMI/AAAAAAAAABE/r5Snnb0MKLQ/s1600-h/1.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216618544312049858" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_yKJlBZaYlDw/SGUm7V5vYMI/AAAAAAAAABE/r5Snnb0MKLQ/s400/1.png" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;Under the flowers folder select DaisyLarge.mel and close the visor window.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_yKJlBZaYlDw/SGUnB6u9rEI/AAAAAAAAABM/tpRiVJhlWnI/s1600-h/2.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216618657278176322" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_yKJlBZaYlDw/SGUnB6u9rEI/AAAAAAAAABM/tpRiVJhlWnI/s400/2.png" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;Draw the mesh on the view grid. Press “a” on your keyboard to zoom in. Now your screen should look something like this. Press “q” to return to the select tool and press “5” on the numeric pad to turn on shading.&lt;/p&gt;&lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_yKJlBZaYlDw/SGUnCKjbMsI/AAAAAAAAABU/ppWHTY9m_3w/s1600-h/3.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216618661524746946" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_yKJlBZaYlDw/SGUnCKjbMsI/AAAAAAAAABU/ppWHTY9m_3w/s400/3.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;There are not enough flowers in our stroke so we will increase the number of flowers by changing some of the attributes. Select the stroke for the flower. And press “ctrl+a” to open the attribute editor. On the node named “strokeShapeDaisyLarge1” increase the sample density as shown below.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_yKJlBZaYlDw/SGUnCWptnSI/AAAAAAAAABc/Htn3Kq-vgoU/s1600-h/4.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216618664772345122" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_yKJlBZaYlDw/SGUnCWptnSI/AAAAAAAAABc/Htn3Kq-vgoU/s400/4.png" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;To cast the shadows we need a light and a surface. Create a polygon plane object by selecting create&gt;polygon primitives&gt;plane. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_yKJlBZaYlDw/SGUxqp7R7XI/AAAAAAAAACk/yMyfCj_ffXc/s1600-h/5.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216630352257346930" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_yKJlBZaYlDw/SGUxqp7R7XI/AAAAAAAAACk/yMyfCj_ffXc/s400/5.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Use the scale tool (hot key “r”) to scale up the plane so it looks something like this.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_yKJlBZaYlDw/SGUoL2-RM4I/AAAAAAAAABs/W4uksC9D3us/s1600-h/6.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216619927578948482" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_yKJlBZaYlDw/SGUoL2-RM4I/AAAAAAAAABs/W4uksC9D3us/s400/6.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Next we’ll create a light. Select create&gt;lights&gt;directional light. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_yKJlBZaYlDw/SGUoMAptqrI/AAAAAAAAAB0/z5haLZHpwT8/s1600-h/7.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216619930177088178" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_yKJlBZaYlDw/SGUoMAptqrI/AAAAAAAAAB0/z5haLZHpwT8/s400/7.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Press “e” and use the rotate tool to rotate the light so it lightens from the side as shown below. I have moved the light to a side so you can clearly see it. You don’t need to move the light because it’s a directional light and where you place the light doesn’t really matter.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_yKJlBZaYlDw/SGUoMYvlUPI/AAAAAAAAAB8/ztmw8qMeyCM/s1600-h/8.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216619936644157682" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_yKJlBZaYlDw/SGUoMYvlUPI/AAAAAAAAAB8/ztmw8qMeyCM/s400/8.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Ok so now we have the light but we need to enable shadows. If your attribute editor is already open locate the depth map shadow attributes section and turn on turn on depth map shadows (otherwise you need to open the attribute editor to do this).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://3.bp.blogspot.com/_yKJlBZaYlDw/SGUoMlwhoVI/AAAAAAAAACE/9gELS-Qegms/s1600-h/9.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216619940137771346" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_yKJlBZaYlDw/SGUoMlwhoVI/AAAAAAAAACE/9gELS-Qegms/s400/9.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Let’s do a test render. As you can see although you turn on shadows paint effects strokes doesn’t cast shadows. Now for the best part.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://1.bp.blogspot.com/_yKJlBZaYlDw/SGUoNFZJuyI/AAAAAAAAACM/ywGF8jUWYqQ/s1600-h/10.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216619948629670690" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_yKJlBZaYlDw/SGUoNFZJuyI/AAAAAAAAACM/ywGF8jUWYqQ/s400/10.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Select the paint effects stroke again and select modify&gt;convert&gt;paint effects to polygons. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_yKJlBZaYlDw/SGUve40TvVI/AAAAAAAAACU/SeTjXr9NPQw/s1600-h/11.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216627951072951634" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_yKJlBZaYlDw/SGUve40TvVI/AAAAAAAAACU/SeTjXr9NPQw/s400/11.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now the paint effects strokes has been converted to polygons. And you can try rendering a frame and see for your self.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_yKJlBZaYlDw/SGUvfEeosyI/AAAAAAAAACc/WwZt1FB55lk/s1600-h/12.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5216627954203276066" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_yKJlBZaYlDw/SGUvfEeosyI/AAAAAAAAACc/WwZt1FB55lk/s400/12.png" border="0" /&gt;&lt;/a&gt; You can also try making the stroke animate and rendering a movie. Here’s the final animation with shadows. &lt;/p&gt;&lt;p align="center"&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-dfff572587166b9a" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v2.nonxt4.googlevideo.com/videoplayback?id%3Ddfff572587166b9a%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331719473%26sparams%3Did,itag,ip,ipbits,expire%26signature%3DDCCBB3C6D2A9854A57F420B4691D497F1A0F64C.42DC925E335618B2FE338FFB30051C9496D8F3AF%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Ddfff572587166b9a%26offsetms%3D5000%26itag%3Dw160%26sigh%3DEYOCv2VKmm6PQID8WX33871_a-w&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v2.nonxt4.googlevideo.com/videoplayback?id%3Ddfff572587166b9a%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331719473%26sparams%3Did,itag,ip,ipbits,expire%26signature%3DDCCBB3C6D2A9854A57F420B4691D497F1A0F64C.42DC925E335618B2FE338FFB30051C9496D8F3AF%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Ddfff572587166b9a%26offsetms%3D5000%26itag%3Dw160%26sigh%3DEYOCv2VKmm6PQID8WX33871_a-w&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2000883203198497473-1743648713375554393?l=maya-tutorials-4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=dfff572587166b9a&amp;type=video%2Fmp4' length='0'/><link rel='replies' type='application/atom+xml' href='http://maya-tutorials-4u.blogspot.com/feeds/1743648713375554393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2000883203198497473&amp;postID=1743648713375554393' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2000883203198497473/posts/default/1743648713375554393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2000883203198497473/posts/default/1743648713375554393'/><link rel='alternate' type='text/html' href='http://maya-tutorials-4u.blogspot.com/2008/06/creating-shadows-for-maya-paint-effects.html' title='Creating Shadows For Maya Paint Effects'/><author><name>Anu</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_yKJlBZaYlDw/S27GES3yNnI/AAAAAAAAAMA/CfMO8En2OK0/S220/DSC01094.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_yKJlBZaYlDw/SGUm7V5vYMI/AAAAAAAAABE/r5Snnb0MKLQ/s72-c/1.png' height='72' width='72'/><thr:total>9</thr:total></entry></feed>
