Author Topic: Previewing DOF  (Read 5844 times)

2018-03-24, 03:34:58

wade

  • Active Users
  • **
  • Posts: 33
    • View Profile
I am currently getting more and more requests for animation.

I do a lot of close ups with focus pulls.

Does anyone know how I could preview a DOF change without rendering? Been racking my brain thinking about this.
The only way I can think is to do the DOF in post, but I find it doesn't look as good as straight out of the renderer.

The clients want to see the focus shift but rendering is expensive.

2018-03-24, 14:01:18
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6102
    • View Profile
I am not sure what you mean - the usual method would be to adjust with Interactive Rendering running. There is no way to see it without some sort of rendered image - if it's for the client to view, then you'd need to have some image to send to them (unless you can screen share with IR running), but then rendering needn't be expensive, smaller images that still have some noise in them would do for picking which DOF they want to go with, and then can do the longer full quality image once they've picked what they like. You could even simplify the scene down to speed things up even further, so that it is acting as a quick illustration for how the DOF will look and not a full, final render.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2018-03-24, 15:07:15
Reply #2

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9254
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Actually there is one fast way to preview DOF inside 3ds max viewport. You have to create standard camera, enable multi-pass effect in it, choose depth of field and press preview. You can even export preview animation to external file with grab viewport tool from tools menu.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2018-03-24, 20:43:43
Reply #3

sprayer

  • Active Users
  • **
  • Posts: 803
    • View Profile
Physical camera also can show DOF in viewport

2018-03-24, 21:42:32
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9254
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Really? I didn't know that. Could you show how to do that, i'm struggle to find it.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2018-03-25, 00:46:10
Reply #5

wade

  • Active Users
  • **
  • Posts: 33
    • View Profile
I will try out the standard DOF trick. I remember using it a long time ago but it had the tendency to crash my pc.

2018-03-25, 01:24:04
Reply #6

sebastian___

  • Active Users
  • **
  • Posts: 197
    • View Profile
There was also a way without multiple passes, but you needed mental ray I think, even though mental ray was not used but was in fact a screen shader based DOF or Nitrous based.
Sneak Peek: Nitrous DOF and Bokeh effects - YouTube
youtube.com/watch?v=D_xMREE8ZPw

And way back in the past there was a way to get simultaneous DOF and motion blur in viewport with multi passes.

2018-03-25, 08:53:58
Reply #7

sprayer

  • Active Users
  • **
  • Posts: 803
    • View Profile
Really? I didn't know that. Could you show how to do that, i'm struggle to find it.
You need nothing, just enable DOF in physical camera, oh maybe you will need upgrade to 3ds max 2018 and nitrous ;)

2018-03-25, 10:40:30
Reply #8

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9254
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Pretty cool. I guess it's much more accurate than the one from standard camera. Too bad that it's not available in max 2016, though.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2018-03-29, 03:35:24
Reply #9

wade

  • Active Users
  • **
  • Posts: 33
    • View Profile
Thanks guys! Super helpful.

I wonder if this is possible to integrate into the corona cam?

2018-04-04, 09:50:51
Reply #10

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
I wonder if this is possible to integrate into the corona cam?
hi Wade, could you please create a feature request for this? i'll vote for you :)

2018-04-04, 09:53:11
Reply #11

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
Pretty cool. I guess it's much more accurate than the one from standard camera. Too bad that it's not available in max 2016, though.
Pretty sure it works in 2016, too, I seem to remember it was introduced in 2014 already. You may have to switch the viewport to realistic with Nitrous.

2018-04-04, 10:10:55
Reply #12

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9254
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Realistic? That's why i never knew about that, i always switch to shaded :] Thanks for the tip, i'll gonna try that.

Edit: got it, you also need to turn on improve quality progressively in viewport configuration - another feature that i always keep turned off :]
« Last Edit: 2018-04-04, 10:24:09 by romullus »
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2018-04-04, 10:14:20
Reply #13

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
There's also a mxs command that will enable and disable it regardless of the mode which isn't exposed in the viewport settings:

https://help.autodesk.com/view/3DSMAX/2016/ENU/?guid=__files_GUID_34892DB6_E840_4F52_9175_30332799B7B1_htm

Should work with a physical camera without any mxs commands, though.

« Last Edit: 2018-04-04, 10:22:23 by pokoy »