Break Rendering

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 02/12/2006 at 16:33, xxxxxxxx wrote:

User Information:
Cinema 4D Version:    
Platform:      
Language(s) :

---------
Hi all,

when i'm in rendering in viewport, c4d can stop the render if i touch the interface... not only if i press esc.
How i can detect when C4D stop the rendering?
Any message ?

Cheers
Renato

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/12/2006 at 05:00, xxxxxxxx wrote:

MSG_MULTI_RENDERNOTIFICATION

if(!data.start) render_aborted

😉

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/12/2006 at 07:32, xxxxxxxx wrote:

Close, but 'data' is a void*, so do this:

...
if (type == MSG_MULTI_RENDERNOTIFICATION)
{
     if (!data) return TRUE;
     RenderNotificationData*     rnd =          (RenderNotificationData* )data;
     // Render End
     if (!rnd->start) //render_aborted
}
...

This is not available before R8.5.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/12/2006 at 09:06, xxxxxxxx wrote:

I assumed he knew how to retrieve the data.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/12/2006 at 09:55, xxxxxxxx wrote:

Thanks, i'll try this MSG_MULTI_RENDERNOTIFICATION 🙂

For now i got a good help from Chris, so i checked vd->testBreak after each bucket and work good.

Cheers
Renato T.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/12/2006 at 12:50, xxxxxxxx wrote:

Just in case. 🙂

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/12/2006 at 13:01, xxxxxxxx wrote:

true that 🙂

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/12/2006 at 22:19, xxxxxxxx wrote:

🙂