I've the following problem:Let the camera opening angle be $\frac{3}{4}\pi$ and the window be $15 \times 15$ pixels large. Which pixels does the midpoint algorithm (without anti-aliasing) set for the line from $p_1 = (1, 1, 4)$ to $p_2 = (2, 1, 1)$, given in global coordinates?My question are:Why is the detail that the points are given in global coordinates important? Could the points be given in local coordinates? If yes, how would they would look like? How would that affect the answer?What would that mean local coordinates in this case?I think I understood what are local coordinates, i.e. coordinates of an object given with respect to a local system to the object. I think that global coordinates at the end are just local coordinates with respect to the camera or the viewer. Am I right?Note: I'm not asking you to solve the problem, i.e. telling me which pixels are set, maybe I'm going to ask another question regarding that.
Points of a line given in global coordinates to calculate the pixels that are set using the midpoint algorithm without anti-aliasing
antialiasing;rasterizer;midpoint