Jump to content

Access render properties and geometry from vex shadeop.


Recommended Posts

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!

Link to comment
Share on other sites

Guest mantragora

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...