Re: mathmatical question - to Ralf
- Posted by Ralf Nieuwenhuijsen <nieuwen at POP.XS4ALL.NL> May 31, 1997
- 768 views
> 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