Jump to content

vray and lens effects


Shaun Hamm
 Share

Recommended Posts

I'm trying to emulate a starburst glare effect that you see in MR lights. I've found a couple video tutorials saying to add the environment/lens effect/star and glow to omni lights but I am still unable to see the effect when rendering using a vray physical camera.

 

Does this not work with vray physical cameras and lights? Or is there another method I should be using?

 

Oh, and it's gonna be for a animation so i can't add it in post.

 

Thanks for any suggestions.

 

-Shaun

Link to comment
Share on other sites

I'm trying to emulate a starburst glare effect that you see in MR lights. I've found a couple video tutorials saying to add the environment/lens effect/star and glow to omni lights but I am still unable to see the effect when rendering using a vray physical camera.

 

Does this not work with vray physical cameras and lights? Or is there another method I should be using?

 

Oh, and it's gonna be for a animation so i can't add it in post.

 

Thanks for any suggestions.

 

-Shaun

 

Are you sure you can't do it in post? ...I am working on an animation this morning where I am adding glare to lights in post. Similar to the way I would in Photoshop by creating a glare on a black layer, and setting it to a screen transfer mode. Then I am manually tracking the light, and scaling/fading as needed. It is not perfect, and maybe not the best way, but it will work.

 

Currently I only have 2 of the lights started, and they both still need refining.

 

Also, I think Vlado said this is a feature that has been implemented on future versions. I don’t know if it is a 2.0 feature, or if it will be a service pack.

 

http://www.phase22.com/misc/cgarchitect/Glare.wmv

Link to comment
Share on other sites

I have liked the results I have received in Mental Ray with it, but it is annoying at times because it is 'burnt' into the scene. Ideally it would be best as a render element, that can be directly composited in post.

 

Mental Ray does have the feature to render it out as a pass by itself, but the feature requires replacing the existing image, so you still have to render out the frame in a separate pass. A render element would render it at the same time, and then allow you to apply it as a screen layer in post, and adjust the effect it has on the image.

 

Anyway, I am looking forward to that as an addition to Vray also.

Link to comment
Share on other sites

There are lots of ways you can do it in post.

 

My preference is to use a plugin called Optical Flares in After effects.

 

Simply save your V-ray SELF ILLUMINATION render pass & get the plugin to use the luminence value of the render pass. [This method works best with 32bit image formats]

 

Or an even more precise way is to use Max to AE plugin which can export the actual lights to AE in 3D space. The pugin will then take into account the actual distance from camera & light intensity to create much better flares....you may need to create a mask in vray to tell the plugin when the lights goes behind an object

 

**You may run into problems using Scanline or Mental ray to generate flares if you are using Vray proxies as they won't recognise them.

 

Hope this helps

Link to comment
Share on other sites

**You may run into problems using Scanline or Mental ray to generate flares if you are using Vray proxies as they won't recognise them.

 

Hope this helps

 

I will look into your other methods, particularly the second method. I have been looking to incorporate the 2 into a tighter work environment.

 

But what Justin was talking about was using a blank scene with the Mental Ray render engine and a already rendered EXR set to be rendered as the background image. There does not need to be any geometry in the scene. You then play with the Mental Glare shader to produce the effect you want off of that image.

 

This is essentially the same as the first method you described but the post pass is done in Max instead of Aftereffects. Which is better would come down to which plugin is more robust.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...