iDevGames Forums
User pan/tilt/zoom image to fit in a mask.. How to? - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Design (/forum-5.html)
+--- Thread: User pan/tilt/zoom image to fit in a mask.. How to? (/thread-7893.html)



User pan/tilt/zoom image to fit in a mask.. How to? - BenoitLefebvre - Jul 25, 2010 02:43 PM

I want the user to be able to take a photo and fit it in a mask with pan/tilt/zoom.

What would be the good way to do that ?

Here is an example of what I am talking about: http://images.macworld.com/appguide/images/325/300/023/ss1.jpg

I'm sorry, I may not be expressing myself really well.. It may explains why I can't find anything searching google

Thanks,
--Ben


RE: User pan/tilt/zoom image to fit in a mask.. How to? - ThemsAllTook - Jul 26, 2010 08:40 AM

I think I see what you're saying. You want the user to be able to drag, rotate, and scale the picture underneath the fixed-in-place mask to center it as best they can, right?

This is more of a technical question than a design question, so aside from possibly moving this thread, we'll need some more technical details to be able to give a useful answer. Are you writing for the Mac or iPhone? Using OpenGL, Quartz, or something else for graphics? Is there a specific place you're stuck on the problem, or having trouble coming up with a general approach?