Hi,
I am building a viewport reticle in cops to display frame number, camera info ect. for flipbooks. This is done by referencing a cop network on a constant shader which is applied to a grid that is parented to the camera. It all workes fine as long as the path to the cops OUT node is absolute. When using a relative path instead, the setup doesn't update anymore. This is a problem as I want to create a HDA from this setup.
I attached a simple example file including a simple cop2net with a font cop displaying $F. the absolute path updates the relative doesn't.
Thanks!
no viewport update using relative op: expression with cops
2757 2 0- csmnt
- Member
- 14 posts
- Joined: June 2011
- Offline
- symek
- Member
- 1390 posts
- Joined: July 2005
- Offline
- csmnt
- Member
- 14 posts
- Joined: June 2011
- Offline
SYmek
op syntax works with absolute paths only, use opfullpath() for conversion:
op`opfullpath(“../../my/relative/path”)`
great, thanks!
..I think it would probably be good thing to have some info about this syntax in the houdini documentation. I didn't find anything there, though it seems to be used all the time.
-
- Quick Links