Forums

You are not logged in.

#1 2012-02-20 01:21:47

CineArtist
Member
Registered: 2012-02-13
Posts: 27

Volumetric Lights - god rays

All I can find on this by searching is Maya related stuff. But how can this be done in Softimage? The Volume property on a light renders in Mental Ray but not in 3Delight. What do I have to do to get it to render in 3Delight?

Thanks.

Offline

 

#2 2012-02-20 04:26:31

aghiles
3Delight Developer
Registered: 2007-01-03
Posts: 1081
Website

Re: Volumetric Lights - god rays

Basically, the way to do it in 3Delight is really to modulate the light intensity using a gobo. Is that a good enough solution for you ?

-- aghiles

Offline

 

#3 2012-02-20 05:42:39

CineArtist
Member
Registered: 2012-02-13
Posts: 27

Re: Volumetric Lights - god rays

I don't think so. My understanding of a gobo is that it is a light pattern cast onto objects based on an image mapped to a light.

I need the volume in the light as it comes through the atmosphere with shadows like this:

http://farm1.static.flickr.com/221/459499509_e2072eb1c1.jpg

And it needs to be based on geometry in the scene not an image.

Perhaps I don't understand what you mean or there is some other thing you can do with gobos in SI I am not aware of. In either case I need it based on geometry.

Last edited by CineArtist (2012-02-20 05:46:37)

Offline

 

#4 2012-02-20 06:08:25

aghiles
3Delight Developer
Registered: 2007-01-03
Posts: 1081
Website

Re: Volumetric Lights - god rays

Hello CineArtist,

(The gobo will of course influence the light in the atmosphere. A gobo can be seen as a a simulator for occluders.)

Now, you can just put some geometry in the scene and you will also have exactly the same shadows as in your image. Don't forget to enable shadows in your lights.

-- aghiles

Last edited by aghiles (2012-02-20 06:08:43)

Offline

 

#5 2012-02-20 08:29:18

CineArtist
Member
Registered: 2012-02-13
Posts: 27

Re: Volumetric Lights - god rays

OK, I am completely lost then.

Sorry. I guess I need to learn more about this. I have no idea how to even create an atmosphere in SI yet. Much less how to have a gobo or anything else for that matter affect it. I mean I know about fog. Anyways, this is just over my head. I was looking for the "Volumetric Light" button. You know. Create a light, add the volume effect, enable shadows, done. It works in Mental Ray.

Potentially the solution here is more flexible? I don't know. But it sounds like you are saying to create an image that has the same opacity as the shadow, but, well, this is for animation. Not sure how that is going to work, or if it can.

If you can point me to a tutorial, great. And how is it coming with those tuts? I am way over my head. I don't know how to fill in the blanks just yet.

Last edited by CineArtist (2012-02-20 08:35:19)

Offline

 

#6 2012-05-18 10:24:33

Ninjapowa
Member
From: Montreal
Registered: 2012-03-23
Posts: 19
Website

Re: Volumetric Lights - god rays

Bumping this one, Which shader do I need to plug in and where do I plug this in to get volumetric lights?
I'm trying various ways but I can't seem to get volumes.

thanks so much!

Offline

 

#7 2012-05-18 14:54:35

Ninjapowa
Member
From: Montreal
Registered: 2012-03-23
Posts: 19
Website

Re: Volumetric Lights - god rays

I just got a hint from gducatel (thanks!), I will check this out and get back to the list.

thanks!

Offline

 

#8 2012-06-15 13:27:49

sga
New member
Registered: 2012-06-14
Posts: 4

Re: Volumetric Lights - god rays

Did the hint work?

Offline

 

#9 2012-08-11 05:11:54

duxttyiyi
Member
Registered: 2011-09-08
Posts: 53

Re: Volumetric Lights - god rays

i got it but need to adjust it in nuke

and  it's not better than maya software rendering -__-

Offline

 

#10 2012-10-23 10:55:25

CineArtist
Member
Registered: 2012-02-13
Posts: 27

Re: Volumetric Lights - god rays

Still interested in seeing the actual volumetric properties of lights to actually work in 3Delight. 

Volumetric on lights is a fake of course. But it is fast and it works.

Offline

 

#11 2012-10-24 08:35:28

gducatel
Beta tester
From: Montreal
Registered: 2007-11-13
Posts: 57

Re: Volumetric Lights - god rays

As an exemple try the following ugly python code:

Code:

Application.NewScene("", False)
Application.SelectObj("light", "BRANCH", "")
Application.DeleteObj("B:light")
Application.GetPrimLight("Spot.Preset", "Spot", "", "", "", "")
Application.SelectObj("Spot", "", True)
Application.AddProp("volumiclight", "", "", "", "")
Application.CreatePrim("Sphere", "MeshSurface", "", "")
Application.SetValue("sphere.sphere.radius", 50, "")
Application.SetValue("Scene_Root.VolumicLightScene.Step", 0.088, "")

Render...

Offline

 

#12 2013-01-25 14:32:00

danielodland
New member
Registered: 2013-01-25
Posts: 4

Re: Volumetric Lights - god rays

Was this solved? I set up a light, add volumics property and hit render. No result. Switch to mental ray, works. What is the problem? Docs say volumics are supported.

Same problem with glow on objects. Any thoughts on that? Cant find mention of glow or lens flares in docs. I know both can be achieved through compositing, and probably with greater flexibility but sometimes I want it in the render.

Offline

 

#13 2013-01-26 15:18:37

gducatel
Beta tester
From: Montreal
Registered: 2007-11-13
Posts: 57

Re: Volumetric Lights - god rays

Did you try the code in my previous post?

Offline

 

#14 2013-01-26 15:34:56

danielodland
New member
Registered: 2013-01-25
Posts: 4

Re: Volumetric Lights - god rays

Thanks for your reply.

No I didnt. Im sure it solves it, but I cant help but think that if the docs say volumics are supported, there must be a way to make them work without resorting to scripting. Can I not use this feature through the user interface without hiring a TD?=) If not it is not properly supported in my opinion.

This thread is rather old, do no 3delight developers want to chip in?=) It would be nice to hear how we're supposed to do this.

Offline

 

#15 2013-01-26 15:48:45

gducatel
Beta tester
From: Montreal
Registered: 2007-11-13
Posts: 57

Re: Volumetric Lights - god rays

In fact you don't need to hire a TD just add an object ( the sphere in my code) behind the volume effect... This will allow 3dfs to properly generate the effect.

Offline

 

#16 2013-01-26 16:46:34

danielodland
New member
Registered: 2013-01-25
Posts: 4

Re: Volumetric Lights - god rays

Sorry, I have no idea what your code does as I dont know python. Are you saying that I should add some geometry behind the light that had the volume property?

Offline

 

#17 2013-01-26 17:11:31

gducatel
Beta tester
From: Montreal
Registered: 2007-11-13
Posts: 57

Re: Volumetric Lights - god rays

Add a sphere to your scene and make it englobe it ( the onjects, lights, cameras..) entirely.

Offline

 

#18 2013-01-27 05:34:34

danielodland
New member
Registered: 2013-01-25
Posts: 4

Re: Volumetric Lights - god rays

Oh I see. Can't work in vacuum?=) I'll try that. Thanks.

Offline

 

Board footer

PunBB is © Copyright 2002–2005 Rickard Andersson

You are here: Resources » Forums
Follow us on Twitter
© 2006-2011 dna research. All Rights Reserved.
Trademarks & Copyrights Notices