The lines tag has no wiki summary.
-4
votes
2answers
127 views
3D curve representation which most easily projects to 2D [closed]
I would like to know the best representation of 3D curves for my application. The application works as follows:
A virtual scene is represented as wire mesh, with lots of 3D curves (some of which are ...
3
votes
4answers
380 views
XNA 2D Spritesheet drawing rendering problem
I'm making a tile-based game, using one spritesheet containing all tile graphics.
Each tile has a size of 32x32 pixels.
The main problem is: when I draw the tile to the screen, if the tile position x ...
2
votes
1answer
131 views
How do I draw a dotted or dashed line?
I'm trying to draw a dashed or dotted line by placing individual segments(dashes) along a path and then separating them. The only algorithm I could come up with for this gave me a dash length that was ...
13
votes
3answers
320 views
How do you calculate the nearest point on 2 curves?
Given the points of a line and a quadratic bezier curve, how do you calculate their nearest point? .... Similarly, given the points of 2 curves, how do you get the nearest point?
8
votes
2answers
284 views
How do you calculate if 2 lines are facing toward or away?
Given the 4 points describing 2 line segments, how do you calculate if line A is towards or away from line B?
The 2 lines have a fixed length, and can be measured as distance from x1/y1 to x2/y2.