I开发者_高级运维 have a high speed camera that I am displaying in a WPF control. The camera\'s SDK provides me with an array of bytes representing the image data. I\'m looking for the most efficient w
How would you go about mapping mouse coordinates to world coordinates in a 2d context? For example, you have an image which you can drag. Next, you apply a rotation to that image and redraw it. Now
The code below is my attempt at triangulation. It outputs the wrong angles (it read a square\'s angles as 90, 90. 90, 176) and draws the wrong shapes. What am I doing wrong?
Please look at this peice of code :- #include<stdio.h> int main() { int arr[2][2]={1,2,3,4}; printf(\"%d %u %u\",**arr,*arr,arr);
I can easily draw the projection of a 3D set of points onto the plane with normal vector (1,1,1), by using the matrix
Hey, I\'m trying to take a simple image, something开发者_如何转开发 like a black background with colored blocks representing walls. I\'m trying to figure out how to go about starting on something like
Although the context of this question is about making a 2d/3d game, the problem i have boils down to some math.
in my app I have 49 points with x,y and I wnat to display them on the screen. I\'ve seen a lot of library that can help me (cor开发者_如何学Goe plot, s7graphview, etc.). But since I\'m doing very basi
I haven\'t programmed in a while, and have kind of l开发者_StackOverflow中文版ost interest, but I want to get back, and I\'ve enjoyed C# the most, a lot more than objective-c and visual basic. So I wa
I have the coordinates (x,y) of 2 points. I want to build the third point so that these 3 po开发者_运维知识库ints make an equilateral triangle.