CinnamonMetal Posted October 9, 2018 Share Posted October 9, 2018 What happened to the PBRSpecular VOP in SHOPs ? As well, you can set an attribute from within VOPs in a SOP wrangler. Therefore since I'm using specular and specular intensity has a parameter Ks, within a primitive wrangler I set the following; if(@Frame > 12){ @Ks = 2.0; }else{ @Ks = 12.0; } Although I don't see the specular changing ? Quote Link to comment Share on other sites More sharing options...
Andrea Posted October 9, 2018 Share Posted October 9, 2018 The PBR specular VOP is still there, just it's hidden. In the textport type opunhide Vop pbrspecular::3.0 , press enter and you will have it again. About changing the specular intensity of the material using a wrangle.. here it's working on H16.5. Are you doing it for a material in mat context or shop? Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted October 9, 2018 Author Share Posted October 9, 2018 (edited) In 16.x there is only specular, do you know the difference between pbr specular and specular besides I`m assuming one is strictly a pbr specular node ? I'm using a SHOP context @AndreaDid you attach a scene file to your post; it's not visible ? Edited October 9, 2018 by CinnamonMetal Quote Link to comment Share on other sites More sharing options...
Andrea Posted October 9, 2018 Share Posted October 9, 2018 All the nodes from the previous version are still in Houdini, just you can't see them until you use the command I was mentioning before or you open old scenes. So if you prefer the PBR specular than the specular you just need to unhide it. If it wasn't like that it would be really hard to work in old Houdini scenes with the new versions since often they do huge updates to the nodes. I have no idea about the difference between the two, sorry. If I have to guess I would say that the PBR specular is not supposed to be used anymore since have been introduced some new nodes for reflections. No I didn't attached a scene. You mean for your expression with Ks? p.s: I think in SHOP it's not enough using just a wrangle with the expression but you also need to use a bind for changing the values Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted October 10, 2018 Author Share Posted October 10, 2018 9 hours ago, Andrea said: No I didn't attached a scene. You mean for your expression with Ks? p.s: I think in SHOP it's not enough using just a wrangle with the expression but you also need to use a bind for changing the values Yes. Are you saying I have to bind the attribute into SHOP; why would that be needed as within the SHOP network the Ks attribute / parameter already exists ? Watch this until the 20 minute mark. Quote Link to comment Share on other sites More sharing options...
Andrea Posted October 10, 2018 Share Posted October 10, 2018 In the video the chocolate material has all the values already exposed at SHOP level. If the values are exposed you can change them using just a wrangle. If the parameters are not exposed, so you have to dive inside the VOP material for change them, you need to use a bind and tell houdini to read the value of the geometry attribute you assigned. If there are other ways (and probably there are) I am not aware of them. Below the hip file with the 3 different methods: exposed parameters, not exposed parameters and using a bind. Override_shop_values.hip 1 Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted October 10, 2018 Author Share Posted October 10, 2018 Thanks The other methods, maybe python 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.