Add this to the program: CIRCLE (90, 229), 3, 5 This is the point where the line between the eye and the star crosses the screen. Basically you need to find the co-ordinates of this point, after being told the co-ordinates of the star. The diagram is a side-view of the situation. The red line is the Z axis. The Y axis points upwards from the Eye. The X axis cannot be seen, and any points that share the same X co-ordinate are "flattened" into one. For instance, the screen itself has been squashed; you can tell how high the purple point is on the screen, but not whether it is on the left or right side of the screen. If the centre of the screen is (0, 0, 1) then the length of the vertical blue line is q! The distance along the red line from the eye to where the red line meets the green line is z. The length of the vertical green line is y. See if that gets you anywhere. |
| Response Title | Author and Date |
| RE | Ben on Mar 16, 11:34 AM |
| Actually... | on Mar 16, 3:46 PM |
| Correct? | Ben on Mar 23, 1:19 PM |
| * RESUME WHAT? You already tried to END it. | on Mar 23, 2:30 PM |
| Wait... sorry.. | Ben on Mar 23, 3:45 PM |
| *Good job! | on Mar 23, 3:56 PM |
| * How far is the eye from the monitor? | Ben on Mar 25, 1:33 PM |
| Just pick something that looks realistic | on Mar 25, 2:46 PM |
| Getting a lot better! | on Mar 23, 3:51 PM |