Stalkerx777 Posted November 23, 2013 Share Posted November 23, 2013 Hi there! Guys, need some help, can't find anything valuable on this in HDK docs..... 1) How can i get access to render properties from my hdk vex function? Similar to what renderstate vex function does. 2) How to get access to geometry from hdk vex function? It should be a way to get const GU_Detail, similar to VRAY_Procedural::queryGeometry(). Thx! Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted November 23, 2013 Share Posted November 23, 2013 2) How to get access to geometry from hdk vex function? It should be a way to get const GU_Detail, similar to VRAY_Procedural::queryGeometry(). Don't quote me on that but if you are talking about normal VEX extension I don' think you can. Can you access geometry when you work directly in Houdini in standard VEX? You modify attributes and that's it. If you need more direct access you need to go CVEX route. Quote Link to comment Share on other sites More sharing options...
symek Posted November 23, 2013 Share Posted November 23, 2013 Hi there! Guys, need some help, can't find anything valuable on this in HDK docs..... 1) How can i get access to render properties from my hdk vex function? Similar to what renderstate vex function does. 2) How to get access to geometry from hdk vex function? It should be a way to get const GU_Detail, similar to VRAY_Procedural::queryGeometry(). Thx! I think neither is possible. VRAY_Procedural has import() method, but not VexOp. In both cases you should provide that data to your VEX extension as parameters. Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted November 24, 2013 Author Share Posted November 24, 2013 I think neither is possible. VRAY_Procedural has import() method, but not VexOp. In both cases you should provide that data to your VEX extension as parameters. Thx symek. Ok, it seems we can't get access to geometry, but we should have access to render properties. Well, particularly, i need to get object name in my vex extension, of course i can feed it as parameter, but i was hope there is hdk way to get it. Anyway, thanks. 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.