Jump to content

Why does 'addpoint' work in a Volume Vop but not a Volume Wrangle?


Recommended Posts

In a volumevop I can generate as many points as I want, either using the 'add point' vop node or using 'addpoint()' in a snippet. However, using 'addpoint()' in a volumewrangle results in no points. I'm wondering, what's the reason for the difference in behaviour? I'm guessing there's something I don't understand about how the two work.

Edited by richard_mcd_green
Link to comment
Share on other sites

It works when you do some operation on the volume.
Simply adding @density = @density; is enough.
image.thumb.gif.1a142768775ae8561e92a7dcc7d99e7d.gif

addpoint(0, @P);
@density = @density; // Telling Houdini that it should care about this volume

My guess is that the wrangle skips processing any volume that isn't referenced ?
I would be curious to learn about the intricacies, if someone knows.

Edited by Alain2131
Link to comment
Share on other sites

12 hours ago, Alain2131 said:

It works when you do some operation on the volume.
Simply adding @density = @density; is enough.
image.thumb.gif.1a142768775ae8561e92a7dcc7d99e7d.gif

addpoint(0, @P);
@density = @density; // Telling Houdini that it should care about this volume

My guess is that the wrangle skips processing any volume that isn't referenced ?
I would be curious to learn about the intricacies, if someone knows.

That's fascinating, never would have thought to try it but now I think about it, vops does have density plugged into density out by default! 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...