Skip to content

Displacement in Houdini #96

Answered by scegielski
BrianHanke asked this question in Q&A
Discussion options

You must be logged in to vote

This should work in a LOP wrangle node:

usd_addprimvar(0, @primpath, "moonray:mesh_resolution", "float");
usd_setprimvar(0, @primpath, "moonray:mesh_resolution", 10));

Make sure the attribute gets added to the objects in the scene graph details pane.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BrianHanke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants