Author Topic: Focus distance not working  (Read 10121 times)

2016-02-11, 23:27:31

cathor

  • Active Users
  • **
  • Posts: 35
    • View Profile
Hi,

Might be doing it wrong but i am unable to adjust the camera fucus distance through the parameter in the camera object. Dof is enabled in the camera tag only, not through render settings. No matter the distance set or object assigned to focus object slot, the focus is always at the same spot. However, if i enable dof in the render settings and set the dof override the focus distance is adjustable through the distance parameter in render settings.

Seems almost like the focus distance in the camera tag is locked to 100 cm (default value) in render settings) even if dof override is not enabled and distance should be controlled through the camera.

TIA

2016-02-11, 23:37:01
Reply #1

FrostKiwi

  • Active Users
  • **
  • Posts: 686
    • View Profile
    • YouTube
Hi,

Might be doing it wrong but i am unable to adjust the camera fucus distance through the parameter in the camera object. Dof is enabled in the camera tag only, not through render settings. No matter the distance set or object assigned to focus object slot, the focus is always at the same spot. However, if i enable dof in the render settings and set the dof override the focus distance is adjustable through the distance parameter in render settings.

Seems almost like the focus distance in the camera tag is locked to 100 cm (default value) in render settings) even if dof override is not enabled and distance should be controlled through the camera.

TIA
Do you use free camera or camera with a target?
I'm 🐥 not 🥝, pls don't eat me ( ;  ;   )

2016-02-11, 23:49:24
Reply #2

berdus

  • Active Users
  • **
  • Posts: 55
    • View Profile
It works fine. You have to control the camera settings.

2016-02-12, 11:16:57
Reply #3

cathor

  • Active Users
  • **
  • Posts: 35
    • View Profile
I am using free camera without target tag.
Using the 20160210 build. Still cant get it to work.

2016-02-12, 13:40:13
Reply #4

4b4

  • Active Users
  • **
  • Posts: 163
    • View Profile
I get the same here.

@Berdus, are you talking about adjusting the f-stop value in the camera tag?

2016-02-12, 14:03:02
Reply #5

cathor

  • Active Users
  • **
  • Posts: 35
    • View Profile
I get the same here.

@Berdus, are you talking about adjusting the f-stop value in the camera tag?

ok.
if someone can confirm my method of setting focus is considered "best practice" i will report it as a bug.

2016-02-12, 14:39:04
Reply #6

berdus

  • Active Users
  • **
  • Posts: 55
    • View Profile
I get the same here.

@Berdus, are you talking about adjusting the f-stop value in the camera tag?

sorry my english is bad.

2016-02-12, 14:40:52
Reply #7

berdus

  • Active Users
  • **
  • Posts: 55
    • View Profile
......

2016-02-12, 14:56:14
Reply #8

4b4

  • Active Users
  • **
  • Posts: 163
    • View Profile
@berdus, can you change the "Focus Distance" to 50 and send another screen shot?

2016-02-12, 14:59:02
Reply #9

berdus

  • Active Users
  • **
  • Posts: 55
    • View Profile
@berdus, can you change the "Focus Distance" to 50 and send another screen shot?

I do not have time. but the depth of field will change to some extent. that's all.

2016-02-12, 15:23:00
Reply #10

cathor

  • Active Users
  • **
  • Posts: 35
    • View Profile
I get the same here.

@Berdus, are you talking about adjusting the f-stop value in the camera tag?

sorry my english is bad.

What version of corona are you using?

2016-02-12, 16:12:50
Reply #11

berdus

  • Active Users
  • **
  • Posts: 55
    • View Profile
I get the same here.

@Berdus, are you talking about adjusting the f-stop value in the camera tag?

sorry my english is bad.

What version of corona are you using?

https://corona-renderer.com/download/

Alpha v4 (hotfix 1)


2016-02-12, 16:43:53
Reply #12

cathor

  • Active Users
  • **
  • Posts: 35
    • View Profile
ok, I can confirm that this is an issue in the 160210 build. Installed A4.1 and everything works as expected in that release.