Re: rle sprites in neil
- Posted by Pete Eberlein <xseal at HARBORSIDE.COM> Nov 18, 1998
- 510 views
Stephen Kodat asked: > I was wondering if anyone could tell me what does "run-length encoded" > mean when applied to sprites, as in Pete Eberlein's "neil" library? Hey good question. I'll put it on the faq in progress... short answer: it compresses opaque pixels into strips and remembers the length and position of each... then each strip can be rendered with just the equivalent of mem_copy. Fast because it doesn't have to check for zero pixels each time. Laters, _______ ______ _______ ______ [ _ \[ _ ][ _ _ ][ _ ] [/| [_] |[/| [_\][/ | | \][/| [_\] | ___/ | _] | | | _] [\| [/] [\| [_/] [\| |/] [\| [_/] [_____] [______] [_____] [______] xseal at harborside.com ICQ:13466657 http://www.harborside.com/home/x/xseal/euphoria/