02 August 2011

Tutorial Ideas

So I think I've settled on something to talk about. Particles. Particles are probably the most technical Fx. Technically most Fx work is just making something that looks cool. I once made an effect entirely out of blend shaped geometry, no dynamics required. It just requires you to think outside the box and explore some of the weird things in maya.

But yes particles. I remember one of the things that got me started was an old tutorial on missile trails. That was back in Maya 5 or something. Anyway, I thought it could use an update, so over the next few weeks I'll be talking about particles, and more than that, we'll be creating a missile trail while not using any of the built in ramps. It will be all expressions. Kill two birds with one stone I guess.

01 August 2011

Blogs?

Ok wow, I was totally going to post shit here, and be, you know helpful. Wow, 6 months later and I think I have two posts? I give those guys that take time to do this real Kudos man. After working with 3D software for 8-9 hours a day and then coming home only to work with it again to write up some tutorial... Yeah... or I'm unmotivated and lazy. That could be it too.

So lets see... what to say. I'm learning python/pyMel. That's a start. I guess, I'm suppose to be learning pythonQt, whatever that is. But I think just learning anything is important right now. Picking up Maya 2012, for no explicable reason. I mean there's a lot of new features, but it's not that new. I need to start cracking on Houdini again. I wonder if it will run on my new MacBook Air? Probably not. I need a new mouse for my desktop, the middle click is mushy and is annoying. Also, it's apparent that I need a different video card for 3D apps. My ATI 6800  doesn't cut it. So Quadro 4000 it is. Now, I know where my money is going...

Anyway, useful tips... That's what this was all about. Actually, I need to write up a tutorial on flamethowers. Maybe I'll do that this weekend, or I'll be in Vegas.

03 April 2011

2D Fire with Smoke

So I wanted to do a video tutorial on tips and tricks about maya fluid fire. It was going to be awesome, but I couldn't get the video capture software working. I was going to show you how to make this:
But alas it is not so.

If you are learning fluids I would suggest starting out in 2D. 2D boxes are much faster to sim and it's much easier to see what the parameters are doing. Once you understand the 2D fluids then taking it to 3D is just adding another dimension.Well at least, that's the simple way of saying it.

27 March 2011

Fluid Explosion Buoyancy

So explosions are fun. And it's something that everyone wants to start doing right when they start maya fluids. So let me share a tip that I've been using.

One of the most difficult things about fluids is getting them to move quickly. Explosions have a strong force and movement for about 1-3 frames and then act like a normal mass of heat and smoke. The problem with fluids is that if you apply say a strong radial field or volume axis field with turbulence and away from center force. The fluid destabilizes and the simulation breaks. Or it's nearly impossible to slow the fluids back down to normal speeds. The former being the bigger issue. Granted, I'm also using maya 2009 and don't benefit from the improvements for 2011, like gradient force, auto resize, general stability improvements.

So here's some of my tricks: I tend to not use fields with fluids. The use of a field usually produces unnatural movement. And as you know a strong force will break the fluid entirely. I find much of the first 3-5 frames are working on shaping the explosion. That could mean placing a cluster of fluid emitters to create interesting shapes. Keying the scale of the fluid emitters. Start small, then in one frame go really big then cut it back down to size over the next couple frames. Use emission turbulence.

So that will get you the basic shape of the fluid but the more important part is timing. There are two things I use to accomplish that. The 1st is fluid simulation scale. I usually write and expression but you can also keyframe it. I usually smoothstep  the fluid sim scale from a high value (like 5 or 6) to a lower value (like 2 or 1.5) during the 1st 5-6 frames. This causes the blast to react very fast and then slow out rather naturally. It's like using damp but better. The next big trick is buoyancy. I usually control how my explosions rise with heat. So my density values are used to determine how long my smoke will last and my heat values determine how long my blast will last and how far and quickly the smoke plume will rise. You can set your density buoyancy to something rather small. Like 0.1 or even -0.1. Then set your heat buoyancy to something high, like 10 or 20, with a dissipation to match, like 3-5. You heat buoyancy controls hot fast the explosion will rise, and the dissipation will control how far the explosion will rise.

So go ahead and try it out. I hope these tips can help you get a handle on how to control your fluids.

01 February 2011

New Comp

It's been awhile. Funny how time flies. Got a new computer. It's a Falcon Northwest Talon series. It's a great machine. I would recommend their products wholeheartedly. But on to more important things. FX. I want to make up a little fire tutorial. But I think that may be too ambitious. Fire's not something that is simple to understand and even I don't have the complete mastery of it. However, I would like to give some easy how-to guides on fluids. There seems to be a lack of good information on them, or at least the information is hard to find. It's tedious to sift through pages of forum posts to find the one gem of wisdom contained within. But alas, I will try my best. So now that I have a new computer to run Maya on; fluids, sometime soon.

22 October 2010

Silly Questions

So if you've ever been on a forum like CG Talk or the Unofficial Realflow Forum. You'll notice these questions: "I'm new to Maya and am thinking of going into FX, I would like to start by making an explosion. How do you make this effect?" Or "I would like to make the effect of water forming into a shape. I'm new to realflow how should I make this?"

This is like saying, "Hi, I'm thinking of becoming a Doctor; I just bought a few knives.  How do I preform brain surgery?" Now that sounds complete absurd, but it's essentially the same question, just in a different profession. It's the same reason to you should ask an artist to paint you a picture for free, or give you a great deal on web design. I don't ask my contractor friend for free remodeling. That's just common sense.


Don't be that guy.

18 October 2010

Hidden Particle Attributes

So I want to tell you about some particle attributes that you may not know existed. Maya's help docs are lacking in this area. If you want to add a Per Particle Attr, you can look at the built in particle Attrs, like radius. You'll notice some collision attribute, but if you search for them in the documentation you won't find them. It's like autodesk forgot to mention them. Which so irritating since they are so useful. But I'd like to tell you about something that is even more secret. There are 2 attributes that don't appear on this list or in the docs. They are "ageNormalized" and "event". These two are special because not only are they undocumented; they don't even show up in a default particle! You have to force maya to create these attributes for you. So I'll tell what they do and how to make them.

First is ageNormalized. Most of you use this guy without knowing it, but you probably don't script him. Everytime you create a ramp and map it to age Maya actually creates and adds it to the ageNormalized attribute. This attribute shows how long a given particle will live in values between 0 and 1. A normalized age. It's useful any time you want to change something based on age. Like say radius.

The 2nd one is event. This one tells you how many times a particle has collided. So you can use it as a collision counter. You can use this to trigger expressions at specific collisions. To set it up you have to go in the particle menu and create a particle event. Then go ahead and delete the event. Now you have an "event" attribute.