Dispel Posted May 13, 2013 Share Posted May 13, 2013 newbie question.. So I am trying to make a volume vectorfield to use in DOPs for some field-force affecting. I start with a box turned to a volume, and I specify the data as being 0,1,0 initially, so the force would point in the Y direction. Now if I transform this volume by parenting the obj-level geo node to something else, the volume container moves appropriately, but my voxel data is still 0,1,0. How can I transform the data inside the volume as well as the voxel grid for use in DOPs? Quote Link to comment Share on other sites More sharing options...
tjeeds Posted May 13, 2013 Share Posted May 13, 2013 (edited) The vector data in the volume doesn't know it anything about the transform, so you have to tell it explicitly. Here I'm using a Volume Vop to pull in the transform of the parent object and apply it to the vector. You should be able to copy and paste this node in at the end of your network without any issues (assuming it's named 'vel'). transforming_vector_volumes.hipFetching info... Edited May 13, 2013 by tjeeds Quote Link to comment Share on other sites More sharing options...
Macha Posted May 14, 2013 Share Posted May 14, 2013 I've always found this wrong and inconsistent. If we make vector volumes and if they are named as such (.x .y .z) then they should behave as vectors and not as 3 floats... Quote Link to comment Share on other sites More sharing options...
efx Posted May 14, 2013 Share Posted May 14, 2013 You can use "Make Transform" to rotate vector inside volumevop as well. You just need to multiply your vector field by this matrix. Cheers 1 Quote Link to comment Share on other sites More sharing options...
Dispel Posted May 14, 2013 Author Share Posted May 14, 2013 Awesome, thank you guys for the answers! I figured that Houdini didn't have a concept that I wanted it to transform the data, but didn't know how to tell it to do so.. I have a friend who had some trouble scaling some clouds and I'm guessing it's for a similar reason. (Moving the volume but not transforming the data) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.