davpe Posted November 22, 2017 Share Posted November 22, 2017 Hi, can anybody confirm or invalidate my suspicion that op: expression in shaders context (mat or shop) cuurently doesn't work? I know syntax has been a bit inconsistent between different Houdini versions but right now in 16.5 it doesn't seem to work at all for me. i tried: op: /obj/copnet/OUT op: "/obj/copnet/OUT" "op: /obj/copnet/OUT" op:`opfullpath('/obj/copnet/OUT')` and many other mutations of the same thing. anybody? thanks, D. file attached just for case copReferencing.hiplc Quote Link to comment Share on other sites More sharing options...
Atom Posted November 22, 2017 Share Posted November 22, 2017 (edited) Have you checked your output size from COPs? (I don't have Houdini in front of me so I can't review your file) There is a size limit for COPs output on an Indie license. If you exceed that output size then the transfer will fail. Try a smaller size COPs output like 1024x1024...? Edited November 22, 2017 by Atom Quote Link to comment Share on other sites More sharing options...
davpe Posted November 22, 2017 Author Share Posted November 22, 2017 good point, but no, it still doesn't work Quote Link to comment Share on other sites More sharing options...
malexander Posted November 22, 2017 Share Posted November 22, 2017 op:/obj/copnet/OUT is what you want. It seems to be an issue with IFD generation, as if I promote the texture map parameter to a parm on the material builder and tag it with ogl_tex1, I can see the cop texture in the viewport. So the COP half of it is working properly. Quote Link to comment Share on other sites More sharing options...
davpe Posted November 22, 2017 Author Share Posted November 22, 2017 47 minutes ago, malexander said: op:/obj/copnet/OUT that is what I tried initialy. then I was trying countless possible variations on that until I came to conclusion it probably doesn't work in 16.5. is it working for you guys in hou 16/16.5? that is my general question, whether it is a bug or something wrong on my side. Quote Link to comment Share on other sites More sharing options...
willrmiller Posted February 10, 2018 Share Posted February 10, 2018 I've run into this exact problem (16.5). Anyone found a solution? Quote Link to comment Share on other sites More sharing options...
toadstorm Posted February 10, 2018 Share Posted February 10, 2018 (edited) This works in 16.5 if your COPnet is in /img/, or if the COPnet is inside the geo container of the object that is being rendered. So possibly this is a problem of the COPnet texture not being included in the IFD write when it's in the /obj/ root? Just tested in 16.0.736... it doesn't seem to work correctly here either if the COPnet is in /obj/ root. Also make sure that your path doesn't end in a slash after "OUT". Edited February 10, 2018 by toadstorm Quote Link to comment Share on other sites More sharing options...
davpe Posted February 13, 2018 Author Share Posted February 13, 2018 thanks for posting your finds toadstorm, that's certainly helpful! guess it's worth submitting as a bug to sidefx. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.