Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2002, 06:34 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
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
Reply With Quote
  #2  
Old 03-01-2002, 09:06 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
actually, I would like it if you could use any color from #000000 to #FFFFFF
__________________
Reply With Quote
  #3  
Old 03-01-2002, 09:11 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
you mean for the 5 colors? yes, it would be nice if you could give values like setcharprop #C2,#v(0xFF00AB);
Reply With Quote
  #4  
Old 03-01-2002, 10:33 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by Faheria_GP2
you mean for the 5 colors? yes, it would be nice if you could give values like setcharprop #C2,#v(0xFF00AB);
for the 5 different parts, yeah...

(FFFFFF is 16777215 in decimal...woohoo! 16 million colors )
__________________
Reply With Quote
  #5  
Old 03-01-2002, 10:41 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
it would be nice to set a lot of different colors :P
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #6  
Old 03-01-2002, 11:40 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
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:
Attached Thumbnails
Click image for larger version

Name:	rgbrobotrek.gif
Views:	136
Size:	2.6 KB
ID:	12699  
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #7  
Old 03-01-2002, 11:46 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
come to think of it, i probably would keep my current body look, i likes it :P
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #8  
Old 03-01-2002, 09:37 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by TDK_RC6
come to think of it, i probably would keep my current body look, i likes it :P
That's fine

But being able to use basically any color would be nice...you could do color animations in a way
__________________
Reply With Quote
  #9  
Old 03-02-2002, 09:41 AM
Guest
Posts: n/a
Quote:
Originally posted by konidias
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:
Good ol' robotrek, but anyway, I personally think this is a great idea, hopefully it will be implemented.
Reply With Quote
  #10  
Old 03-04-2002, 03:58 PM
TheKaizer TheKaizer is offline
Registered User
Join Date: Sep 2001
Location: My computer...
Posts: 94
TheKaizer is on a distinguished road
Send a message via AIM to TheKaizer Send a message via Yahoo to TheKaizer
Quote:
Originally posted by Frolic_rc9

Good ol' robotrek, but anyway, I personally think this is a great idea, hopefully it will be implemented.
yeah
Reply With Quote
Reply


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 +2. The time now is 09:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.