Hi, being addicted to the minimalist and very well made Colors on the nintendo ds, I did set my mind on creating a similar app for windows for my own use, using open gl render to texture to make it FAST and FLUID.
My prototype works quite well so far ( blit is fast ), but I use sdl for input, and the events I get from the tablet ( as a mouse ) are not regular enough for smooth painting .
What api do you use to get wacom tablet input ? It's supposed to be 200+ events a second from the hardware spec on wikipedia, but I can't find any devkit/dev info on wacom's site .
Cool. Paint apps are fun. I hope you get somewhere with it. Please share some screenshots or other info once it's presentable.
I can't remember where I got the code, I'd assume it was from Wacom. Maybe there was a slightly unofficial dev subpage involved. Googling 'wintab' should help.
The sample rate is configurable, iirc, and I actually use quite a low rate. It doesn't matter a whole lot as long as it's regular and has a predictable timestep without sudden halts or jumps. For reducing the polygonal look of linear interpolation between adjacent sample points, I recently added bezier-based interpolation for the stroke line. There's some cryptic info written about it on my main news page. It works really well with the tablet, but less so with mouse since the timing is more jittery.
Actually, now that I think about it... I probably use regular mouse messages even with the tablet, but the driver delivers samples/messages at a much more solid rate than the normal mouse driver. So you should get this benefit even without specific tablet interfacing. Just add good path interpolation and it should work well.
I could upload my tablet wrapper code somewhere if you have trouble getting it working (if you really want to go for it, with pressure sensitivity etc). There's some weirdness, but you should be able to find some simple examples to start from.