### Underwater lighting - parti_volume

196,588

Jul 16, 2010

2009, 2010, 2011

mac, windows

#### Language:

English

In this tutorial we will be exploring the use of the Mental Ray node "parti_volume". in the past this has been somewhat troublesome for new and experienced users alike. however with this tutorial i aim to explain how to set it up in a way that will enable you to go ahead and put it to your own use.

We will also be covering the creation of caustics. Although i will be using it in the situation of moving open water the process of creating them works in any situation that you require caustics.

So lets get going...

Part 1 - Scene Setup

for all of the following make sure Interactive Creation is turned off

1. Create a polygon cube and scale it by 300.

2. Name this Cube "photonBoundry". see figure 1.1

figure 1.1

3. Create a Polygon Plane and scale it by 60.

4. Name this Plane "seaBed". see figure 1.2

figure 1.2

5. Create another Polygon Plane, scale it by 20 and this time translate it by x=10 , y= 17, z=10.

6. Name this Plane "waterSurface". see figure 1.3

figure 1.3

7. Create a Spot Light and rotate it by x=-75, y=50, z=0 and translate by x=15, y=36, z=15.

8. Name this Spotlight "photonEmmitter". see figure 1.4

figure 1.4

On the next page we will be creating the water surface...

May 28, 2013
Post id: 18003

Hello, I tried to do your tutorial but something wrong, can you send me your scene?
Email: jsamat68@gmail.com
Thank a lot!

Jul 15, 2010
Post id: 11818

dunno if I'm doing something wrong, but I followed the tutorial word for word, checked it through several times, but I still can't get the light fog/rays to render. The caustics on the seasbed and water surface are fine, but no light rays. Tried all the normal ways of using fog within the spotlight, and even that doesn't render with this setup.....am I missing something glaringly obvious?

Jul 16, 2010
Post id: 11825

Hi Pootang,

If you can upload a copy of your scene somewhere i'll go through it and check. it might be something little or it could be a mistake that ive made in the tutorial.

Firth thing to mention is make sure you are using Mental Ray for rendering as maya software will not work for this effect. in terms of the missing rays it could be a parti_volume issue or even a camera issue. as i sai if you send me the scene i'll have a look and point you in the right direction.

Callum

Jul 16, 2010
Post id: 11829

Hi Callum,

Thanks for the tutorial, just what I'm looking for for a project I'm doing. Did you find the solution to Pootang's problem in the end, as I seem to have the same one?

Regards,
Chris

Jul 16, 2010
Post id: 11830

I havent heard back from them yet but if you are willing to send me your scene then I will have a look at it.

Callum

Jul 16, 2010
Post id: 11831

Think I've found the solution. Nothing wrong with your tutorial, just not quite clear on the diagrams... the Scatter colour on parti_volume1 and parti_volume_photon1 shouldn't be black, but dark grey instead.

Hope this helps anyone.

Thanks again,
Chris

Jul 16, 2010
Post id: 11832

ahh I see. yeah by moving the slider to the position indicted it should be the same however I shall make a note on the tutorial so that in future people who are reading will better understand the setup.

I'm glad the tutorial otherwise has been of use.

Callum

Jul 21, 2010
Post id: 11878

i can't find "parti_volume_photon1" can you please help me, i followed your instructions tep by step but it seems its not there, what do you think is the problem? Thanks

Jul 21, 2010
Post id: 11879

The parti_volume_photon node is a mental ray node that can be found under the “photon volumetric materials” section. its not in the same section as the parti_volume node.

Jul 21, 2010
Post id: 11880

sorry wheres this "photonBoundry Cube "?

Jul 22, 2010
Post id: 11886

its just a normal polygon cube, that if you have followed the tutorial, you have named "photonBoundry" you will see it in the outliner. its the first cube you created.

Jul 22, 2010
Post id: 11887

yeah thanks for that, i wasnt using the 1st page..! just trying to adapt your tut for the scene i was working on .. while i am here, when using photons would putting a cube around any scene create a "boundry" and thus reduce render time?

