Dear Experts,
Here are two disasters for the price of one?!
I have a workflow that creates a vector 2D volume and a scalar 2D volume that are imported into an old copnet subnet to create an image and its mask, respectively. I then use a rop_comp node in the subnet to write out the masked image to be used as a texture elsewhere in the workflow. The workflow is driven automatically from an external hython script, which "pushes" the render button on the rop_comp node to make sure the new texture file hits the disk.
1) My first disaster is that I understand the old copnets are going away and that I should use a Copernicus subnet instead. Alas, I have been unable to recreate this arrangement despite listening to several hours of tutorials I found plus the information in forum topic: https://www.sidefx.com/forum/topic/96920/. [www.sidefx.com] Essentially, I've been unable to get a geotolayer node to accept the vector volume that is imported, and the scale volume imports incorrectly. I would love to hear how I should be doing this, as I'm pretty sure I'm misunderstanding something fundamental.
2) My second disaster is that after the new texture file is written to disk, I want the material node to make use of it. If I go to the principledshader texture file parameter in the matnet node and delete its parameter reference (that points to the filename in the rop_comp node) and then paste it back again, it will reload the file and get the new texture. But I haven't found a reliable way to make this happen automatically. Is there one? I haven't even gotten this to work from an external hython node. Maybe I also have a problem with making sure the right nodes cook in the right order?
Any and all suggestions would be tremendously welcomed!
Thanks so much!
Mary
Notes: I've attached an example hip file. Changes to colors for the purposes of creating the new texture should be made in the green wrangle. In the rop_comp node in the old copnet subnet, the texture file will be written to the same folder in which you are running the hip file.
copnet import of 2D volume + material node update problem
130 0 1- mgbaker
- Member
- 82 posts
- Joined: April 2020
- Online
-
- Quick Links