Render options are true in disabled render tab
-
On 17/06/2016 at 07:39, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R17
Platform: Windows ;
Language(s) : C++ ;---------
Hello.I have a VideoPostData plugin and some options are true by default even if the corresponding tab is disabled.
For example, in Execute method in VIDEOPOSTCALL_FRAMESEQUENCE opening call, the following variables are true:
BaseContainer data = video_post_struct->render->GetRenderData(); shadow_options = data.GetBool(RDATA_OPTION_SHADOW); volumetric_lighting = data.GetBool(RDATA_VOLUMETRICLIGHTING);
even if the tab is disabled:
Bool MyVideoPost::RenderEngineCheck(BaseVideoPost* node, Int32 id) { switch (id) { case RENDERSETTING_STATICTAB_OUTPUT: case RENDERSETTING_STATICTAB_SAVE: case RENDERSETTING_STATICTAB_MULTIPASS: case MY_VIDEO_POST_PLUGIN_ID: return TRUE; } return FALSE; }
Is this issue going to affect the rendering procedure ? Since I use my own render engine, I don't want any Cinema4D's options to affect the precalculation speed.
So, is it enough to simply disable the RENDERSETTING_STATICTAB_OPTIONS tab ?
Thank you.
-
On 20/06/2016 at 03:47, xxxxxxxx wrote:
Hi,
Even if the Options tab is disabled, its values are still stored in the Render Settings container with their latest state.
But if the Options tab is disabled with your render engine, why do you access its settings?
-
On 21/06/2016 at 02:19, xxxxxxxx wrote:
Hello and thank you for your answer.
If these options are enabled, is there anything that C4D does that affects the speed of my VideoPost plugin ?
thnx again.