Loading...
Logo
Processing Forum

Make zoom of an object

in Programming Questions  •  3 years ago  
Hi friends, I'm gonna explain my little problem (hugh problema for me). I have a sphere and beside that a tag called "earth". I wanna make a zoom over this and it works, but my tag grows too with that zoom and I only want a zoom of my sphere and not over my tag. How can I make it? How can I make only zoom over my sphere leaving my tag without that? Thanks in advance.

Replies(3)

Watching "pushMatrix" and "popMatrix" in the reference may help
I've been trying and it doesn't work, If it could help my zoom is with a camera. But anyway thank you very much for your reply.
The camera zooms by getting closer of the sphere (and the tag). If you want to keep your tag small, make the sphere closer of the camera, leaving the tag in place, or reduce the size of the tag. If you are in 3D, think in 3D.
Now, perhaps the tag can be put on a plane at constant distance of the camera (well, that's "move the tag along with the camera", third option).