CheckIsRunning()... check preview render?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/09/2008 at 04:43, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.1
Platform: Windows ; Mac ;
Language(s) : C++ ;---------
Hi,I can easily check if an editor rendering or an external rendering is running, by using the function CheckIsRunning() with the arguments CHECKISRUNNING_EDITORRENDERING and CHECKISRUNNING_EXTERNALRENDERING.
But how can I find out if a rendering is running that has been triggered by the "Make Preview..." option in the Render menu?
Greetings,
Jack -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/09/2008 at 05:16, xxxxxxxx wrote:
Hi Jack,
i dont really know an answer to this, but i noticed there's a flag called RENDERFLAG_PREVIEWRENDER in operatingsystem.h (510), maybe this would somehow help you to achieve what you want ?
didnt try out anything with it tho..hth,
Daniel -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/09/2008 at 05:25, xxxxxxxx wrote:
Hey, that may be. Thanks, I'll try that!
Cheers,
Jack -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/09/2008 at 06:46, xxxxxxxx wrote:
Hm, unfortunately, that wasn't it.
But thanks anyway, it was worth a tryGreetings,
Jack -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/09/2008 at 01:16, xxxxxxxx wrote:
Afaik you can't. May I ask why you want to check for a preview render?
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/09/2008 at 09:45, xxxxxxxx wrote:
Of course
in my plugin object I calculate some data which I hide in the containers of my objects (also see this thread).
My shader evaluates that data during rendering to create the shading.
But the calculation of the data costs time, thus slowing down the editor performance when working with huge amounts of objects. So I want the data to be only calculated when rendering. That includes editor rendering, external rendern, preview rendering.
A flag CHECKISRUNNING_PREVIEWRENDERING would be nice
Greetings,
Jack