Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 10-09-2005 , 07:33 AM
Lifire's Avatar
Registered User
Join Date: Oct 2004
Posts: 68

lightning effect (dynamics)

I created this lightning effect and set the values to what I thought looked best to me. Then I added a background in maya (on a plane) to set up a good perspective, but when the lightning is in front of the background, it gets way too bright and has a huge glow. The only way to disable this is to turn the glow almost all the way off, but then it defeats the purpose. The first image is the effect settings.

I deleted the only light in my scene (direction light) and that seemed to take the glow off the background, but then I have no lights user added image

So is this most likely a problem with my directional light, my lightning effect, or my background plane (shader)? Any ideas what settings I should change?

Thanks in advance.

Attached Thumbnails

"We don't actually need to know that the main character has a past. All we need to know is that he has an objective and a lot of people are going to die and a lot of innocent inanimate objects are going to be destroyed and blown up before he can complete that objective."
# 2 10-09-2005 , 07:36 AM
Lifire's Avatar
Registered User
Join Date: Oct 2004
Posts: 68
This is the effect with no background behind it (as seen from the camera).

Attached Images

"We don't actually need to know that the main character has a past. All we need to know is that he has an objective and a lot of people are going to die and a lot of innocent inanimate objects are going to be destroyed and blown up before he can complete that objective."
# 3 10-09-2005 , 07:37 AM
Lifire's Avatar
Registered User
Join Date: Oct 2004
Posts: 68
The effect with a background behind in maya.

Attached Images

"We don't actually need to know that the main character has a past. All we need to know is that he has an objective and a lot of people are going to die and a lot of innocent inanimate objects are going to be destroyed and blown up before he can complete that objective."
# 4 10-09-2005 , 07:38 AM
Lifire's Avatar
Registered User
Join Date: Oct 2004
Posts: 68
And finally, what I want it to look like as a straight render from maya (but this was done in PS).

I also tested the light intensity, but that doesn't help. Besides, I would lose the color it casts on objects.

Attached Images

"We don't actually need to know that the main character has a past. All we need to know is that he has an objective and a lot of people are going to die and a lot of innocent inanimate objects are going to be destroyed and blown up before he can complete that objective."
# 5 10-09-2005 , 06:15 PM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Well, from my experience with shots including lightning, I would do one of the following instead of using Mayas Lightning effect:

1. do it in POST! user added image

In post, you have way more control over position and look.
It is pretty much a safe bet that anything that needs glow, it would be better, and more controllable in post.

2. Create a curve between your lightning start and end points/objects, and attach one of the many lightning Paint FX brushes, and control it from thereuser added image


Also, from the docs regarding the lightning effect:

Light Intensity:
When you create lightning, a light at the center of the lightning is also created, which casts light on surrounding objects. The default intensity of the light is based on the Glow Intensity attribute, and the difference between the Lightning Start and the Lightning End attributes. The Light Intensity attribute multiplies this default intensity. Increase the value of Light Intensity to increase the lighting of the surrounding objects.


Adjust the lightning shader:
In the lightning shader, Color, Incandescence, and Glow Intensity are set by the lightning attributes and cannot be changed in the shader.
You can adjust the other shader attributes.


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 6 10-09-2005 , 07:15 PM
Lifire's Avatar
Registered User
Join Date: Oct 2004
Posts: 68
Great suggetion! My two main problems with doing this specific project in post (for an animation):

1) Time and work. I would need to keyframe the lightning positions as well as a layer mask for when other objects would cover it up.

2) I would lose the light and color that it casts on other objects.

So I'll test the paint FX.

What's odd though, is that if I reopen my completed model and then add another plane with the background I have been testing, it renders the lightning in front of it just fine... after I move the plane and change my camera view, it seems to intensify the glow, which doesn't make much sense, so I have no explanation for the changes.

Maybe there is some light linking I can do to turn off the light and reflections the plane with the background receives from the lightning light node?

Edit: Tested the paint FX and it doesn't want to make the curve paintable. Also, are the only lightning brushes in the electric folder?


