Jump to content

volume attributes


kustaa

Recommended Posts

hi,

at SOP level im modifying my volume density with volume vop.

i would also need to output a custom vector attribute(volumetric data) from volume vop that i could use in my volume shader.

how do i add new attribute on top of the regular density in volume vop?

cheers,

Kustaa

Link to comment
Share on other sites

you can branch from source volume 4 times

append name SOP after each branch

name first density

second for example vel.x

third vel.y

fourth vel.z

merge all together

then add your volume VOP

and you'll have vector attribute named "vel" which can be modified

Link to comment
Share on other sites

you can branch from source volume 4 times

append name SOP after each branch

name first density

second for example vel.x

third vel.y

fourth vel.z

merge all together

then add your volume VOP

and you'll have vector attribute named "vel" which can be modified

thanks Thomas!

exactly what i need.

i noticed that i can also create two volume primitives, one with scalar and one with vector and then merge them.

cheers

Kustaa

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