Hi!
I have a Detail Wrangle with an integer resolution value that changes at each frame:
560, 2432, 4096, 4096, 2064, 112, 112, 4096, etc.
That value is accessed inside a COP2 Network with a detail function. The problem is I'm getting the wrong value. No matter the frame, I always have "2432". It's like it doesn't refresh when I get to different frames in the timeline. Is it a bug or am I missing something... ?
-Olivier
cop2 in sops: can't get detail value correctly in SOPs level
883 4 1-
- olivierth
- Member
- 1103 posts
- Joined: 4月 2017
- Offline
-
- olivierth
- Member
- 1103 posts
- Joined: 4月 2017
- Offline
Ah!
The trick was to expose the "Override Size" parameter one level higher. Once I add that parameter in my COP2 Network named "Bake_Result"(from edit parameter interface), all works fine!
-Olivier
EDIT: My bad! My "Solution" does not work at all. When I look at the value in my exposed "Override Size" (on the COP2 node), it looks good. When I dive inside that COP2 Network to see the result inside, I still have the same problem.
The trick was to expose the "Override Size" parameter one level higher. Once I add that parameter in my COP2 Network named "Bake_Result"(from edit parameter interface), all works fine!
-Olivier
EDIT: My bad! My "Solution" does not work at all. When I look at the value in my exposed "Override Size" (on the COP2 node), it looks good. When I dive inside that COP2 Network to see the result inside, I still have the same problem.
Edited by olivierth - 2023年7月3日 12:52:03
-
- tamte
- Member
- 9119 posts
- Joined: 7月 2007
- Offline
COPs often treat the input stream as a sequence of frames at constant resolution and therefore size parameters can't be time dependent
however you should be able to use TOPs to generate independent workitems that execute your COPnet with desired size overrides
however you should be able to use TOPs to generate independent workitems that execute your COPnet with desired size overrides
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- olivierth
- Member
- 1103 posts
- Joined: 4月 2017
- Offline
-
- tamte
- Member
- 9119 posts
- Joined: 7月 2007
- Offline
-
- Quick Links