Jump to content


volume attributes


  • Please log in to reply
2 replies to this topic

#1 kustaa

kustaa

    Peon

  • Members
  • Pip
  • 12 posts
  • Joined: 20-May 09
  • Location:helsinki finland
  • Name:kustaa vuori

Posted 21 June 2010 - 01:36 AM

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

#2 anim

anim

    Houdini Master

  • Members
  • PipPipPipPip
  • 910 posts
  • Joined: 23-August 07
  • Location:Slovakia, Bratislava
  • Name:Tomas Slancik

Posted 21 June 2010 - 07:53 AM

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
Tomas Slancik
Generalist
Slovakia

#3 kustaa

kustaa

    Peon

  • Members
  • Pip
  • 12 posts
  • Joined: 20-May 09
  • Location:helsinki finland
  • Name:kustaa vuori

Posted 21 June 2010 - 10:13 AM

View Postanim, on 21 June 2010 - 07:53 AM, said:

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users