Magnetic field tutorial - last step
7462 7 1- rurik2000
- Member
- 87 posts
- Joined: 8月 2009
- Offline
Hello
I've dropped out of Houdini for a version or two, and am now trying to create an effect as described in the following tutorial
http://pepefx.blogspot.com/2015/08/how-to-create-magnetic-vector-field-in.html [pepefx.blogspot.com]
However I get stuck at the last step where the author suggests randomizing the f@pole attribute to create a more “sun” like magnetic field.
I assume this is done in an attribute wrangle SOP, but I'm not sure what the syntax would be?
Thanks for any pointers
I've dropped out of Houdini for a version or two, and am now trying to create an effect as described in the following tutorial
http://pepefx.blogspot.com/2015/08/how-to-create-magnetic-vector-field-in.html [pepefx.blogspot.com]
However I get stuck at the last step where the author suggests randomizing the f@pole attribute to create a more “sun” like magnetic field.
I assume this is done in an attribute wrangle SOP, but I'm not sure what the syntax would be?
Thanks for any pointers
- Enivob
- Member
- 2625 posts
- Joined: 6月 2008
- Offline
Here is my interpretation of your request.
I added a switch as the author suggested and scattered points within a sphere.
Then I used an attribute wrangle to create random pole values for each point.
This connects into the existing structure described in the tutorial.
I added a switch as the author suggested and scattered points within a sphere.
Then I used an attribute wrangle to create random pole values for each point.
This connects into the existing structure described in the tutorial.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
- rurik2000
- Member
- 87 posts
- Joined: 8月 2009
- Offline
- Enivob
- Member
- 2625 posts
- Joined: 6月 2008
- Offline
- rurik2000
- Member
- 87 posts
- Joined: 8月 2009
- Offline
- rurik2000
- Member
- 87 posts
- Joined: 8月 2009
- Offline
- rurik2000
- Member
- 87 posts
- Joined: 8月 2009
- Offline
I have one more question…I like the way the velocity attribute get mapped to the Cd attribute via the volumetrail SOP. I'd like to modify the way this mapping happens…What is the best way to do that?
When I look at the volumetrail SOP, I don't see a velocity attribute being created, so not sure how I would go about modifying it?
Thanks!
When I look at the volumetrail SOP, I don't see a velocity attribute being created, so not sure how I would go about modifying it?
Thanks!
- Enivob
- Member
- 2625 posts
- Joined: 6月 2008
- Offline
Try setting your Visualize Velocity Ramp to greyscale. Then add an attribute VOP after the Volume Trail. Dive inside the VOP and add A Ramp parameter and connect Cd from the Globals to the Ramp and then back to the output. Jump up one level and you will have a standard color ramp that you can colorize as you see fit.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
-
- Quick Links