Jump to content

Uprez SOP Volume

jacob clark

Recommended Posts

If I'm understanding what you want to do, couldn't you use a higher res IsoOffset node with Mode set to "VolumeSample"? (Although testing this, it seems like there's a weird bug where the OutputType set to SDF in that mode yields a Fog Volume and vice versa.)

Or use a Volume SOP to create a volume of the same bounding box size, then a Volume VOP that just VolumeSamples the original lores volume? It's all just going to be doing linear interpolation of the lowres volumes, but I think that's the best you're going to get easily.

See attached.

Edit: yeesh, just realized this gets more complicated with multiple volume primitives, which is what you're probably dealing with from DOPs. But you should be able to put the same setup through a ForEach SOP to sample them individually.

Edit: see attached for an example of one way of using ForEach to handle mutiple volume primitives.

The volumes in the incoming gdp are all sampled and the sum of their values used to initialize the signed distance field. No correction is done after the fact, so the result may not actually be a signed distance field if the input isn’t.



Edited by johner
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.

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...