Cocos2d-x: Triangle painting code using OpenGL ES2.0 - opengl-es-2.0

Dye can come out of a rectangle is cocos2d-x each rewrite draw will appear by default rectangles, Mody?
Code download From Thanks in advance.
http://pan.baidu.com/share/link?shareid=1687059334&uk=3238029663

http://pan.baidu.com/share/link?shareid=1687059334&uk=3238029663
code download code download code downloadcode downloadcode downloadcode downloadcode download

Related

Line tracing (tracking) of a moving image in QML

my problem is that I need to write a code in QML that tracks how planes are moving on a map. I got everything ready except the tracking part.
I need this blue line:
Any suggestion or any documentation that would help? Thank you!

Touching transparent part of Sprite

I am using SpriteBuilder with Cocos2d v3.4
I need to detect touch on sprite ignoring touch in transparent place of CCSprite's bounding box.
I found few solutions (Physics Body, CGPath), but actually detecting transparent pixel seems the best solution.
I tried to use THIS but it is very old solution and not working anymore.
Could someone help me how to achieve this?
Try to create 2 CGRect on the sprite and detect touch only on these rects

How to make a drawing canvas with Mouse Drag in windows phone

Any Suggestions or guidance will Help. How to create a drawing canvas in a windows phone Application.
Like the pencil tool in Paint. is it possible. A logical Expression will also Help.
See i Cant code the entire thing But here's a link that might help Go through it carefully.
Drawing on canvas windows phone
Let me know if any confusion

Generate QR Code with a bigger background view

I want to generate some QR Code with a bigger background view, does somebody know is there an open source project can directly generate this image or can add background view to my completed QR code. Thanks a lot!
Libraries generate a matrix, not an image. Some do make JPEGs, but I don't think you can specifiy the size of the background.
The border you're talking about is the quietzone, it should be 4 modules wide. Denso Wave used to indicate that in its website but I can't find much more that this: https://www.denso-wave.com/en/adcd/QRdeCODE/product.html. Yet, the specifications are clear about it.
You could use a library such as ZXing or QrCode.net and make the image yourself.
You can find many more information on this QR Code White Book.

OpenCV cvFindContours questions

I'm following this guide: http://www.aishack.in/2010/08/sudoku-grabber-with-opencv/2/
and modifying to iOS 5.0.
I managed to find the largest contour (the sudoku "board"), however, it only locates the surrounding square, without the lines inside, as in the tutorial. can this be easily solved?
I'll try and find a way around it, but still would like to know. thanks!
I assume that you are using the camera right now. Try to load the image what is used in the tutorial and check if your implementation works on that image. Then you can continue with nice sudoku images from the web. You may also change the camera angle and distance from the sudoku when taking pictures to get a better, clearer view.