Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-04-2009, 01:13 AM   #1 (permalink)
iPhone Developer
 
Join Date: May 2009
Location: Pune, India
Age: 23
Posts: 65
Default mirror in iPhone

Hello everyone,
i am trying to create an image/application which will work as a mirror,
Anyone uses should be able to view their face as they see it in normal mirror. It should work under all normal condition as normal mirror works.
which technology i should use?
can i do it without OPEN GL?
can anyone have any experience regarding this?
which framework should i use to develop this application?
plz help.......

Last edited by AmitSrivastava; 07-04-2009 at 01:52 AM.
AmitSrivastava is offline   Reply With Quote
Old 07-04-2009, 01:52 AM   #2 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 401
Default

Quote:
Originally Posted by AmitSrivastava View Post
Hello everyone,
i am trying to create an image/application which will work as a mirror,
Anyone uses should be able to view their face as they see it in normal mirror. It should work under all normal condition as normal mirror works.
which technology i should use?
can i do it without OPEN GL?
can anyone have any experience regarding this?
which framework should i use to develop this application?
plz help.......
If I understand you right, you want to create an application, that will imitate a mirror. Well, I'd say - it's impossible

For a mirror to work you need a reflective metal surface and since the iPhone screen is not made out of metal, you will get no reflection. openGL or whatever you use to draw something to the screen doesn't make a difference here.
The best possible mirror on the iPhone (again, in my opinion) would be a black texture, since black is most reflective on the iPhone. On the other hand, one can achieve this effect much faster by turning off the iPhone

Sorry, can't help you on this one...
NewiPhoneDeveloper is offline   Reply With Quote
Old 07-04-2009, 02:46 AM   #3 (permalink)
ftm
FasterThanMonkeys.com
iPhone Dev SDK Supporter
 
Join Date: Mar 2009
Location: Southern California
Posts: 521
Send a message via AIM to ftm
Default

There are already at least 2 mirror applications in the app store ... they get HORRIBLE reviews. Someone decided to let you select a "frame" for your mirror and publish it is an app (since the phone kind of reflects).

Somehow it continues to sell even though it is rated like 1 or 1.5 stars overall.
__________________


Website: http://fasterthanmonkeys.com

iScore Baseball Scorekeeper Top baseball scorekeeping app for iPhone
Bug Squash Reached #1 kids game in 15+ countries including USA, now with OpenFeint
Jam Packed! Fun puzzle game for all ages
Jam Packed Christmas Holiday puzzle game!
iScore Basketball Scorekeeper Best basketball scorekeeping application
ftm is offline   Reply With Quote
Old 07-04-2009, 08:45 AM   #4 (permalink)
iPhone Developer
 
Join Date: May 2009
Location: Pune, India
Age: 23
Posts: 65
Default

Thanks for reply,
but i want to create this application for me only, just for fun..
i just want to check whether it is possible or not, and if yes then how?
i don't have any idea how can i create a mirror for iPhone,
if you have any idea, plz suggest me..
thanks in advance...
AmitSrivastava is offline   Reply With Quote
Old 07-04-2009, 11:41 AM   #5 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 788
Default

For yourself? That's very easy.

Get one of the case which flips open ($10?)
Glue a real mirror on the back of the flip cover ($2?)
johnqh is offline   Reply With Quote
Old 07-04-2009, 11:45 AM   #6 (permalink)
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: ¿La Islas Hermosas?
Posts: 1,420
Default

Fill the background with color 'kColorSilver', and be sure to call [UIView setReflectiveMode:YES].
__________________
piña para la niña interactive
Kalimba is offline   Reply With Quote
Old 07-04-2009, 11:47 AM   #7 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 788
Default

Quote:
Originally Posted by Kalimba View Post
Fill the background with color 'kColorSilver', and be sure to call [UIView setReflectiveMode:YES].
Those are private API's available only on OS 4.1.6.
johnqh is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,130
Threads: 38,899
Posts: 170,660
Top Poster: smasher (2,565)
Welcome to our newest member, HunBirk427
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:37 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0