Iray sun rays?

I'm somewhat new to DazStudio and I'm, trying to learn how to use Iray. I think I got the basics but I can't find a way to achieve sun rays effect. I really want to make an image with a girl sitting next to a window. The room will be somewhat dark and I want to have the girl bathed in light from the window. Can this be done with Iray? I could make the rays in photoshop I suppose but I really want to know how to light her through the window. Can this be done? I'd appreciate any help :)

 

Comments

  • Richard HaseltineRichard Haseltine Posts: 102,438

    http://www.daz3d.com/atmocam-for-iray

    Or you can achieve a similar effect yourself by applying the Dsipersive Water preset to the surface of a cube primitive and adjusting the settings.

  • seeker273seeker273 Posts: 449
    edited July 2015

    I tried the cube with the dispersive water and I got this result

    The window is distorted and multiplied. I can't see what I'm doing wrong but then again I'm not very familiar with DS shaders so I don't know what to fiddle to make it look right.

    My main question is how to deal with the lighting aspect. What rendering settings and lights to use to get a semi dark room with the primary light source coming in an angle through the window. Is that possible? Can I use light emmitters for that job?

     

    Post edited by seeker273 on
  • prixatprixat Posts: 1,590
    edited July 2015

    Is this the effect you're after?

    Instead of water on the cube I used only the SSS settings. A distant light shining through the window.

    The scene is here, if you want to examine it:
    https://onedrive.live.com/redir?resid=D0B78AEFAC3154D0!169&authkey=!AMd3cKGWj-F6xXA&ithint=folder,duf

    volumetric2.jpg
    400 x 333 - 123K
    Post edited by prixat on
  • seeker273seeker273 Posts: 449

    Yes! Thank you very much, that's exactly what I needed prixat. I'll study the scene and try to recreate it in my scene :)

  • prixatprixat Posts: 1,590

    You're welcome, just a couple of things I've found while playing with that scene...

    The two values of SSS that had the most affect were the Scatter distance (about 80-100) and SSS amount (0.005 or even less).

    The more subtle and realistic values make the render times very, very, very long! smiley

  • seeker273seeker273 Posts: 449

    I've been trying for hours to make it work but no go. I've even placed my characters into your scene and the light still doesn't pass through the winow of my roomeven though it's Iray glass. I'm a total newbie to this so please don't laugh but, is there a trick to handling a distant light? It's behaviour is weird and it definately doesn't point where I place it.

  • prixatprixat Posts: 1,590
    edited July 2015

    Is the distant light behaving correctly outside 'the room'?

    Distant lights are actually much simpler than other lights, the position of that distant light marker can be ignored, only the angle and rotation matter.smiley

    (Did my scene work before you added figures to it?)

    Post edited by prixat on
  • fastbike1fastbike1 Posts: 4,078

    I've been trying for hours to make it work but no go. I've even placed my characters into your scene and the light still doesn't pass through the winow of my roomeven though it's Iray glass. I'm a total newbie to this so please don't laugh but, is there a trick to handling a distant light? It's behaviour is weird and it definately doesn't point where I place it.

    I don't understand what's going on. I downloaded the scene and rendered without any issues. The distant light didn't any modification.Did you by chance switch the render method to 3Delight? If you did, the room will be black. See attached. First is Iray, second is 3Delight. Any help?

    Prixat's test. 40%, 30 sec Iray.png
    500 x 333 - 231K
    Prixat's test. 100%,10 sec 3Delight.png
    500 x 333 - 78K
  • prixatprixat Posts: 1,590
    edited July 2015

    You mention Iray Glass, in an earlier post, I only used a flat plane and 0 opacity to make an opening.

    If the 'opening' is converted to Iray Glass it may not work properly.
    Perhaps, it needs the Thin Walled setting or the window has to be a pane of glass with a thickness.

    I'll have to put some glass in the opening and play around with the scene...cool

    Post edited by prixat on
  • http://www.daz3d.com/atmocam-for-iray

    Or you can achieve a similar effect yourself by applying the Dsipersive Water preset to the surface of a cube primitive and adjusting the settings.

     

    Richard do you know if there is even the simplest tutorial for this? I just got it and have no idea !

  • seeker273seeker273 Posts: 449
    edited July 2015

    Your scene works perfectly and it's exactly what I'm after. I'm doing something that messes it up when I replace your wall with my room. I tried without the glass window and it works just fine!I guess there is a problem with light coming through Iray glass.

    It doesn't matter, I can just render without it but I find it very strange.

    Thank you very much for the help :)

    Post edited by seeker273 on
  • BeeMKayBeeMKay Posts: 7,019
    edited July 2015

    The camera has to be outinside the cube.

    As for a tutorial, Sickleyield has one:

    http://sickleyield.deviantart.com/journal/Tutorial-Creating-Dust-And-Atmosphere-in-Iray-522291773

    Post edited by BeeMKay on
  • Richard HaseltineRichard Haseltine Posts: 102,438

    http://www.daz3d.com/atmocam-for-iray

    Or you can achieve a similar effect yourself by applying the Dsipersive Water preset to the surface of a cube primitive and adjusting the settings.

     

    Richard do you know if there is even the simplest tutorial for this? I just got it and have no idea !

    I was wrong, or thinking of something else, with the dispersive water. The SSS technique discussed in this thread seems to be the generally used method, SickleYield has a tutorial.

  • prixatprixat Posts: 1,590
    lee_lhs said:

    The camera has to be inside the cube.

    Hi Lee,
    I think you mean the opposite, the camera has to be outside the cube. 
    I also kept the cube as small as possible on the grounds that less volume means less calculations, but that's an untested assumption.smiley

  • BeeMKayBeeMKay Posts: 7,019
    prixat said:
    lee_lhs said:

    The camera has to be inside the cube.

    Hi Lee,
    I think you mean the opposite, the camera has to be outside the cube. 
    I also kept the cube as small as possible on the grounds that less volume means less calculations, but that's an untested assumption.smiley

    LOL, yes, that's what I meant. Sorry, I'm a bit on the brain fried side of things at the moment.

  • prixatprixat Posts: 1,590

    Just tested it with all the Iray Glass presets.

    With a flat mesh plane you have to switch on the Thin Walled option otherwise only the Thin Glass preset works properly.

    If you have modeled actual thickness to the window pane then all the presets should work.

  • seeker273seeker273 Posts: 449

    Yes! That did the trick. The light passes fine now, that's a great trick to know. Thank you very much :)

  • edited July 2017

    I am attempting to create a 80 second long animation, something very similiar to the Justice League intro.  I have no idea how to create the god rays.

    I looked at SickleYield's tutorial called "Creating Dust And Atmosphere in Iray Daz 4.8"

    However, I cannot complete steps 3, 8 and 9.  These options do not show up in my menus, using Daz 4.9 Pro.  

    If I can get the godrays working, what rendering settings would I use to keep the total rendering time below 48 hours ?

    Render size: 720p (1280 x 720)

    My rig: Intel i3 (4 cores at 3.2 GHz)

    8 GB RAM and 1 GB videoRAM on Nvidia Geforce 550 Ti

    Post edited by dylan_borg_d673e29d8d on
  • kitakoredazkitakoredaz Posts: 3,526

    I tesed before, with reflaction mosaik glasss and  SSS .  then I remember we need not set camera out of volume. (I remember, it is described in iray dev blog so)

     

     

    v1.png
    1000 x 667 - 1M
  • kitakoredazkitakoredaz Posts: 3,526

    @dylan If you use iray volume shader which covered full room as fog or atomosphere, (as if actuall volume), for animation

     it take really long time I believe even though use GPU.  even though one small render,, actually it take long time. 

     may better use fake lay prop, (or get daz contents) to make god-ray.  though I do not know which product is work best.

Sign In or Register to comment.