Hi Kamen, Thanks so much for the pointers!
Based on your feedback and another response off list, Helge identified the error. Our Alembic plugin can provide geometry to the renderer directly and we were trying to call a Softimage Command via the Softimage Command framework to do a task prior to providing the geometry on a background render thread. This turns out to just not be possible. Once we stopped trying to call a Softimage Command on a background render thread, the freeze went away. Best regards, -ben On Thu, Apr 19, 2012 at 2:39 PM, Kamen Lilov <[email protected]> wrote: > Ben, > > What are you doing with these commands? > > SI can, and in fact _will_ consistenly lock up if you modify any aspects of > the scene (param values, custom properties, etc) in a thread other than the > main or renderer threads. Also, it will lock up if you change stuff on the > renderer thread _while_ you are holding the global scene lock. > > Welcome to the wonderful world of SI plug-in development and all its > undocumented goodness! > > > On 4/19/2012 9:25 PM, Ben Houston wrote: >> >> Hi all, >> >> Welcome new SI team! >> >> I've got a question for you. I am debugging a renderer integration >> issue. The issue is that Softimage is locking up when I try to >> execute a Command (a command exposed via Softimage's Command plugin >> framework) within a preview render update. Softimage does not lock >> up when I render the frame via the "Render> Current Frame." >> Currently, my suspicion is that executing "Commands" is not allowed on >> this specific preview render thread because it is a background thread. >> >> If this is the case, then the recommended solution is to should move >> the calling of these commands to the "siOnBeginFrame" event? My >> suspicion is that this event (siOnBeginFrame) is guaranteed to happen >> on the main thread via some magic even if ctxt.TriggerEvent( >> siOnBeginFrame, ... ) is called from the background preview render >> thread. >> > -- Best regards, Ben Houston Voice: 613-762-4113 Skype: ben.exocortex Twitter: @exocortexcom http://Exocortex.com - Passionate CG Software Professionals.

