From: | Thilo K�hler |
Date: | 6 Jul 2001 at 13:33:20 |
Subject: | Re: GFX cards... |
Hello Pekka
> WBlit 0,160,128 ;Blit the shape
> --------------
>
> Doh! It still does nothing. :( It opens the screen ok but I can't see no
> shape on the screen. Have I done something wrong? BTW, I thought that
> WBlit command was used to blit shapes to the windows and not to the
> screens?
Oh sorry, I forgot that you didn`t open a window. For WBlit, as the "W"
says,
you have to open a window.
[...]
OK, I see your problem.
On Amiga native screens the bitmaps are
organized in "planar" bytes, on most graphiccards
they are organized in "cunky" bytes.
So you can not blit or manipulate bitmaps directly
as you don`t know its structure. (That`s why there was
only trash when you used the old hacky blitzcommands
that rely on a "planar" bitmap)
And that`s because Cybergrapics and Picass96 exist.
They provide an interface between your application and the
graphiccards. If you want to manipulate a bitmap
you have to use their functions. Most of the
functions are found in the graphics.library,
some additional functions in the cgxsystem.library.
Check out their functions. But be warned,
it is not so easy especially if you have not
much experience with intuition and graohic.library.
btw. opening a backdropwindow with the full screensize
(except the title bar, otherwise you can not cycle the screen
anymore !) can solve many problems, because most
of the blitzcommands are for use with windows.
Ciao,
Thilo
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie