Questions about grayscale.

Libraries, utilities, bootloaders...

Questions about grayscale.

Postby Valden » Tue Jun 30, 2015 3:41 pm

As I don't have my Gamebuino yet (it should arrive later this week) I haven't worked much with grayscale as Simbuino doesn't handle it very well. I searched the forums but I haven't found clear answers on the current status of gray on the Gamebuino. So :
  • Is grayscale working properly (without too much flickering)?
  • If not, is there any hope to have working grayscale on the gamebuino one day ?
Thanks !
User avatar
Valden
 
Posts: 31
Joined: Mon Jun 08, 2015 5:33 pm

Re: Questions about grayscale.

Postby Drakker » Tue Jun 30, 2015 9:30 pm

It flickers a bit on most displays, but it is very usable in smaller areas. If you get the beta branch for the Gamebuino library, the gray color is built in, you can use it by specifying GRAY when selecting your drawing color.
User avatar
Drakker
 
Posts: 297
Joined: Sun Mar 30, 2014 2:54 am
Location: Québec, Canada

Re: Questions about grayscale.

Postby Valden » Tue Jun 30, 2015 9:59 pm

Okay, thanks !
User avatar
Valden
 
Posts: 31
Joined: Mon Jun 08, 2015 5:33 pm

Re: Questions about grayscale.

Postby rodot » Mon Jul 06, 2015 5:41 pm

Grayscale is actually implemented in the core library now (only in the beta branch so far), see the reference page gb.display.setColor for more explanations and an example. The library's gray is made using alternating checker pattern (thanks Drakker for the idea), which doesn't flicker too much. Another issue with the use of gray that you will barely see fast moving objects. There was a topic about gray experiments.
User avatar
rodot
Site Admin
 
Posts: 1290
Joined: Mon Nov 19, 2012 11:54 pm
Location: France


Return to Software Development

Who is online

Users browsing this forum: No registered users and 2 guests

cron