Jump to content

Render Can't Keep Up With Script Running


MADjestic

Recommended Posts

Hi, folks

I've been scripting a bit in the eve - I've been following this tutorial with some modifications - http://cade.scope.edu/courseware/notes/houdini/script.html

-

and the obstacle I struck was that it seems that the script was running so fast that it didn't allow renderers and izmatte to finish their task - as a result I was getting a composited image with lots of artifacts that are characterisitc to situations when you interrupt the rendering (you see a piece of a normally rendered image and the rest of the poicture are just smudged lines, going up, or something like that). So what I did was - I added

for wait_var = 1 to 10000 
echo $wait_var
end

pieces of code into the script everywhere where you can see

render my_ROP

and

izmatte

- as a result I was getting a nomral composit, though the render times got astonishingly long, obviously.

So my question is whether there is a way to make HScript wait untill every operation is complete, before contnuing to the next line of the script?

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...