Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 4,184 of 4,675    |
|    wolfgang kern to R.Wieser    |
|    Re: Line clipping w. Cohen-Sutherland -     |
|    10 Oct 20 12:16:35    |
      From: nowhere@nospicedham.never.at              On 09.10.2020 13:16, R.Wieser wrote:       > Wolfgang,       >       >> cannot see any sense in it either, perhaps just to explain what clipping       >> is to non-aware folks.       >       > Understanding what clipping is was the easy part.       >       >> my clip is in the final dot-drawer, so what's outside become ignored but       >> may delay the whole story.       >       > Thats what I've beein doing too. But at some point I saw sense in not       > going thru slews of dots that are not going to be displayed anyway, likely       > speeding up the drawing process itself. Especially as I wanted to be able       > to draw in a full 16-bit signed int range, while only actually viewing a       > small part of it.              Yes, me too once tried to gain speed by clipping before the draw, but       the additional checks took more time than a few not written dots.       My draw functions use 16 bit unsigned (left,top screen == 0,0).       __       wolfgang              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca