Jump to content
Sign in to follow this  
kustaa

volume attributes

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×