Prev Previous Post   Next Post Next
Old 12-06-2010, 07:17 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default Color Format

I have been testing with colors and got a strange format where 0+=white,-9000000000- is black. Does anyone know how colors can be found in this format (yes it works on the player) i will release a simple fading app to prove the concept ( it goes starting off green bright then fading to dark green then going to the next type of green and shades that if you need it faster change the libs.lua file.

Note it will stay on one color for a while due to the way i have it go through the possible numbers, but it does transist the colors

after a bit more testing i got these values

  255,0,0 =-65536                  255,0,255= -65281
  255,0,1=-65282                  255,255,255=-1
  1,1,1=-16711423                100,100,100 =-10197916
is it just how the lua player handles colors? by converting them to a custom format

might it be access values?


i just found that i put this in the wrong section, could an adim move it ( i dont think i can)
Attached Files
File Type: zip Color (958 Bytes, 14 views)

Last edited by jbob182; 12-06-2010 at 08:12 PM.
Reply With Quote

Advertisement [Remove Advertisement]


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 -5. The time now is 07:00 AM.