CGTalk > Software Specific Forums > Autodesk Maya > Maya Dynamics
Login register
Thread Closed share thread « Previous Thread | Next Thread »
 
Thread Tools Search this Thread Display Modes
Old 01-26-2011, 12:53 AM   #1
JGreen389
Frequenter
portfolio
Justin Green
3D Artist
Wantagh, United%2BStates
 
Join Date: Oct 2009
Posts: 127
grass animation

i am working on a film for a school project and am looking for some help creating the grass that we need for our film and getting it to react dynamically with characters and wind. what we have so far is a polygonal landmass with maya fur grass attached to the surface. we have created character collision rigs from collide spheres and cubes and are going to implement those react to effect a hair system in which the collisions from the character rigs will drive the maya fur grass. So here are the main points.

1) For fairly large area maya fur works pretty well to create the grass we need however closeup shots of which there are only a few tend to not look as good as i would like them. I know grass can be created with paint fx and even just modeling it as well. Does anyone have a good recommendation of how to go about getting the grass to look good without adding an intense amount of render time.


2) We are having trouble getting the collision rigs to effect the hair system in the way we would like it to. We want the grass to move as the characters walk through it as well as bend to the ground when the characters walk over it. The film takes place in a swamp so this is a pretty big technical aspect that needs to be worked out. If anyone has any addition information or suggestions on ways to improve what we are looking for a would really appreciate the help.


Thank you.
 
Old 01-26-2011, 09:38 AM   #2
royterrrr
Expert
 
royterrrr's Avatar
portfolio
Papillon Papillon
Lighting & Environment Artist
Square Enix
Montreal, Canada
 
Join Date: Feb 2005
Posts: 1,834
can we see some samples...

not sure about collisions but i did alot of RnD in paint effects and you can get good results (but not photorealistic renders) here is some results:

http://www.youfile.net/download.php?file=059a5ad4bcd6ed40b4c3835145414d5e
__________________
sor.typepad.com
 
Old 01-26-2011, 02:02 PM   #3
JGreen389
Frequenter
portfolio
Justin Green
3D Artist
Wantagh, United%2BStates
 
Join Date: Oct 2009
Posts: 127
those look really good. not to worried about getting photorealistic results as our film doesnt have a photorealistic style, but rather more of a painterly/abstract style. Also the environment is a swamp so the grass isnt really supposed to be perfect like on a golf course.

how long did they take to render?

I am not too familiar with the paint fx tool in maya. any chance you could describe a little more in detail how you were able to achieve the look of your grass in those renders.

here are a couple of samples from our environment rendered at preview quality in mental ray. keep in mind that the bald spots are areas where there are trees and have been created by using a baldness map texture attached to the baldness attribute.

here are some samples:




 
Old 01-26-2011, 07:45 PM   #4
m0z
SOuP cook
 
m0z's Avatar
portfolio
Mathias Markovits
CG Allrounder
ViennaPaint
Austria
 
Join Date: Apr 2010
Posts: 413
paintFX are wonderful for what you want.

take a look here, this was just a 10min setup scene, basically I wanted to know how fast our renderfarm renders a parti_volume / animated trees&grass scene.

http://www.youtube.com/watch?v=IXrd0Wo5ZQk

if you convert them to polygones with history on and put a mia_material shader network (twosided, translucency) over the grass you can make the blades look VERY realistic.
__________________
mathiasmarkovits[dot]com
 
Old 01-26-2011, 10:33 PM   #5
quirkalfeeg
New Member
portfolio
quirkalfeeg
london, United Kingdom
 
Join Date: Jan 2011
Posts: 11
@m0z

Very nice render mate
 
Old 01-27-2011, 05:22 AM   #6
Windows90
Frequenter
 
Windows90's Avatar
portfolio
Cuckon Sue
Newb
Jinan, China
 
Join Date: Aug 2007
Posts: 108
Send a message via MSN to Windows90
Hi Markovits, your render result is amazing! A tutor or some tips would be very appreciated!
__________________
You are the reason I love CGTalk, my kind-hearted friends!
 
Old 01-27-2011, 08:06 AM   #7
m0z
SOuP cook
 
m0z's Avatar
portfolio
Mathias Markovits
CG Allrounder
ViennaPaint
Austria
 
Join Date: Apr 2010
Posts: 413
haha... there's nothing special on my scene.

there are instanced paintFX trees with a MIA material shader for the leaves. I used opacity, specular, bump, diffuse and translucency(!) maps -> watch the Forest thread for tips & tricks

then I created a grass patch with paintFX (I think the windy wide preset, something like that) converted them also to polygones and instanced them over the field.
for the grass I used two MIA materials, both connected to a mib_twosided which is connected to the material shader slot of one of the MIA shading groups. both MIAs also use opacity, spec, bump, diffuse and translucency maps but different ones which simulate the back side of the grass blade.

