sandrodisegni Posted February 28, 2015 Share Posted February 28, 2015 Hi all, I am trying to troubleshoot some multiOs render. I have setup a font node and a pythonSOP to print a bunch of variables to my render. (See attachment) On the farm (using Royal Render) I have set it to render one frame in each os. Frame 1 - Windows Farm Frame 2 - Windows Workstations Frame 3 - Linux Farm Frame 4 - OSX The problem is that when it renders it does not update the pythonSOP so it always renders as if in my windows machine printing the variables of the system that I saved the file in. The code and the nodes are ilustrated below. Opening the scene does not update the text but changing frame does it. I have tried: - animating the text to force updating it. - creating attributes on the python sop to animate and force update - saving the scene in a high frame hoping that when it renders it would change frame forcing an update. - creating a "opcook -F /obj/geo1/python1" Pre-Render Script - creating a "opcook -F /obj/geo1/python1" Pre-Frame Script - Adding a "f = hou.frame() " to the code to force updating. Running out of ideas here. Anyone knows how to force the update when it loads the scene ? Thanks,Sandro Quote Link to comment Share on other sites More sharing options...
sandrodisegni Posted February 28, 2015 Author Share Posted February 28, 2015 I seem to have solved it .... What I did is take the code to COPS instead with a FONT there using $JOB, $HOUDINI_PATH, etc and having another font node with the code for OS and machine name. Go figure. If anyone knows why the python SOP would not update I am still very insterested in hearing it. Cheers Quote Link to comment Share on other sites More sharing options...
sandrodisegni Posted February 28, 2015 Author Share Posted February 28, 2015 Even in the FONT node in SOPS without using the python it worked fine. Used the python just to get OS and machine name. All works like a charm now. Hope this helps people with the same troubles. Quote Link to comment Share on other sites More sharing options...
edward Posted February 28, 2015 Share Posted February 28, 2015 The problem sounds really strange. What if you used hou.expandString() ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.