Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari demoscene BBS
 
Re: Line Rout
Posted by: Kalms Sep,14.2011-23:12 

It should be reasonably quick with shorter lines as well; the performance target was lines of 30-50 pixels in length.

There is about 400 cycles of setup, before the routine enters any loops.

It uses DDA for the stepping and has pregenerated code segments that render 16 pixels at a time; the last modulo-16 segment is rendered with loop iteration and conditional logic for each pixel.

(The last modulo-16 segment can be sped up by pregenerating more code segments, but I didn't think it was worth the implementation time & extra memory cost when I wrote the routine.)







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Line rout Chuck Sep,08.2011-18:49
  Re: Line rout ggn Sep,08.2011-21:14
    Re: Line rout Chuck/Dune Sep,08.2011-23:21
    Re: Line rout Leonard Sep,09.2011-11:47
      Re: Line rout Mr.Styckx Sep,09.2011-18:24
        Re: Line rout chuck Sep,09.2011-22:31
          Re: Line rout ggn Sep,10.2011-15:57
      Re: Line rout ggn Sep,09.2011-19:55
        Re: Line rout Simon Sunnyboy / Paradize Sep,11.2011-16:58
          Re: Line rout rudis Sep,11.2011-17:58
            Re: Line rout Simon Sunnyboy / Paradize Sep,13.2011-14:18
      Line Rout Defjam Sep,10.2011-20:45
        Re: Line Rout Chuck/Dune Sep,11.2011-01:09
          Re: Line Rout Kalms Sep,13.2011-22:42
            Re: Line Rout Defjam Sep,14.2011-18:38
              Re: Line Rout Kalms Sep,14.2011-23:12
  Re: Line rout RA/pdx Sep,09.2011-23:35
    Re: Line rout PeP Sep,10.2011-20:14
      Re: Line rout Marcer Sep,10.2011-23:16
        Re: Line rout baah Sep,12.2011-10:23
          Re: Line rout baah Sep,12.2011-10:27
            Re: Line rout Chuck Sep,21.2011-21:36
              Re: Line rout Kalms Sep,22.2011-22:13
                Re: Line rout corbo Sep,23.2011-01:11
                  Re: Line rout corbo Sep,23.2011-01:12
                  Re: Line rout evil Sep,24.2011-11:04
                    Re: Line rout Kalms Sep,26.2011-20:54
                      Re: Line rout corbo Sep,27.2011-19:33
                        Re: Line rout Kalms Sep,28.2011-14:46
                Re: Line rout Chuck/Dune Sep,24.2011-17:28
                  Re: Line rout baah Oct,03.2011-19:27
                    Re: Line rout Kalms Oct,03.2011-23:58


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson