Jump to content

Feature Request: HSV access to pixels in codelab


Recommended Posts

Rick,

Currently, when writing an effect, we have access to the RGB and A values for the current pixel and the primary/secondary colors, like this:

CurrentPixel.R = (byte)PrimaryColor.R;

CurrentPixel.G = (byte)PrimaryColor.G;

CurrentPixel.B = (byte)PrimaryColor.B;

CurrentPixel.A = (byte)PrimaryColor.A;

Could we also have access to get/set the H, S, and V values of those objects?

Or, as a workaround, is there a function I can call, within a codelab script, that will convert between RGB and HSV (both directions)?

Thanks.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

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.

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.

 Share

×
×
  • Create New...