Username
Password
Auto-login
Show my name in the online users list
Not a member?
Please register.
Forgot your password?
(1) October 2008
(2) May 2008
(1) January 2008
(1) November 2007
(2) September 2007
(7) August 2007
(2) July 2007
(1) June 2007
(3) May 2007
(4) April 2007
(8) March 2007
(9) February 2007
Forest Road using Paint Effects
Posted: Aug 31, 2006 - 08:09 AM
Category: example scenes
This example scene shows Paint Effects trees and grass used to create a forest along with some fog. In order to get the lighting in the clearing the way I wanted I used several very bright spotlights with fairly high resolution shadow maps. The leaves and branches are animated using the built in turbulence on the pfx brushes. I used translucence on the leaves so they would back light and as well edited the shadow color on some lights to allow more light to penetrate through the leaves, simulating scattering a bit. Note that the render is rather longish, partly due to all the shadow maps( it draws the entire pfx scene for each shadow map).

The scene has the stroke display quality settings low to make updating a bit faster and use less memory. In addition displayAsMesh is toggled off for grass and brush, which reduces memory overhead a bit. Note that trees and blowing grass update during playback, because they have turbulence animations. For fast playback one could set paint effects to "interactive" in the performance options. Then the pfx would not animate during playback.

There is a slight flicker problem during animation that perhaps a bright user could fix. I think this must be due to the brightness of the lights combined with the depth map resolution limits... perhaps made worse by having a non-black shadow color. As the leaves animate the combination can result in holes suddenly opening up in the shadow map allow light to pop on for those bits. A real scene would tend to not have this problem due to multiple scattering of light through the leaf canopy. I tried converting everything to poly and had the same problem, so I'm pretty sure its the way the lights are defined... they have rather extreme intensities, but in real life a forest is quite dark compared to the sky and outer illumination.
image1.jpg
Fog illumination seen without Paint Effects
I used the physical fog "atmospheric" setting ( see envFogMaterial node ) with a low airLightScatter value and careful placement of the fog's sun position. (the physical fog has a single simulated sun that illuminates the fog, but not objects in the scene) The low airLightScatter causes the fog to be brighter where one looks more in the direction of the sun. By positioning the sun to the right of the scene I was able to create the brightness gradient in the fog that I wanted, without resorting to full volumetric shadowing. One can do nice volumetric shadowing with Maya Fluids, but they do not integrate well with paint effects at render time, while the environment fog has special code that makes it work well with paint effects.

In an actual forest the light scattered through the leaves would illuminate the fog, giving the fog a greenish tinge, so I make the fog slightly green to simulate this.

Additionally I wanted the background to be very bright from overhead. To simulate this bright background I created a box(nurbsCube1) with a surface shader that had a bright outColor(value set to 4.5 in color editor) and positioned it around my scene. The bright color punches through the fog where it is nearer to the eye.

Finally I added a small amount of depth of field, focusing near the camera to simulate the way dense fog slightly blurs distant objects.

The trees in this scene are have been modified from existing presets. If you want to make any tree or bush in this scene a preset it is easy. Select the tree and then do "Paint Effects:Get settings from selected stroke", followed by "Paint Effects:Save Brush Preset". If you want to create an icon for the preset you can paint a stroke of the brush in the paint effects panel, then in the save preset box select "grab icon" and drag the mouse over the region in the panel to become the icon, then save the preset. One can also create icons from the render view window by using "View:Grab Swatch" from its menu.

You can find the Scenefile and SourceImages below.
In order to post any comments, you must be logged in!
  Posted by Duncan Brinsmead  on  02 Oct, 2006  at  05:00 AM

Hi Mike, try doing a rightmouse->saveTargetAs and put forestRoad.ma into your scenes directory and the supporting texture files in your sourceimages directory. If it then doesn’t load properly using the maya open scene menu (instead of drag/drop) then let me know. The file is a 7.0 format file, so it should work with your version fine.
Duncan

  Posted by Micko  on  01 Oct, 2006  at  08:30 PM

Hello Duncan, thanks very much for that.
I`m having difficulty in opening the scene file.
I`ve tried to drop it into Maya 7.0, and its not working.
Any idea why?
Thanks for your time
Mike.

  Posted by AspectSEQLD  on  25 Sep, 2006  at  04:42 PM

Very nice scene Duncan. Ive been using Pfx for a while now, but your atmospheric setting is stunning. Thanks for sharing your work mate, much appreciated.

Jesse Sago

  Posted by Duncan Brinsmead  on  12 Sep, 2006  at  05:23 AM

The avi link should still be working.
You may need to download the divx codec:
http://www.divx.com/
Let me know if it is still a problem.
Duncan

  Posted by pixelmonk  on  12 Sep, 2006  at  03:20 AM

the linked AVI is no longer there

  Posted by vizeng  on  11 Sep, 2006  at  06:00 PM

great job!
i’ve never used Paint FX so heavily...because i use Mental Ray
Shall we see Paint FX on MR without converting that stuff in polygons ??
I hope that we will see it soon…
Thanks!
Andrea

  Posted by Tiny3001  on  11 Sep, 2006  at  12:58 AM

I can only hope to start doing scenes like this… I’ve only recently started using Maya myself (and I can recommend the Digital Tutors training material for any beginner out there!) and Maya has captured my imagination like you cannot believe. I’ve been drifting in out of all different sorts of Computer Industries, from programming, to web design to system administration… this is the first time something’s held my imagination.

Thanks for a great tutorial… hopefully it won’t be too long before I understand what you did!

 
Page 1 of 2 pages  1 2 >