[simpits-tech] Falcon4 Data
Frank Riedel
simpits-tech@simpits.org
Thu, 13 Feb 2003 22:16:39 +0100
Hey there Stig and Erwin.....
Keep Up the the work here, maybe we can come to a BETA version ;o)
all the best
Frank
----- Original Message -----
From: "Stig Joergensen" <stig.joergensen@clearsky.dk>
To: <simpits-tech@simpits.org>
Sent: Thursday, February 13, 2003 6:22 PM
Subject: RE: [simpits-tech] Falcon4 Data
> Erwin,
>
> I agree with your "feeling"... but atleast it can be done in the current
> state and dont require DXxxxx
>
> and from a coding point of view, i might not be that hard.....
>
> <delphi language on>
> TMetaData = record
> cmd : integer;
> color : TColor;
> case integer of
> // Line Data
> 1 : StartX : integer;
> StartY : Integer;
> EndX : Integer;
> EndY : integer;
> // Bitmap data
> 2 : StartX : integer;
> StartY : integer;
> Width : Integer;
> Height : integer;
> Raster : Pointer;
> end;
>
>
> RenderThis(surface, mycallback)
>
>
> and render this is now declared as
> TRenderProc = procedure(surface : TSurface; Data : TMetaData)
> RenderThis(surface : TSurface; RenderProc : TRenderProc)
>
> and in the RenderThis every time a drawing routine is called just do
> this... (im using "line" as an example)
> if assigned(RenderProc) then
> begin
> Data.cmd := 1;
> Data.Color := DXColor;
> Data.StartX := xpos;
> Data.StartY := ypos;
> Data.EndX := xpos;
> Data.EndY := ypos;
> RenderProc(surface,Data)
> end;
>
>
> and then in the call back routine, you could just write the data to a
> named pipe with simple io calls....
>
> </delphi>
>
>
> But i might just be dreaming......
>
> /Stig
>
>
>
> > -----Original Message-----
> > From: Erwin Neyt [mailto:rwntn@hvv.nl]
> > Sent: 13. februar 2003 12:24
> > To: 'simpits-tech@simpits.org'
> > Subject: RE: [simpits-tech] Falcon4 Data
> >
> >
> > Stig,
> >
> > It's just a feeling, but I expect that to be a lot of data.
> > Sending that at
> > a acceptable frame rate would be quite intense, I guess.
> _______________________________________________
> Simpits-tech mailing list
> Simpits-tech@simpits.org
> http://www.simpits.org/mailman/listinfo/simpits-tech
> To unsubscribe, please see the instructions at the bottom of the above
page. Thanks!