Voxel rendering mode crashes with custom save callback

Use this forum for discussions specifically related to the Krakatoa SR C++ API.
For discussion of topics applicable to both the C++ and Py APIs, please use the parent forum.
Navié
Posts: 24
Joined: Tue Mar 19, 2013 7:27 am

Re: Voxel rendering mode crashes with custom save callback

Postby Navié » Mon Sep 02, 2013 6:53 am

Hi Conrad,

thanks for your reply (I didn't get a reply email so I only noticed now). I tried it right away and it must have been the point light indeed that is crashing.
With the try catch block the exception is caught and I get the message about krakatoa not supporting point lights in voxel mode. With a spot light it seems not to crash at all, so I guess that was the issue which is great! (though I would expect Krakatoa not to crash on me anyway).

Thanks for sheding light on this (literally..).

User avatar
Conrad Wiebe
Posts: 774
Joined: Wed Aug 15, 2007 12:24 pm
Location: Thinkbox Software

Re: Voxel rendering mode crashes with custom save callback

Postby Conrad Wiebe » Tue Sep 03, 2013 10:59 am

Ah, I'm glad we got that sorted out.

If the renderer throws an exception, it is expected that your program will catch it and report it to the user. Such as this point light issue. Please be sure to always use a try-catch when starting a Krakatoa render, since that's how we report error messages from the renderer. Technically all the Krakatoa API calls can throw exceptions, but in practice, just the "render" call will do so. If you are getting unexplained crashes, it may be because an exception went uncaught.

Hope this sorts everything out!
Conrad Wiebe
Software Development Manager
Thinkbox Software

Navié
Posts: 24
Joined: Tue Mar 19, 2013 7:27 am

Re: Voxel rendering mode crashes with custom save callback

Postby Navié » Thu Sep 05, 2013 4:55 am

thanks for the info. Yes, customers report voxel mode is working now. :)


Return to “Krakatoa SR C++ API”

Who is online

Users browsing this forum: No registered users and 1 guest