I have jpeg images on 2d planes, which are contained in a first-person 3d game. I want on a mouse-event for the image on these planes to fill the player’s field of vision, become fullscreen, etc. Image sizes and hence plane sizes are variable, however, so there’s no one set of dimensions that I can expect a player to be clicking on. Put another way: say the player walks by a poster or a placard on a wall-- I want the player to be able to click on the placard, and have the placard become a larger image on the end-user’s screen so that the player can see it more clearly rather than have to position themselves in a potentially awkward way. I don’t need scrollbars or anything like that-- just that basic zooming.
I apologize if this is a very basic concept, but I can’t seem to figure out a way to search for this tonight.