Fog Camera —· Commercial ·—

2»

Comments

  • MarshianMarshian Posts: 1,462
    edited February 2018
    Here is some direction on that. I'm standing by if you have additional questions. https://www.daz3d.com/forums/discussion/comment/3318496/#Comment_3318496

    I'm am trying to figure out how to make a depth map is there tutorial for this

    Post edited by Marshian on
  • CederienCederien Posts: 32
    edited March 2018

    Over the weekend I finally found the time to give your fog camera a good shakedown. By and at large it performs pretty nicely, though rendertimes tend to exploade a bit.
    I hit upon one odd problem though. If you check the two images below they differ only by the FC prop being invisible in the first one. The prop is set with the smooth fog 2 and the Iray depth mask. Upon switching it on it introduces odd diagonal lines to the buildings in the background.
    At first I thought it's connected to some shadows, but the lines are unaffected by changes made to the light direction. Changing the camera angle moves the lines and can minimize them, but I've not been able to get completely rid of them. Any idea what might cause them? (The buildings are from https://www.daz3d.com/provence btw.)

    Post edited by Cederien on
  • MarshianMarshian Posts: 1,462

    Hi Cederien.

    Lets see if we can figure this out. The depth mask material is only for doing depth renders (black and white images for masking) so I wouldn't use for a standard render like this. If you applied it after one of the density presets it probably wrote over smooth fog 2 preset. Still, this shouldn't have caused the lines but its a good place to start.

    The lines on the stone do not cross the window frame at the same place so this is really strange. Could you view this scene in wireframe drawstyle and see if the polygons line up with these lines?

    standing by....

  • CederienCederien Posts: 32

    Nope no correlation with the polygons. (wireframe)
    I think the lines are somehow created by overlapping fog planes. Modifiying the Fog Prop Depth moves them. More interesting (and for me the solution for the time being), switching off spectral rendering makes them disappear.

     

  • MarshianMarshian Posts: 1,462

    If planes are overlapping does that mean you're using more than one fog prop? They shouldn't be touching each other. Glad you fixed it though. I haven't used Spectral rendering, what is that for?

  • CederienCederien Posts: 32
    edited March 2018

    No I had only one prop in the scene. Zooming far out it looked like many separate planes, thus my guess.
    I don't usually use spectral rendering either. There are occasions when I experiment with it though, had forgotten it's still on. Technically it's supposed to give a more realistic color rendering. According to Nvidia in Iray it's most useful with spectral dispersions (like through gem stones, water, etc.), in other words it's most useful with prismatic effects. (Come to think of it, fog can have that too. I doubt your prop is set up as billions of tiny waterdrops, nor do I think any PC could handle it, if it were. ^^)

    Post edited by Cederien on
  • gitika1gitika1 Posts: 948

    Could you provide some tips for situating the camera and prop?  I am trying to make low ground fog, but can't seem to figure out which to move.  Despite scaling it down and moving negatively on the Y axis, the fog still seems to fill the entire image.

  • MarshianMarshian Posts: 1,462

    I'm happy to help! Since you've already experimented quite a bit, and it sounds like through the fog camera, I would do a test render using perspective view or a far away camera so that you can see where the prop is. From this far off reference point it should help you lower the y axis or transition it downward to the height you're after. Let me know if you have more questions.

    gitika1 said:

    Could you provide some tips for situating the camera and prop?  I am trying to make low ground fog, but can't seem to figure out which to move.  Despite scaling it down and moving negatively on the Y axis, the fog still seems to fill the entire image.

     

Sign In or Register to comment.