Jul 24, 2010
Post id: 11911

great

Jul 30, 2010
Post id: 11984

Got a Little problem here, I can see the light on the seabed and waterbed but no volumetric light visible! Checked all the settings and the color of the photonscatter. Any idea's what might be going wrong?

Jul 30, 2010
Post id: 11985

"Now where it says "Phot Volume Shader" click the chequered box and select "parti_volume_photon" from the "Photonic Volumetric Materials" section under the Mental Ray nodes. Again leave the settings alone for the node as we'll set them up later"

Those this mean you create a new parti photon volume in the volumeshader for the camera? Or attach partivolume1 and in then create a photon volume in the partivolume1.

Can't seem to get it right. still no volumetric light visible.

Aug 11, 2010
Post id: 12117

Hi, can you send me your scenes? Thank you very much for this tutorial.
Email: tinhnhien@gmail.com
Regards,
Tamu

Sep 20, 2010
Post id: 12499

the tutor is helpful, thanks a lot!!!!!

Oct 10, 2010
Post id: 12710

I followed the tutorial as u say , but I still can't get the light fog & rays effect in render. The caustics shown on the seabed and water surface are fine, but was no light rays in between. try 2 help me out.

Oct 11, 2010
Post id: 12713

Thanks for the tutorial!
pretty sure it worked for me, but its hard to tell because this render time is ridiculous
i've been rendering for over 10 minutes and its only 10% done. I also have a lil creature in the scene but it was created out of one polygon sphere so its hard to beleive that that is slowing it down much
Im using my schools computer:
Intel Xeon, 2.53ghz (2 processors)
windows i7
12 gb ram
quadro FX 1800 graphics card (768 mb dedicated memory)
is there something wrong?
thanks for the help

Oct 17, 2010
Post id: 12774

many thanks for the tutorial.

I have a problem with the camera , if its outside the cube boundry the rays render fine but when i move the camera inside the cube they dont any idea why ? and on how to fix it ?

Oct 19, 2010
Post id: 12785

This was a great tutorial, thanks for this one.

Oct 25, 2010
Post id: 12844

hi i try to do the same step i am not getting the out put.......... the fog wave effect is not coming what to do and this is my file.

Nov 12, 2010
Post id: 13008

nice!!! thank you

May 31, 2011
Post id: 14609

Ok I found the problem. I don't recall seeing in your tutorial any instruction to connect "parti_volume_photon1" as the Phot Volume Shader for transmat1SG and and dielectric1SG.

May 31, 2011
Post id: 14608

For the life of me I cannot get the volume rays to appear. I'm not a novice, but I can't discount the possibility that I'm missing a step (I'm doubtful though). I tried to the tutorial over at escapestudios and was able to get the volume ray to come out the other side of the glass sphere, but as soon as I try working with displacement maps I got nothing. Enabling Auto Volume doesn't help either. Can someone diagnose my scene (maya 2011)?

Dec 10, 2010
Post id: 13257

hey can u mail the scence@gada_paras@yahoo.com

Dec 10, 2010
Post id: 13258

thank u very much, its so helpful.. for me, once again thanks..buddy

Dec 16, 2010
Post id: 13311

Dec 27, 2010
Post id: 13400

ugh. Ive redone the tutorial 2 times now, and my computer keeps locking up and maya isnt responding.

Jan 26, 2011
Post id: 13627

great tutorial but this took like 30mins to render iirc, not sure if these settings could be optimised or is that generally how slow all gi stuff is?

Feb 17, 2011
Post id: 13834

when you follow the tutorial ,and you set up the camera,the settings is for pesp camera.
you should render it with pesp camera,and get the light fog.

Mar 23, 2011
Post id: 14126

thank you sir, i got this result, great tutorial... thank you. but i cant change this color please tell me..

Apr 23, 2011
Post id: 14339

hey i I followed the tutorial,but at the end i can't get final result in render..can u help me

May 04, 2011
Post id: 14412

