Re: mathmatical question - to Ralf

new topic     » goto parent     » topic index » view thread      » older message » newer message

> However, i think the detection for multiple(plural) polygons (as you said)
> is not possible when they are overlaped, since the color of underneath
> polygon is simply erased by top polygon, make it impossible to read the
> color of underneath polygon....

        Simple, if you keep a sequence of the screen in memory, you can poke
it to the screen, and only the last 8 bits of each value are just, so
do your drawing in a sequence and add 256 for each polygon, on the
screen it will have the colors you want and in memory it
automiatically has a special image where you can check polygons very
quickly!!!

Ralf Nieuwenhuijsen
nieuwen at xs4all.nl

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu