if one could link render settings to change when the currently selected camera is changed?
nonesuch00
Posts: 18,131
It'd be cool actually if you could link render settings to change when the currently selected camera is changed. Is that even possible in DAZ Script? You'd need to watch the GUI event queue and when the a camera was changed to another camera a script or simply a variable with differet render settings assigned to different cameras would get changed too.
Of course then having different light sets associated with different cameras so they could be changed too would be useful too.
Comments
In the Parameters pane you can set local dimensions for each camera, to specify a render size for the camera. I don't know how to associate other render settings with a camera.
OK, thanks. Well I'm thinking it's not really possible without associating a script being invoked when the Camera is changed to another camera or another view for that matter. I know programmatically it is possible if one were to write come actual C++ code but I was wondering if such mechanisms are available via the DAZ Studio API the DAZ Script exposes.
Rob says that this can be done with post-load callbacks - see the samples here http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/elements/callbacks_element_post_load_create/start
Thanks