Jump to content

COP network as a texture on an object.


Recommended Posts


I'm working on animating a COP network to be used as a texture and I can render it to a file sequence, but it would be cool if I could just reference the COP inside a VEX shader directly.

I've seen things with Node references in Houdini, where you can go opdef:/Shop/thingy?filename and it can reference something in an asset or OTL.

It would be cool, if you could go something like "chop:/mycomp/null" in the "texture map" field of a SHOP/VEX Decal, then the shader would render using a texture generated by the COP directly. Saving me the trouble having to use an image file.

Is something like this possible?

Link to comment
Share on other sites

  • 2 weeks later...

Like this?

Be careful though. I've done that before and had some problems with updating.

OMG! I think I now know what you were referring too.

I'm having a very difficult time trying to get the COP reference to update. The COP is loading an image sequence, and then doing some effects on it. I'm then referencing it as a texture for some instanced nodes. My problem is that it's only rendering one frame from the COP!

In the COP is a file node that reads in an image sequence like "image.$F4.png". When I render an image in Houdini it renders the current frame, but when I render on the farm all the render machines render only 1 image from the COP. As each frame is rendered they are all stuck on the same "image.0001.png" file (even if they are rendering different frames).

Nothing I've done has been able to fix this problem. Anyone have some ideas for me?


Link to comment
Share on other sites

I tried adding $F as a parameter to the COP nodes, but didn't help.

Thanks for the tip @macha, I'll give that I try.

I ended up giving up on it, and saving out all the textures to images. So it's rendering correctly now. Maybe that's better approach anyway, since I often have to render a scene multiple times to get it right and the COP network isn't modified anyway.

Link to comment
Share on other sites

  • 7 months later...

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.

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...