Volume Gradient

Volume Gradient

darioOrtisi
Collaborator Collaborator
288 Views
4 Replies
Message 1 of 5

Volume Gradient

darioOrtisi
Collaborator
Collaborator

Hi all. I will ask to everybody helps me on this: https://www.youtube.com/watch?v=unIuhd3Hff4

I wil llike to transpose this to bifrost. What i don't understand is how to get gradient vector, so i can add cross product.

I saw there is gradient normal,. How to get this info out?

 

I know there is a analyze_volume that has gradient_. But i'm still there. without success.

 

Thanks

0 Likes
289 Views
4 Replies
Replies (4)
Message 2 of 5

sepu6
Advisor
Advisor

I would go with fields and get the gradient field from fields.
You can also use the analyzed volume but then you need to sample that data with the sample volume gradient

0 Likes
Message 3 of 5

darioOrtisi
Collaborator
Collaborator

Thank you @sepu6 

 

I did this today. But(hilarious) i don't know what i did. I'm using cross product i understand but why some aspect run, i don't know.

THat's the scene in case you have time to explain to me what i did.gradient.JPG

Message 4 of 5

sepu6
Advisor
Advisor

I'll check it the file later on 

Message 5 of 5

darioOrtisi
Collaborator
Collaborator

Thank you @sepu6