You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#11
Re: multiple colors - a dead end?
Posted on: 2008/11/5 17:58
Nintendoid!
Joined 2007/8/8
Great Britain
201 Posts
CoderContributorHOTY09 EntryLong Time User (11 Years) App Coder
Okay, here's a quick demo showing > 4 brightness levels simultaneously.

Edit: I think this needs a bit more work. Stay tuned.
Edited by dasi on 2008/11/6 20:12
Top

#12
Re: multiple colors - a dead end?
Posted on: 2009/3/18 13:31
Administrator
Joined 2000/1/8
Germany
2496 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
so, did you ever get this to work, derek?
Top

#13
Re: multiple colors - a dead end?
Posted on: 2010/1/13 23:02
PVB Elite
Joined 2010/1/5
Sweden
559 Posts
Long Time User (9 Years) Donator30+ Game Ratings
So... any progress with this?
Top

#14
Re: multiple colors - a dead end?
Posted on: 2010/1/17 18:38
Nintendoid!
Joined 2007/8/8
Great Britain
201 Posts
CoderContributorHOTY09 EntryLong Time User (11 Years) App Coder
Instructions: run on hardware, press start button.

dasi

Attach file:


vb clr_demo.vb Size: 4.00 KB; Hits: 114
Top

#15
Re: multiple colors - a dead end?
Posted on: 2010/1/17 19:03
VUE(xpert)
Joined 2003/9/3
Sweden
438 Posts
PVBCC EntryHighscore Top10 3rdCoderContributorHOTY09 2ndLong Time User (15 Years) DonatorApp CoderPVBCC 2010 1st20+ Game RatingsPVBCC 2013 2nd
Looking good. The right screen has 16 columns of different stable shades of red, the left has the same plus some flickering dithered tiles...
Top

#16
Re: multiple colors - a dead end?
Posted on: 2010/1/17 21:38
Administrator
Joined 2000/1/8
Germany
2496 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
So it's possible after all, very nice.
So, how did you do it? Would you mind sharing some code?
Top

#17
Re: multiple colors - a dead end?
Posted on: 2010/1/17 23:35
Nintendoid!
Joined 2007/8/8
Great Britain
201 Posts
CoderContributorHOTY09 EntryLong Time User (11 Years) App Coder
It works by setting the repeat values in the column table to change the brightness every four vertical lines. Normally these are set to 0 (1 repeat).


#define ct_mem_left    ((u16*)0x0003DC00)
#define ct_mem_right   ((u16*)0x0003DE00)

// repeat values. 96 entries, range 0 - 15 (1 to 16 repeats)
u16 rpts[96]=
{ . . . };

int iilctarcta;



// max brightness level = (2+4+2)*16 = 128
REG_BRTA2;
REG_BRTB4;
REG_BRTC2;

// get column table address
lctaREG_CTA 0xFF;
rctaREG_CTA >> 8;

// set repeat values
for(ii=0ii<96ii++)
{
    
ct_mem_left[lcta-ii] |= rpts[ii]<<8;
    
ct_mem_right[rcta-ii] |= rpts[ii]<<8;
}


Quote:
the left has the same plus some flickering dithered tiles...


Yeah, I need to check for changes to the CTA in case the screens haven't stabilised when start is pressed.
Top

#18
Re: multiple colors - a dead end?
Posted on: 2010/1/18 19:43
PVB Elite
Joined 2010/1/5
Sweden
559 Posts
Long Time User (9 Years) Donator30+ Game Ratings
Can the method be used in a 16 shade still picture?

... on a moving object and or background?


This picture perhaps:

Attach file:



png  Red3.png (12.86 KB)
1239_4b54ad6f7ce16.png 384X224 px
Top

#19
Re: multiple colors - a dead end?
Posted on: 2010/1/18 23:26
Nintendoid!
Joined 2007/8/8
Great Britain
201 Posts
CoderContributorHOTY09 EntryLong Time User (11 Years) App Coder
Quote:
Can the method be used in a 16 shade still picture?


Not really, because there are still only three shades, and their brightness can only be changed every four vertical lines.
Top

#20
Re: multiple colors - a dead end?
Posted on: 2011/10/17 15:45
VUE(xpert)
Joined 2011/7/3
USA
431 Posts
CoderContributorLong Time User (7 Years) App Coder40+ Game Ratings
Ok I donít want to state the obvious but it seems to me that your 10 color problem has a simple solution it is as follows. Have the artist pick between 10 solid colors. When those colors are programmed in Vide they then become 10 patterned colors the ones on KR155Eís table on his Multi-color demo (actually 4 solids and 6 patterned colors) . It doesnít use refresh rates or anything like that just a mere recognition of colors and substitution of patterned colors. It doesnít even use dithering just substitution ,this color thatís not on the palette for that color that is made of patterned colors on the palette. I know this whole thing could be done with color optimization and dithering but that will leave unwanted artifacts wouldnít it be better to just substitute the colors for patterned colors? Hereís what Iím talking about.

Attach file:



bmp  illustration of dithering2BMP.BMP (1,359.17 KB)
1719_4e9c318281893.bmp 750X618 px
Top

 Top   Previous Topic   Next Topic


Register To Post