Sign in to follow this  
Followers 0
MJW

Render Color Wheel

6 posts in this topic

This probably isn't too useful, but I wrote it to generate test cases, and someone else might find it handy. It basically draws a HSV color wheel, centered in the current selection's bounding rectangle. The saturation and value are set on the disk's boundary and center. They're linearly interpolated on the disk. The starting values can be set outside the [0, 1] range. The interpolated values are clamped. This allows transitions to occur over part of the circle. For example, if the saturation is set to 2 on the boundary and 0 in the center, the saturation will be 1 on the outside half of the disk (where the interpolated values are greater than 1), and then transition from 1 to 0 on the inside half. I know it's kind of confusing. The defaults are the value at 1 and the saturation transitioning from 1 to 0 toward the center. It resides in the Render submenu.

Here is the DLL: RenderColorWheel.zip

0

Share this post


Link to post
Share on other sites

Ok, I think I got that. How about posting a picture so we can see it in action?

0

Share this post


Link to post
Share on other sites

Here are a couple of examples.

This is the default. 21878_36c2ce1e8e4e6acfb65c0efa9abc8ecaThis is rotated 45 degrees, the saturation set to 0 on the boundary and 3 in the center, and the value set to 2 on the boundary and 0.5 in the center.21878_ed28841398e51dcbe51d77f7b969b1ea

0

Share this post


Link to post
Share on other sites

This could come in handy for noodle's eye tut... good job :)

0

Share this post


Link to post
Share on other sites

Thanks for the pictures MJW, and for the plugin!

0

Share this post


Link to post
Share on other sites

I like the looks of this. I'll let you know how it works out.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0