Author Topic: how to prevent DoF on backdrop picture ?  (Read 237 times)

2024-05-03, 15:28:10

Naxos

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 204
    • View Profile
how to prevent DoF on backdrop picture ?
Hello there,

I would like to use DoF for my 3D, but not for the picture backdrop (put in the "direct override" in render params).

Problem is that the backdrop picture gets blurred. How to prevent that ?

I was especting some "CoronaToneMapping"-like node that would let us prevent the DoF blurr on background picture.

Thanks for help.

2024-05-03, 17:48:11
Reply #1

pokoy

  • Active Users
  • **
  • Posts: 1874
    • View Profile
I've requested that a looooong time ago as I've ran into it a few times. No solution yet, unfortunately.

2024-05-04, 09:28:18
Reply #2

marchik

  • Active Users
  • **
  • Posts: 259
    • View Profile
I think the best way to solve this on the part of the developers would be to make the enviro distance parameter (in the development/experimental stuff rollout) interact with DOF, then we could simply set it equal to the target distance of the camera and there would be no blur, but now unfortunately it won't work.

2024-05-04, 09:50:11
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8882
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I think the best way to solve this on the part of the developers would be to make the enviro distance parameter (in the development/experimental stuff rollout) interact with DOF, then we could simply set it equal to the target distance of the camera and there would be no blur, but now unfortunately it won't work.

I requested this like 10 years ago, devs said no.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2024-05-04, 13:35:41
Reply #4

pokoy

  • Active Users
  • **
  • Posts: 1874
    • View Profile
I think the best way to solve this on the part of the developers would be to make the enviro distance parameter (in the development/experimental stuff rollout) interact with DOF, then we could simply set it equal to the target distance of the camera and there would be no blur, but now unfortunately it won't work.
Ah that wouldn't work in many cases as for most use cases it would involve a 3d object rendered on another geometry with Shadowcatcher Mtl (some sort matte object), so no DOF on environment only wouldn't help much, at least in all the cases I would've needed such an option.

Generally, we would need an option to exclude from DOF:
- environment (any pixel that ends up in infinity/env with no alpha)
- background (any pixel that ends up in infinity/background with no alpha)
- objects that act as a matte with Shadow Catcher Mtl (any pixel that ends up on a matte geometry), best optionally per Shadow Catcher Mtl

This has some challenging implications with regards to reflections/refractions and object/alpha blending but I'd take any rudimentary approach over having no option at all anytime.

I'd love for development to take 1-2 cycles trying to solve these little quality of life requests (there are lots more) but I guess everyone has their own set of annoyances they would like to see solved.

2024-05-07, 12:22:48
Reply #5

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 533
    • View Profile
Hi,

We have this already logged in our system, but this feature is currently not planned anytime soon but if this changes, we will let you know.
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us