Bennu Game Development

English Forums => General => Topic started by: Grew on September 13, 2010, 12:44:41 PM

Title: 32 bits Caanoo
Post by: Grew on September 13, 2010, 12:44:41 PM
Hello,
Will  the "32bits graph mode" be available in the future for the caanoo port?
That would be nice!

(PS: Thanks a lot for the Bennu Caanoo port!)
Title: Re: 32 bits Caanoo
Post by: SplinterGU on September 13, 2010, 01:48:29 PM
Caanoo don't support 32 bits.
Title: Re: 32 bits Caanoo
Post by: Grew on September 13, 2010, 02:20:52 PM
Ok Thanks for your reply.  8)
Title: Re: 32 bits Caanoo
Post by: SplinterGU on September 13, 2010, 03:21:41 PM
don't really cool, but...

I thinking add 24bpp.
Title: Re: 32 bits Caanoo
Post by: Grew on September 14, 2010, 07:45:20 AM
When I try to display this image in a BennuGd prog on Caanoo (using 24bits mode):
(http://h.imagehost.org/0593/test_8.png)
I get that:
(http://a.imagehost.org/0709/test2.png)
(When I run my prog on my computer to display the image in 24 bits mode I also get this quality)

But when I display the same image using the Caanoo explorer, I get that:
(http://h.imagehost.org/0593/test_8.png)
Colors are correct.
Why?

(The image is saved in 24bits mode)
Title: Re: 32 bits Caanoo
Post by: SplinterGU on September 14, 2010, 10:48:38 AM
24bits in bennugd??? I don't think so...
Title: Re: 32 bits Caanoo
Post by: Drumpi on September 14, 2010, 11:49:59 AM
Maybe, your image is converted to 16bits internally, because bennu doesn't have 32bits color mode or 24bits color mode on wiz/caanoo.
Title: Re: 32 bits Caanoo
Post by: Grew on September 14, 2010, 12:11:01 PM
When I run my prog on Caanoo with set_mode(320,240,32); the compilation does not work (that's normal).
But when I run with set_mode(320,240,24); the programme works without any error.
Maybe the 24bits mode is not recognized like an error (and converted to 16bits internally, as you said Drumpi).
Title: Re: 32 bits Caanoo
Post by: SplinterGU on September 14, 2010, 11:13:49 PM
mmm... I don't know... maybe some functions works with 24bits, but I don't think that all works in 24bits...