Digital Art Zone

 
     
DOF question
Posted: 10 July 2012 06:58 AM   [ Ignore ]
New Member
Total Posts:  23
Joined  2004-02-06

OK all you thinkers and tinkerers! How can we use dof. Have it lock on to a specific object in the scene and have DAZstudio automatically calculate the focal distance. In lightwave we can simply apply a measure tool, have it measure the distance between camera and object and then it plugs that number into the focal distance field on the fly. Can we do something similar in daz?

Profile
 
 
Posted: 10 July 2012 07:07 AM   [ Ignore ]   [ # 1 ]
Power Member
Avatar
RankRankRank
Total Posts:  2405
Joined  2007-12-07

Not quite that simple, unless I have been missing a trick.  But first, be warned - DAZ cameras do not act like real cameras so far as f-stop, etc. go.


What I do is create (at least) two cameras - one to use for the render (I generally call this SceneCam, with DoF, etc.,) and the other(s) to assist in posing and positioning.

In the Camera/Lights tab (selecting Camera) I ensure that I have the SceneCam selected as active object and another camera active in view port.  I adjust scene so that I have a clear view from SceneCam to where I want the central focal point be.  I then turn on DoF for the SceneCam and turn the DoF planes/indicators under Scene View (sorry, can’t recall actual titles) to red so they stand out.  Focal length and f-stop are then adjusted to suit what I have planned.

 Signature 

Some writings by a friend:
http://www.lizardsofthehost.co.uk/11.html
http://www.lizardsofthehost.co.uk/13.html
http://www.lizardsofthehost.co.uk/7.html

Profile
 
 
Posted: 10 July 2012 07:11 AM   [ Ignore ]   [ # 2 ]
New Member
Total Posts:  23
Joined  2004-02-06

yeah, i have been using the two camera method. Just seems like there might be someone out there who can figure this out.

Profile
 
 
Posted: 10 July 2012 07:17 AM   [ Ignore ]   [ # 3 ]
Power Member
Avatar
RankRankRank
Total Posts:  1336
Joined  2006-03-14

There is a way… it has to do with the camera framing function, but durned if I can remember it right now.

 Signature 

My Tutorials and Freebies Index

Profile
 
 
Posted: 10 July 2012 07:29 AM   [ Ignore ]   [ # 4 ]
Addict
Avatar
RankRankRankRank
Total Posts:  7992
Joined  2009-05-14

Select your camera and go to its Display properties in the Parameter Pane (Tab).

In the image below shows one of the DOF planes turned on.. You can see the red plane in the viewport shown below. Works better when you have something in the scene to see how it works.

Image Attachments
DOFPlanes.jpg
 Signature 

Pete

Somethings to Consider when starting to learn CG

My Gallery

My Render Thread and Tutorials

Proud member of the Bald Wizards Club and Co-operative

Profile
 
 
Posted: 10 July 2012 07:33 AM   [ Ignore ]   [ # 5 ]
New Member
Total Posts:  23
Joined  2004-02-06

Thanks for all the replies! I have been using the planes, and the two camera method. I was thinking it might be possible by way of linking parameters to get it to be automatic.

Profile
 
 
Posted: 10 July 2012 07:35 AM   [ Ignore ]   [ # 6 ]
Power Member
Avatar
RankRankRank
Total Posts:  1336
Joined  2006-03-14

Yeah, those are helpful, but there swear there is (was?) a quicker way to set the focal distance.  It was something like CTRL+ALT right-click on framing button, but that doesn’t seem to be it when I try it in DS4.5.

 Signature 

My Tutorials and Freebies Index

Profile
 
 
Posted: 10 July 2012 09:13 AM   [ Ignore ]   [ # 7 ]
Power Member
Avatar
RankRankRank
Total Posts:  2405
Joined  2007-12-07
adamr001 - 10 July 2012 07:35 AM

Yeah, those are helpful, but there swear there is (was?) a quicker way to set the focal distance.  It was something like CTRL+ALT right-click on framing button, but that doesn’t seem to be it when I try it in DS4.5.

I am sure it’s in the documentation ... wink

 Signature 

Some writings by a friend:
http://www.lizardsofthehost.co.uk/11.html
http://www.lizardsofthehost.co.uk/13.html
http://www.lizardsofthehost.co.uk/7.html

Profile
 
 
Posted: 10 July 2012 12:54 PM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14341
Joined  2003-10-09

Both aim (ctrl-shift-a) and frame (ctrl-f) reset the Focal Distance. If you don’t want to reorient the main camera, create a new one as a copy of the original, aim that, and copy the Focal Distance value across. It would probably be simple to write a script to do this. Of course it works only if the origin of the selected item is at the focal point.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 10 July 2012 01:11 PM   [ Ignore ]   [ # 9 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  16477
Joined  2009-01-22

Use a null as your focal point. You can get down to the tip of the nose, the left eye ect…Just saying…

 Signature 

Exile, Drows Walk: A Tale of Jaderail starts here. Free pulp fiction at its Fantasy best, Updated 2/3/14.
Proud Member of the Bald Wizards Club My stuff at DeviantArt

Profile
 
 
Posted: 10 July 2012 03:29 PM   [ Ignore ]   [ # 10 ]
Power Member
Avatar
RankRankRank
Total Posts:  1336
Joined  2006-03-14
Jaderail - 10 July 2012 01:11 PM

Use a null as your focal point. You can get down to the tip of the nose, the left eye ect…Just saying…

Great idea. smile

 Signature 

My Tutorials and Freebies Index

Profile
 
 
Posted: 11 July 2012 05:13 PM   [ Ignore ]   [ # 11 ]
Member
Avatar
Rank
Total Posts:  39
Joined  2003-10-09

There used to be a “Depth of Field” script available for previous versions of Studio. It still works in DS4 and I’m using it for all my projects. You just select a prop/body part and start the script by double clicking it ( or by making it a Custom Action available in a menu like I did ).

You then just have to specify your f/stop and focal distance is automatically added by pressing a button. Really easy.

Shallower DOF? Lower your f/stop value. Deep focus can either be achieved by using a higher f/stop value or focusing on an element farther away ( for the same f/stop value:  the farther away the focused element, the wider the focused area ). Just like in real life photography smile

Profile