I have followed this Tutorial word by word inspite of that I'm not getting any result. Can You pleaze help me out.

May 17, 2011
Post id: 14500

thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanx. . . . .actually i been lokking for this . . . . now only i got it . . . . .

May 19, 2011
Post id: 14516

Just want to say KINDLY PLEASE CHECK THAT "AUTO VOLUME" IS ON IN THE OPTIONS . It may be in 2nd or 3rd Tab. Chk it out it may help...One thing for Sure Volume light take much more time to Render In fact more than FINAL GATHER...So take a separate pass for it.

Hope this help

Jun 02, 2011
Post id: 14620

I'm looking for this tutorial for several months. I didn't know about this tut on creative crash. Now I've got it, and I'm going to dive with this all times favorite tutorial. Thanks the author Callum Ridley for your great effort. Keep moving with some more extra ordinary tuts.

Jul 12, 2011
Post id: 14916

wonderfull but 1 advice 4m me. Just show the working file images instead attribute editor images.. people easily came to know wen u show the working file images...

thank you

Aug 30, 2011
Post id: 15201

hi callum, great tutorial... but i m not getting any output any lights ... render scene is coming pure black .... can u pls send me your maya scene file so that i can come to know where i am doing wrong....pls ilove this effect... pls send me your scene file at animatornj@gmail.com

Sep 01, 2011
Post id: 15216

hey thanks buddy.... i got that ouput....i made one mistake in the starting... forgotn to unchek that interactive creation in the starting... but getting two different output ... on maya 2012 effect is coming much better than maya 2009 ..... anyways great tutorial man.....pls upload some more tutorials for some other effects.... thanks buddy... :)

Jan 25, 2012
Post id: 15764

many thanks for this tutorial, works very well!

Feb 06, 2012
Post id: 15824

Callum,

I need to change the scale of the scene but the results are bad. Also, the caustics on my seabed floor are rows of squares and look very artificial. Can I email you my file?

Thanks!! :)

Apr 17, 2012
Post id: 16193

How do you save it and see the animation?

Apr 19, 2012
Post id: 16208

Anyone know how to save the animation and see it?

May 28, 2012
Post id: 16419

Hey Callum

Thanks for the tutorial. However, i am getting problems rendering the scene.. its coming out black. Any ideas what's causing this?

Cheers! :)

Jul 04, 2012
Post id: 16561

thanks for tut callum.

Oct 12, 2012
Post id: 16958

It looks quite good, but in the end after I add the parti_volume, my computer was unable to render out...I guess this effect must be very expensive to render ha.....

Oct 13, 2012
Post id: 16962

hi, like your tutorial, but i dont know how i can get rid of the artifacts on the watersurface (black spots)

Pika :)

Dec 22, 2012
Post id: 17287

Thanks for tutorial. Works well, but did't helped me much. What I am actually trying to do, is volume colored caustics for splashes of water (mesh from nparticles) . I tried even simple cube with dielectric material, but don't seem to have a same effect. I would be grateful for any tip/idea. :)

Jun 05, 2013
Post id: 18066

hi guys
I just create under water environment scence in maya.
Now i feel panic how i render it in diffrent layers and passes
how i manage render passes for optimal output
:(

Jun 17, 2013
Post id: 18106

Hi, at first, thank you so much for this tutorial.

However, I can't get the result as in sample pic. Is it possible for me to ask you to send me your scene file? Please!!

Email : kerokero2d@gmail.com

KeroP

Jun 01, 2015
Post id: 21327

dis was soo helpful... thanxx alot....:-)

Dec 11, 2015
Post id: 22027

Hi, I know this is kind of a long shot considering this tutorial was made some time ago, but I've done the tutorial 3 times now, and keep failing to get the result in your image. I even reset my maya settings thinking maybe that was the issue. The lighting is fine, but for whatever reason the water surface in my scene every time has these large bubbles that end up creating huge dark spots on the seabed plane. I was wondering if I could send you my scene, or you could send me yours? my email is keiser.kl456@gmail.com thank you :)