Maya for 3D Printing - Rapid Prototyping
In this course we're going to look at something a little different, creating technically accurate 3D printed parts.
# 1 04-02-2004 , 11:05 PM
maya4todd's Avatar
Subscriber
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163

Tutorial for animated ocean

I'm looking for a tutorial on animating a surface to mimic an ocean surface.

:bgreen:

# 2 05-02-2004 , 01:30 AM
vladimirjp's Avatar
Subscriber
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
i uploaded an ocean shader not too long ago here on SM, so u can use it.
1)create a NURBS plane option box (name this plane oceanPlane)
>width = 40
>length = 40
>patches U and V = 30
2)convert the NURBS plane into a Softbody
- press f4 to get in the dynamics mode
>soft/Rigid body dropdown menu
>create soft body option box
>creation option = duplicate, Make original soft
>uncheck duplicate input graph
>weight = .30
Ok ocean plane is now created. now to make it move like one.
1)go to your outliner and select the oceanPlane, click on the + next to it to reveal the particles
2)select the particles
3)while still in the dynamic mode (f4) and oceanParticle still selected
>Fields
>turbulence > name it ocean Turbulence
>set magnitude to 7
>attenuation to .4
>frequency to 4
>noise ratio to 1
> interpolation type to quadratic (this is not in the option menu, after u hit create , it's in the last option in the turbulence field menu on the right)
Ok, going a bit further, u can create an air field for more realism
1)select the oceanParticles again
>field
>air option box
>magnitude = 3
attenuation = .7
direction xyz = .8, 1, .3
spread to .7
everything else is default.

i got good results, but u can always modufy magnitude, attenuation etc to get ur desired results.

user added image user added image


Last edited by vladimirjp; 05-02-2004 at 01:36 AM.
# 3 05-02-2004 , 06:19 AM
maya4todd's Avatar
Subscriber
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163
WOW! :bgreen:

Thanks so much.

# 4 05-02-2004 , 07:58 AM
maya4todd's Avatar
Subscriber
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163
Vlad,
I notice the ocean shader is inside a Maya scene (.mb). How do I save that as a shader (.ma)?

Thanks

# 5 05-02-2004 , 08:55 AM
vladimirjp's Avatar
Subscriber
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
u don't have to save as .ma
simply import it and it will go directly to the hypershade.

# 6 05-02-2004 , 10:17 AM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
if you're using 4.5 then y not just use the ocean creator thingy. the results are fantastic. but I'm sure this way will work too user added image


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 7 05-02-2004 , 02:28 PM
maya4todd's Avatar
Subscriber
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163
Ahhh, thanks.

# 8 05-02-2004 , 06:56 PM
vladimirjp's Avatar
Subscriber
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871

Originally posted by Pure_Morning
if you're using 4.5 then y not just use the ocean creator thingy. the results are fantastic. but I'm sure this way will work too user added image

yea... i thought it's good practice to make from scratch that's all.user added image
but the presets r gr8 2

# 9 05-02-2004 , 07:00 PM
maya4todd's Avatar
Subscriber
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163
It's always good to know both ways. I still have to figure out how to set it up with the presets. I guess there's probably a basic explanation in the manual/user info.

# 10 06-02-2004 , 02:36 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Cool, thanks Vlad!


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 11 06-02-2004 , 04:02 AM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
Actually, if I remember correctly, creating the ocean by converting a plane to softies is less of a drain on the pc than maya's ocean presets. I could be wrong though...it's been awhile. user added image


"Terminat Bora Diem, Terminal Auctor opus."
# 12 06-02-2004 , 04:21 AM
vladimirjp's Avatar
Subscriber
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871

Originally posted by NitroLiq
Actually, if I remember correctly, creating the ocean by converting a plane to softies is less of a drain on the pc than maya's ocean presets. I could be wrong though...it's been awhile. user added image

ur right, plus u have more control over animation, adding particles and fx etc...

# 13 06-02-2004 , 05:43 AM
maya4todd's Avatar
Subscriber
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163
All the better I have Vlad's tutorial.

By the way, I did your tutorial last night and it worked great. The only thing I'm having a hard time with is the shader. I haven't rendered a full animation yet, but a single frame looks kinda weird. I'll render an animation sequence before worrying too much.
Thanks again, Vlad for your tutorial. user added image

# 14 06-02-2004 , 06:32 AM
vladimirjp's Avatar
Subscriber
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
maybe if u add better lighting!!
here are some lights.
delete whatever light u have in your scene and add import this file. it should provide good lighting.

Attached Files
File Type: mb lights.mb (41.4 KB, 259 views)
# 15 06-02-2004 , 08:39 AM
maya4todd's Avatar
Subscriber
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163
Thanks, Vlad. I knew there was something missing...besides a few brain cells on my part. user added image

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads