Jump to content

Radial Color Gradient Test


breadbox

Recommended Posts

I have built a custom VOP network to test and see If I could get the same functionality of metaball color though a magnet, with more control and greater speed.  I have always had trouble with metaball, dialing in the falloff gradient just right.  

 

My VOP network has a few extra features, but basically works in a similar way, you can use a XZY center and a radius for the spherical gradient, then it has a ramp control which is key for dialing in the falloff better.  

 

I also have the ability to clamp the color, add to an existing color, or multiply with an existing color.  This allows me to stack/layer a few of these together if I want multiple source points. 

 

Performance was not my end goal, but In looking at the performance monitor on my machine it looks like its slightly faster, but basically the same speed as the magnet, the times are jumping around a bit, so its hard for me to determine the exact speed. When I stack them though Ill get worse performance. I'm not sure how to create a single system where the user could specify multiple sources. 

 

Ill post my hip file. I would appreciate any feedback you guys could give about my process.  I was looking around for tools like this and couldn't find anything.  Basically it uses a distance measurement to drive the spherical shape, maybe there is a better way?

 

 

SphereGradient_PerformanceTest_V1.hipnc

Link to comment
Share on other sites

...I'm not sure how to create a single system where the user could specify multiple sources. ...

 

pointclouds

just iterate pointcloud ( For or While loop vop), measure distance and compute gradient per each point from current position, then maybe do weighted average of all found samples by distance to get the final value

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...