We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am a long-time Java programmer, but very new to Processing. And I have what I suppose to be a very rudimentary question.
If I use Processing's camera (or peasycam) to "look at" a shape, the appearance of the screen can change radically. Shapes appear to have moved, but I think that they really have not. All I've done is change my perspective on the scene.
Is there a way to somehow "re-map" the coordinates of the shapes after changing perspective by means of the camera? Here's an example of what I mean:
In fact, if instead of (d), I click on the empty place where the shape used to be (before step (b)), my code reports that I've clicked on the shape.
I'd like to be able to continue clicking on any shape, regardless of where the camera is positioned, and still be able to identify it by means of its apparent X,Y location in relationship to the mouse.
Thank you for your help - and patience.