3DWorld (8/293)

From:Hans-Joerg Frieden
Date:2 Apr 2000 at 21:31:41
Subject:Re: Problem with Warp3D in a window

On Sun, 2 Apr 2000, Denis 'Troll' TROLLER wrote:

> I'm new on this mailing-list and I have a question about Warp3D. I'm
> trying to make it work in a window, but I'm unable to allocate a valid
> CyberGraphics bitmap for Warp3D to draw into. I've tried a simple
> AllocBitmap() with my window bitmap as a friend BitMap but it doesn't
> seem to work.
>
> Could anoyone help ?

You have to specify BMF_DISPLAYABLE|BMF_MINPLANES as flags, otherwise
the bitmap will be allocated in system memory (still in friend format,
but not much help..)

Don't forget to use ClipBlit to copy, otherwise you might trash other
layers.

Regards. Hans-Joerg.



Hans-Joerg Frieden | "Just a few miles west of Crazy,
HansJoergF@hyperion-software.de | a stone's throw away from Tear,
http://www.hyperion-software.de/ | Oh so close to Normal,
Private: hfrieden@uni-trier.de | But I can't get there from here."
(including Warp3D, ADescent, Abuse) | Lisa Brokop, "West of Crazy"