开发者

Most efficient method for hand drawing and user input in XNA

We've been working on a digital drawing system using XNA for display and using the Kinect as an input device. Right now we can use a variety of inputs to detect when a 开发者_StackOverflowuser wants to draw to the screen or manipulate objects, but I've hit a bit of a wall in displaying and sending the user input to the other networked systems.

Right now, we break up user input points into line segments (Vector2 and thin Rectangles) and draw those segments (sometimes of very small lengths) to the screen and send them to the networked tables. Unfortunately, this method doesn't exactly match what the user draws to the screen and we're getting bad quality with things like hand writing.

I've looked into SVG a bit but don't think thats the way to go, although I'm fairly confident that some sort of vectorization is the correct course of action. Does anyone have any experience with hand drawing in C#/XNA and can give some recommendations?


Smooth your input lines with Bezier curves. Hopefully that should make the text readable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