When I save a scene how do I retain the position of my viewport?
in The Commons
Hi
I am rendering images of a genesis figure, I position the viewport and I render what I see in the viewport and then I save the whole scene.
When I open the file later, my viewport rerturns to some default position. So I am looing for a way to save such that I also retain the position of my viewport. I guess one soultion would be to create a camera and not just render what I see in the viewport but i am trying to keep thinsg simple..? Any way to do that? Thanks

Comments
The solution is as you stated, create a camera and use this for rendering. If you render through the perspective view the position of this is not saved in the scene file.
Using camera(s) allows many more options for a single scene. You can also add your camera so the view is exactly the same as the perspective view.
It is actually possible to do this, via a couple of script samples
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/elements/post_load_view_proxy_create/start
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/elements/post_load_view_proxy_link_properties/start
Thanks all
Also keep in mind that you will be missing things like correct lighting and shadows when not rendering thru a camera
Okay - I gotta know this - how?
(The number of times I've forgotten I'm in perspective view when lining up my shot, then realised only after I've got it perfect and clicked back and forth to try to match the camera to the same view LOL)
If you are in perspective view when you add your camera, you should get a popup dialogue that asks you if you wish to use the default settings (the default, naturally) or to "apply active viewport transforms". Selecting the latter will match your new camera to what you see in the viewport. Warning: since I tend to work primarily in the perspective view when building my scenes, I occasionally have found myself accidentally using my camera view and then needing to reset it where I wanted it to remain, not realizing I wasn't in perspective view.
Similarly, applying active viewport transforms will work with any of the views (front, left side, top, etc.), but I find those less useful as they restrict what I can then do with the camera. (I.e. I need to use the parameter tab slider if I wish to rotate the camera, rather than the viewport controls.
Awesome - thanks :)
(I could've sworn I only get a pop-up to name my new camera - but it's possible I've just overlooked the other options all this time - will try it tomorrow - cheers :) )
When you create a new camera, you get the following dialog box:
Select the second option
If you have only the name field click the Show Options >>> button.
Okay, I'm probably not smart enough to find out: in 3Dlight and Iray settings editor, where do I find the option to tell Daz to render using the created camera?
Thanks!
The render uses the camera being used to view in the active viewport - the camera is picked using the button at top-right of the viewport (by default).
It isn't in render settings — look at the top edge of the Viewport, and click on the text button that names the current Camera or View. A menu drops down, and you just select one. Note that if you have a multiple Viewport layout, each one has its own camera menu.
Oookay, now I see what to mess up with!
Thanks to you all, consider yourself ribcage-ckracking hugged!