Drawing application on OpenGL for iOS (iPad)

Posted by Alesia on Game Development See other posts from Game Development or by Alesia
Published on 2012-10-05T09:31:38Z Indexed on 2012/10/05 9:50 UTC
Read the original article Hit count: 199

Filed under:
|
|

Some help is needed. I'm developing drawing application on OpenGL (deployment target 4.0) for iOS (iPad). We have 3 drawing tools: pen, marker (with alfa) and eraser. I draw with textures, using blending in orthographic projection. I can't use z-ordering because in this case I have to face a lot of troubles with cutting and erasing. The thing that I need is to make the pen be always on the top. When I first use marker and than pen - it's ok. But if I use pen first and marker over the pen - I can't see pen color under marker. I'd appreciate any help or advice. Thank you veeeeeery much!

© Game Development or respective owner

Related posts about opengl

Related posts about ios