![]() |
Automatic Shading in Bodies?
well, I was loafing around the other day, and was thinking to myself, wouldn't it be nice if the Bodies would automatically shade themselves? I thought of all the possible methods this could be achieved, and here is the one I came up with
well, as you know, There are 5 colors + outline used in Body GFX, maybe some maths could be employed here, where COLOR 6 is 16 units darker than COLOR 0, COLOR 7 is 16 darker than COLOR 1, the color that it affects would be determined as so ORIGINALCOLOR = PALCOLOR%6; DARKEN= INT(PALCOLOR/6)*16; If color 0 was 255,0,0 (RED), then color 6 would be 255-16,0,0; (Slightly darker RED), color 12 would be 255-32,0,0; and so on (the others are not changed because we can't go below 0, but under normal circumstances, they would be) This way we can design bodies that will be able to do shading/gradients and still be able to choose our own colors for the bodies. so, to determine which PAL# to use in order to do the shading we first would want the original color (in the following example, #C4 or 4, and the Degree we want it to be changed, 5) PAL = OriginalColor + Degree*6 PAL = (4) + (5)*6; if #C4 was white (255,255,255), then PAL34 would produce color (175,175,175) or a light-gray... Sure, it would take much more effort to make a well shaded body, but the old bodies would still work, so more can be made to that style too, and using the shading effects would be *optional* I hope I was able to explain this in depth enough for such a long post :o |
actually, I would like it if you could use any color from #000000 to #FFFFFF :)
|
you mean for the 5 colors? yes, it would be nice if you could give values like setcharprop #C2,#v(0xFF00AB);
|
Quote:
(FFFFFF is 16777215 in decimal...woohoo! 16 million colors :D) |
it would be nice to set a lot of different colors :P
|
1 Attachment(s)
Yes, being able to adjust your red,green,blue would give you tons of combinations. The shadowing and even lightening is possible.
Well basically, like this: |
come to think of it, i probably would keep my current body look, i likes it :P
|
Quote:
But being able to use basically any color would be nice...you could do color animations in a way :) |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 04:12 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.