DoF doesn't always work as it should?

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

pgatsky
Licensed Customer
Posts: 83
Joined: Fri Oct 25, 2019 7:18 pm

Hi all

Ive not bee using Octane long but am loving some aspects of it. One of those is the fact that I can simply control where the focal point should be with the use of the DoF pointer tool when doing product shots. I have though noticed that on some occasions it stops working and when I try to place the focal point it sets the camera way back and then causes the object I want to be in focus be out of focus and very blurred.

I have found that by copying the parts I need into a new doc file and more or less starting again it seems to rectify the issue. Im wondering if its just a camera issue and wanted to ask anyone out there if they've noticed this bug or issue and how they've got round it.

Thanks in advance.

PG
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

I don't think there's a problem with dof. Did you disable the auto focus?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
pgatsky
Licensed Customer
Posts: 83
Joined: Fri Oct 25, 2019 7:18 pm

Hi aoktar.

Yes I did as that was one of the first things I did check. The problem from what I can tell seems to look like some sort of bug. Maybe an issue with too many cameras in a scene? Any thoughts?
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

pgatsky wrote:Hi aoktar.

Yes I did as that was one of the first things I did check. The problem from what I can tell seems to look like some sort of bug. Maybe an issue with too many cameras in a scene? Any thoughts?
Sounds like an user mistake. Could you please give some visual examples, video capture, and a scene to describe what we are talking about?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
pgatsky
Licensed Customer
Posts: 83
Joined: Fri Oct 25, 2019 7:18 pm

Will do bear with me
pgatsky
Licensed Customer
Posts: 83
Joined: Fri Oct 25, 2019 7:18 pm

Hi aoktar. Im attached a screen shot and the file, minus the client textures so you can see whats happening.
Attachments
dof.PNG
dof.zip
(14.42 MiB) Downloaded 157 times
pgatsky
Licensed Customer
Posts: 83
Joined: Fri Oct 25, 2019 7:18 pm

The blurred screen shot shows what happens if i use the DoF picker to select the bottle as my focal point.
User avatar
jayroth
Licensed Customer
Posts: 393
Joined: Fri May 28, 2010 7:29 pm
Location: Orange County, CA, USA
Contact:

By any chance, do you have an object in front of the camera that is intended to be transparent? I have found that DOF can fail in that case, as it sees such objects as opaque.

The best way to control the DOF is to use a focus object. Just create a null, place it where you your focus in the scene, and drop the focus object into the appropriate slot in the camera attributes panel (main panel, not the Octane camera tag).
CaseLabs Mercury S8 / ASUS Z10PE-D8 WS / Crucial 64GB 2133 DDR4 / 2 XEON E5-2687W v3 3.1 GHz / EVGA 1600 P2 / 2 EVGA RTX 2080Ti FTW3 Hybrid/ Cinema 4D

Is it fast? Oh, yeah!
pgatsky
Licensed Customer
Posts: 83
Joined: Fri Oct 25, 2019 7:18 pm

Thanks jayroth. I'll give what you say a go and see if that sorts it. In answer to the question as to if there's something in front of it that its targeting instead on the object I want I would say not. Thats a good point though as it'll be something to watch out for for sure. What makes me think that its a bug though is cause when I took all the parts i needed into a brand new doc the problem went away. Thanks again.
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

jayroth wrote:By any chance, do you have an object in front of the camera that is intended to be transparent? I have found that DOF can fail in that case, as it sees such objects as opaque.

The best way to control the DOF is to use a focus object. Just create a null, place it where you your focus in the scene, and drop the focus object into the appropriate slot in the camera attributes panel (main panel, not the Octane camera tag).
As Jay mentioned, there's an arealight between the camera and the target object. It's invisible but still pickable by focus picker. As always to send some example scene will make the life easier.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Post Reply

Return to “Maxon Cinema 4D”