Old 09-20-2021, 02:34 PM   #1
Human being with feelings
Join Date: Aug 2020
Posts: 75
Default gfx_procrect's mysterious 768-entry table

Hi dear video processor gurus!

Nowadays I am trying one by one the non-obvious gfx functions and today's winner is gfx_procrect()! Apart from the fact that 768 is 3x256 and that the table seems to be composed of 3 groups 256 0/1 values, I do not know how to populate this table with useful values. It modifies colors but does it also allow to alter the alpha values?

Also the gfx_evalrect() seems to use a similar "table" logic but again the "eval code" is a pure mystery for me.

Thanks in advance!

Last edited by papagirafe; 09-20-2021 at 04:31 PM. Reason: omission
papagirafe is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 01:23 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.