Author Topic: VR and depth of field  (Read 6164 times)

2016-11-21, 13:44:16

88qba88

  • Active Users
  • **
  • Posts: 80
    • View Profile
Hey,

I'm trying to render a scene with VR camera. In my camera setup and render setup I have depth of field ON and it's parameters set properly (when I turn off Override in camera settings DOF works as expected), but as soon as I set projection type to Spherical/Cubemap it doesn't work at all.

Is it possible to render DOF in spherical/cubemap (especially in VR mode) at all?

Thanks,
Kuba

(latest version of Corona 1.5 hotfix 2)

2016-11-21, 14:09:18
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
Sorry, but this is not possible, and currently not planned.
The reason is that it would require a lot of research, and would be hard to implement.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-11-21, 14:16:31
Reply #2

88qba88

  • Active Users
  • **
  • Posts: 80
    • View Profile
Thanks for a reply:)

I'll have to stick with zdepth and postprocessing then:)

2016-11-21, 15:59:32
Reply #3

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
I currently planned a dof view with VR mode too, for promotion purpose. Never heard about this limitation.
A bit off topic, hi maru, can you release something like an official list of corona's limitations? Because some features limitations is caused by needed more long time research (ex:this thread, cant render volumetric fog when camera is inside the volume )
and the other case is caused by max limitation (i forgot which features :) ),
and the other case again is not a real limitation because corona is already developing it or planning it (ex:shadowcatcher noises in composite mode),
and the other other case again is caused by technical issues (ex:coronaAO as bump/displacement),
And the last case is feature which corona dont have or will never have a plan to fix it.... (https://forum.corona-renderer.com/index.php/topic,12615.msg81617.html#msg81617
Because imho this documentation https://coronarenderer.freshdesk.com/support/solutions/articles/5000516180-known-bugs-and-limitations isnt enough.
Thanx and cheers! :D

2016-11-21, 18:59:39
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8850
  • Let's move this topic, shall we?
    • View Profile
    • My Models
maru, didn't you post VR render with DOF somewhere in the forum? Or do i confusing something?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-11-22, 11:09:22
Reply #5

88qba88

  • Active Users
  • **
  • Posts: 80
    • View Profile
I bielieve he did it some time ago - the one with teapots:) Am I right Maru?

2016-11-22, 11:32:02
Reply #6

FrostKiwi

  • Active Users
  • **
  • Posts: 686
    • View Profile
    • YouTube
maru, didn't you post VR render with DOF somewhere in the forum? Or do i confusing something?
I bielieve he did it some time ago - the one with teapots:) Am I right Maru?

He did, but it looks like it was done in post, although he didn't specify. (file name is called dof-hack.jpg :D )

Wait... What is this...? Stereo pano with DOF!?
I wonder if anyone can guess how it's done. :)
I'm 🐥 not 🥝, pls don't eat me ( ;  ;   )

2016-11-22, 15:43:21
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
It was actually done by adding random noise controller to the camera, or moving it along some circular spline, and then enabling motion blur. Its target was in place, so that was the focal point. :D
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-11-22, 15:54:10
Reply #8

FrostKiwi

  • Active Users
  • **
  • Posts: 686
    • View Profile
    • YouTube
It was actually done by adding random noise controller to the camera, or moving it along some circular spline, and then enabling motion blur. Its target was in place, so that was the focal point. :D
that.... that is incredibly creative, holy shit!

That is Ondra hacking the negative side of the Max timeline, by creating an integer overflow, - Levels of cool.
Have an oversized cookie.
I'm 🐥 not 🥝, pls don't eat me ( ;  ;   )

2016-11-22, 17:01:38
Reply #9

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8850
  • Let's move this topic, shall we?
    • View Profile
    • My Models
It was actually done by adding random noise controller to the camera, or moving it along some circular spline, and then enabling motion blur. Its target was in place, so that was the focal point. :D

That's clever indeed, but i think i know where you get this idea from :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-11-22, 19:08:29
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
It was actually done by adding random noise controller to the camera, or moving it along some circular spline, and then enabling motion blur. Its target was in place, so that was the focal point. :D
That's clever indeed, but i think i know where you get this idea from :]
Hmm? Remind me please.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-11-22, 19:17:49
Reply #11

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8850
  • Let's move this topic, shall we?
    • View Profile
    • My Models
That's how DOF preview is rendered in 3ds max viewport with standart camera and multi-pass effect, isn't?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-11-30, 15:23:18
Reply #12

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
That's how DOF preview is rendered in 3ds max viewport with standart camera and multi-pass effect, isn't?
Pretty much, but I didn't really think of that. And also for 360 rendering it has to be done in 3 dimensions I guess, or over a surface of a sphere, like with a spherical image sensor. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us