Mail Archives: djgpp/1998/10/10/16:06:33
On Sat, 10 Oct 1998 01:56:09 LOCAL, ranla AT post DOT tau DOT ac DOT il (Tal Lavi)
wrote:
>My ray-caster needs only to draw vertical lines in a 16bpp mode. This,
>ofcourse, makes it hard to write a dword in a time.
>
>I have succeeded in rewriting the engine so that he'll calculate two
>vertical scan-lines at once, so they could be drawn on the screen at
>once(I have not calculated each one dependendly, stored them, at then
>drawed them, but actually calculated both simultaniusly).
>
>I am calculating every two CONSECUTIVE veritical scan-lines at once(0&1, 2&3,
>etc..), which means that every dword that is written in dword-alligned to the
>beginning of the LFB.
>
>To my disapointment, I haven't gained ALLOT more speed, rather than just
>some.
>
>Does anyone has a clue about what could have gone wrong? according to my
>calculations, I should have gained X8 speed.
>My guess(which is very improbable), is that the beginning of the LFB is
>not DWord alligned. Can this be true?
>
>Please, don't tell me to post my code, it's much too complicated, and it
>won't do any good.
>
> Virge ranla AT post DOT tau DOT ac DOT il
Then how are we supposed to help you if we can't see what the problem
is?
- Raw text -