COP Texture rendering from GUI but not in batch mode?

   974   2   0
User Avatar
Member
23 posts
Joined: Nov. 2012
Offline
Hi all -

I'm generating a texture with a COP network and reading it to the shader with a parameter “op:/obj/geometryProcessing/cop2net1”. This does exactly what I want and updates properly in the Render View, and when I click Render in the mantra out node, I get image files showing my intended result.

However, when I run a batch render on the render farm, the COP network doesn't update its frame number. It just evaluates at the frame the file was saved on.

I've tried forcing a frame update to evaluate the COP network by using the hython cook() function and by various Pre-Frame Scripts in the mantra node, but nothing seems to work.

Does anyone have any advice? What's the gap between interactive Houdini and batch Houdini? How can I force a COP network to update?

Thanks!
AJ
User Avatar
Staff
5156 posts
Joined: July 2005
Online
You can tack
[$F]
onto the end of the op: reference, and it should update properly over time.
Edited by malexander - April 7, 2020 17:53:44
User Avatar
Member
23 posts
Joined: Nov. 2012
Offline
Oh I hadn't heard of this, neat!

I'm getting an “Unable to load texture” error - it's saying it doesn't recognize 'op:/obj/geometryProcessing/cop2net1/OUT_MASK'. Do I have the syntax wrong? Or is this a special case where the trick doesn't work?
  • Quick Links