 |
 |
|
 |
07-04-2009, 01:13 AM
|
#1 (permalink)
|
|
iPhone Developer
Join Date: May 2009
Location: Pune, India
Age: 23
Posts: 65
|
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.
|
|
|
07-04-2009, 01:52 AM
|
#2 (permalink)
|
|
Registered Member
Join Date: Jul 2008
Posts: 401
|
Quote:
Originally Posted by AmitSrivastava
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...
|
|
|
07-04-2009, 02:46 AM
|
#3 (permalink)
|
|
FasterThanMonkeys.com
iPhone Dev SDK Supporter
Join Date: Mar 2009
Location: Southern California
Posts: 521
|
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.
|
|
|
07-04-2009, 08:45 AM
|
#4 (permalink)
|
|
iPhone Developer
Join Date: May 2009
Location: Pune, India
Age: 23
Posts: 65
|
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...
|
|
|
07-04-2009, 11:41 AM
|
#5 (permalink)
|
|
Registered Member
Join Date: Nov 2008
Posts: 788
|
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?)
|
|
|
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
|
Fill the background with color 'kColorSilver', and be sure to call [UIView setReflectiveMode:YES].
|
|
|
07-04-2009, 11:47 AM
|
#7 (permalink)
|
|
Registered Member
Join Date: Nov 2008
Posts: 788
|
Quote:
Originally Posted by Kalimba
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.
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 465 |
| 43 members and 422 guests |
| Alexman, andrei_c, BadgerDev, beit, benoitr007, boopyman, bravetarget, CHV, dave1619, Elegy, Eric 54, fede, firearasi, georgeburns, harrytheshark, HemiMG, ieasyproductions, iFizzgig, iisword, isley, Janek2004, jaywright00, jhaynie, jriskin, Lukapple80, muallin, myPhone, nobre84, peejavery, rdominelli, Rossco, rybek, Stan Edge, stlau, svjim, swnymor, taac16, Tambourin, Thaurin, TheKernal, tychop |
| Most users ever online was 779, 05-11-2009 at 09:55 AM. |
» Stats |
Members: 24,130
Threads: 38,899
Posts: 170,660
Top Poster: smasher (2,565)
|
| Welcome to our newest member, HunBirk427 |
|