"We don't actually need to know that the main character has a past. All we need to know is that he has an objective and a lot of people are going to die and a lot of innocent inanimate objects are going to be destroyed and blown up before he can complete that objective."

Last edited by Lifire; 10-09-2005 at 07:38 PM.
# 7 10-09-2005 , 08:29 PM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
My responses are below your questions:

1) I would need to keyframe the lightning positions as well as a layer mask for when other objects would cover it up.

Yup, I understanduser added image

2) I would lose the light and color that it casts on other objects.

Well, like you say below, you could create another light with the same color and link it to the Intensity-Out and RGB-out of the lightning light, and use light linking so it only affects your chosen objects.

...after I move the plane and change my camera view, it seems to intensify the glow, which doesn't make much sense, so I have no explanation for the changes.

Weird, it migh be a distance to camera-normal issue... not sure..

Maybe there is some light linking I can do to turn off the light and reflections the plane with the background receives from the lightning light node?

Yep, I would try that if you aren't comfortable with doing this in a 3d compositor where you can control light color on only your object layers.

...Tested the paint FX and it doesn't want to make the curve paintable.

That is because the default lightning effect "bolt" is not a curve persay, it is an extruded softbody, and therefore with its dynamic connections, is not accepting your command to be paintable.
...it should still work tho... weird...

Also, are the only lightning brushes in the electric folder?

Yes.
You can tweak them to make them look, and act the way you want, as well as animate the control curve for more interesting effects as well.


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 8 11-09-2005 , 03:18 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 9 11-09-2005 , 05:12 AM
Lifire's Avatar
Registered User
Join Date: Oct 2004
Posts: 68
"That is because the default lightning effect "bolt" is not a curve persay, it is an extruded softbody, and therefore with its dynamic connections, is not accepting your command to be paintable.
...it should still work tho... weird..."

It won't let me because the curve is not a nurbs or polygon object.

I don't know if I completely understood what you suggested with paint FX. Are we talking about lightning effects or the electric brushes? The burshes have to be painted on a nurbs or polygon surface, which a curve is not, and you can't make it a paintable object. Please specify further user added image

Thanks for the help. I'm sure I could do this in AE with no problems, but I just think it would be quicker and more efficient for this short clip just to do light linking, but I don't know how to go about that. I guess I'll research that later. I'm fairly new to maya, but I've only played around with modeling before. I have never really learned about lights, rendering, or effects, that's why I have all the "newb" questions.


"We don't actually need to know that the main character has a past. All we need to know is that he has an objective and a lot of people are going to die and a lot of innocent inanimate objects are going to be destroyed and blown up before he can complete that objective."
# 10 11-09-2005 , 08:02 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
No problemuser added image

Also, just fyi for future reference:

You can manually attach brushes to existing CV or EP curves, in effect, turning the curves into Paint Effects strokes. This is a convenient way to convert existing curves into strokes. Laying the stroke path using a curve may also give you better control over the stroke path (for example, if you want a single stroke to wrap continuously around a 3D object).


To attach a brush to curves do one of the following:

-Select the brush preset you want to apply to the curves, such as a lightning brushuser added image

-or-

Get brush settings from an existing stroke. (Select the stroke and select Paint Effects > Get Settings from Selected Stroke.)


Then, modify the brush attributes, if necessary (Paint Effects > Template Brush Settings or use the Ctrl-b (IRIX, Linux and Windows) or Control-b (Mac OS X) hotkey combination).

NOTE:
For information on modifying brush attributes, see "Define template brush settings" in the docsuser added image


Then:
Select the curves you want to attach a brush to.
Select Paint Effects > Curve Utilities > Attach Brush to Curves.

Done! Easy as pieuser added image

Good luck!


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 11 11-09-2005 , 08:07 AM
Lifire's Avatar
Registered User
Join Date: Oct 2004
Posts: 68
Ah, much appreciated :attn:

I'll have some fun with those later.


"We don't actually need to know that the main character has a past. All we need to know is that he has an objective and a lot of people are going to die and a lot of innocent inanimate objects are going to be destroyed and blown up before he can complete that objective."
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