for the animation I just activated the grass & tree wind turbulence in the paintFX tab under Tubes > Behaviour > Turbulence I think.

-m
__________________
mathiasmarkovits[dot]com
 
Old 01-28-2011, 06:36 PM   #8
JGreen389
Frequenter
portfolio
Justin Green
3D Artist
Wantagh, United%2BStates
 
Join Date: Oct 2009
Posts: 127
alright so im working with paint fx now and getting myself familiar with the tools. I am having another problem now. Basically when I paint the grass in the scene and there are objects like plants I get an ugly effect like this:



Does anyone know how to get the grass to not overlap the geometry?
 
Old 01-28-2011, 10:38 PM   #9
royterrrr
Expert
 
royterrrr's Avatar
portfolio
Papillon Papillon
Lighting & Environment Artist
Square Enix
Montreal, Canada
 
Join Date: Feb 2005
Posts: 1,834
Quote:
Originally Posted by jgreen827
how long did they take to render?

I am not too familiar with the paint fx tool in maya. any chance you could describe a little more in detail how you were able to achieve the look of your grass in those renders.


they didn't take too long to render, it all depends on your mia material reflection samples.
start with a big brush and high density values make a straight line or a big circle to get a covered surface of 10meteres*10meters, tune your blades (your pfx branches) so they look like grass. make 2 big patches for more control, one clean straight and another more chaotic (you give it a high random value in the forces section).
good luck!
__________________
sor.typepad.com
 
Old 01-29-2011, 01:34 PM   #10
Windows90
Frequenter
 
Windows90's Avatar
portfolio
Cuckon Sue
Newb
Jinan, China
 
Join Date: Aug 2007
Posts: 108
Send a message via MSN to Windows90
Thanks Markovits for your tips, I'll have a try. I used to render grass use Shave but never achieve such a realistic look. After seeing your render result I can't wait to try with PaintEffects, thanks!
__________________
You are the reason I love CGTalk, my kind-hearted friends!
 
Old 02-01-2011, 06:24 AM   #11
JGreen389
Frequenter
portfolio
Justin Green
3D Artist
Wantagh, United%2BStates
 
Join Date: Oct 2009
Posts: 127
Still haven't found a solution to the above issue I described. Just reposting in hopes someone who knows how to fix it see this. Thanks.
 
Old 02-01-2011, 10:57 AM   #12
royterrrr
Expert
 
royterrrr's Avatar
portfolio
Papillon Papillon
Lighting & Environment Artist
Square Enix
Montreal, Canada
 
Join Date: Feb 2005
Posts: 1,834
Quote:
Originally Posted by jgreen827
Still haven't found a solution to the above issue I described. Just reposting in hopes someone who knows how to fix it see this. Thanks.


PFX doesnt "see" the plant.
So just duplicate your ground,cut out the section where the base of the plant stands and paint on that surface then hide it.
__________________
sor.typepad.com
 
Old 02-01-2011, 06:51 PM   #13
JGreen389
Frequenter
portfolio
Justin Green
3D Artist
Wantagh, United%2BStates
 
Join Date: Oct 2009
Posts: 127
royterr i appreciate your suggestion however, I don't believe that will solve the problem. The problem is really when there are objects that overlap the grass as opposed to objects being directly on top of the grass. I tried to make it clear in the following two picture. There must be a way to have geometry override paint fx or something like that. I still need help with this issue so if anyone has any additional suggestions please shoot them my way. Thanks again.



 
Old 02-01-2011, 07:03 PM   #14
royterrrr
Expert
 
royterrrr's Avatar
portfolio
Papillon Papillon
Lighting & Environment Artist
Square Enix
Montreal, Canada
 
Join Date: Feb 2005
Posts: 1,834
Quote:
Originally Posted by jgreen827
royterr i appreciate your suggestion however, I don't believe that will solve the problem. The problem is really when there are objects that overlap the grass as opposed to objects being directly on top of the grass. I tried to make it clear in the following two picture. There must be a way to have geometry override paint fx or something like that. I still need help with this issue so if anyone has any additional suggestions please shoot them my way. Thanks again.





Nowadays nobody uses paint effects in their primitive state (rendered as brushes) so always convert to polygons once you are satisfied (you are accoutering a view port Zfight issue it should render fine).
__________________
sor.typepad.com
 
Old 02-04-2011, 10:05 PM   #15
JGreen389
Frequenter
portfolio
Justin Green
3D Artist
Wantagh, United%2BStates
 
Join Date: Oct 2009
Posts: 127
First off I'd like to thank you all for your help so far. I am learning a lot about paint effects and am getting some really nice results. I am still having a problem though when converting to poly's. Is there a way to convert to poly's where it still keeps the look of the grass before it was converted (paint effects) the same? The following images shows a patch of grass that was converted and the undesirable outcome that I am talking about.




 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 01:05 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.