Android :: Normal Maps Vs Normal Coordinates
Jul 10, 2010
I'm currently working with OpenGL ES 1.1 and using the DrawElements convention along with Vertex, Normal, Texture Coordinate, and Index arrays.
I recently came across this while researching the idea of using Normal/Bump mapping which I previously though impossible with OpenGL ES: http://iphone-3d-programming.labs.oreilly.com/ch08.html
I can generate an object-apace normal map already from my 3D modeler, but what I'm not completely clear on is whether or not the Normal coordinates array will be necessary any longer if implementing a 2nd texture unit for normal mapping, or will Lighting + Color Texture Combined with a Normal map via the DOT3_RGB option be all that is required?
EDIT - After researching DOT3 Lighting a bit further, I'm not sure if the answer given by ognian is correct. This page, [url] gives an example of it's usage and if you look at the "Rendering & Final Result" section bit of code, there is no normal array ClientState for Normal Arrays is never enabled.
I also found this post here,[url] which explains it well... but leads me to another question. In the comments, it's stated that instead of translation of normals, you translate light direction. I'm confused about this as if I have a game with a stationary wall... why would I move the light around just for one model? Hoping someone can give a good explanation of all of this...
View 2 Replies
Oct 16, 2010
Is there any way to have the phone show me if it's a GV call as opposed to a call to my cell number? My hope was to put my GV number on my resume and be able to tell if it was an employer calling. But so far, in my tests, I can't tell if the inbound number called my GV or my cell.
View 7 Replies
View Related
Feb 9, 2009
Is it possible at this time to get normal mapping to work on android? I'm asking because it would involve the use of GL_DOT3_RGB, which is in the GL11 specs, not GL10. But GL11 is indicated as not completely supported.Is there an official list of GL11 features that do not work, or is it simply unstable and I should just avoid it for now?
View 2 Replies
View Related
Sep 2, 2010
I can't get used to the texting app that comes on the Epic 4g. It uses thread format which I can't adjust to. I would like to have normal text messages where I can reply to one or start a new one. Can anyone help? Is there a diff app I could use?
View 10 Replies
View Related
Oct 6, 2010
I keep having this minor problem when usin msn talk on my galaxy s, nothing really big but anyhow. When I log in with my phone it changes my display name to something that I can change on my phone, but because I can't get any really special characters to work (well actually just one, D with a stroke) I can't get the same name on my phone as my normal msn on computer has. Okay well I could live with that, but when I log off from my phone it doesn't revert the change but it changes the display name on my computer's msn too! It gets really annoying to change my display name every single time I log in with my computer. And it does the exact same thing with my personal message. So the question is, can this be prevented in any way? ps: does anyone know how I can get that stock sms app to mark every sms as "read" when I've responded?
View 1 Replies
View Related
Nov 27, 2009
I'm using the default camera API of Android 1.6 like this:
Intent photoIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); photoIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File (Environment.getExternalStorageDirectory(), "test.jpg"))); startActivityForResult(photoPickerIntent, 1);
But the image is saved on very low resolution 512 x 348. I added the QUALITY property but it doesn't make sence: photoPickerIntent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1); There are many more posts on the internet talking about this issue but there's no solution (jet). Is it solved on 2.0??? I realy need the high resolution image (3MP).
View 5 Replies
View Related
Jun 3, 2010
How can i start a Mapactivity from a normal Activtiy?
View 2 Replies
View Related
Dec 27, 2009
Whenever I receive and read an email though my phone's gmail application, it does not show up having been read in my online gmail inbox. But if I archive the message from my phone, it shows up having been archived from my online inbox. Is this normal? I'd like to be able to keep an email on my phone rather than having to archive it right away.
View 1 Replies
View Related
Aug 24, 2010
My battery almost died after 6hrs unplugged, made 1 phone call, checked FB and email once. What happened? I have the incrediable, I had a full charge when I left at 7am, around 1 something my phone almost died. I had nothing running in the background
View 6 Replies
View Related
Aug 5, 2009
if i use more then 4 tabs in the tabhost, they get to small to use with your finger.i like to scroll to the tabs, but no scrollview or set the tabhost to a scrollcontainer will solve the problem!
View 3 Replies
View Related
Oct 6, 2010
I see a ton of results when searching for how to open the camera, and get the returned image. What about simply opening the camera app without any return at all? I just want the camera to function as normal.
View 1 Replies
View Related
Nov 16, 2009
I don't really like the lock screen for the Sprint Hero and I was wondering if there was a way to get rid of it and use the normal Android lock screen I have looked around but I can't seem to find any info about how to do this or if it's possible or if I would need root access to change something like this
View 1 Replies
View Related
Mar 30, 2010
I'm new to Android and just starting the very basics. I implement my custom button skin using .9.png images for norma/focus/pressed states. It works fine, but I noticed that after a pressed the focussed button it visually "lost" focus and draws the normal state frame. I planned to use different state images to highloght what button is selected right now, but it seems that it would not work. I noticed also that the same happens with the default LAF button. Is it OK, or it's just emulator issue? What the good workaroud can be used?
View 2 Replies
View Related
Aug 2, 2010
I need to play mp3 at 1.4 (or other) times the normal speed. How can I do that?
View 1 Replies
View Related
Mar 15, 2009
When you pick up the call and switch the screen to MediaPlayer to play an audio, it is able to be heard from handset (receiver). Thus, you can hear the far-end voice and your local music at the same time. Is it a normal behavior? Android seems not to have the mechanism to let Mediaplayer to remember its status (to keep music pause or mute?) in the phone call. Or this is a normal design for notification sounds, such as a call- waiting sound? Is it possible to have an secondary gain feature like windows mobile in the future?
View 7 Replies
View Related
Nov 15, 2010
Just wandering, I'm the UK and apps are listed in Dollars?
Is this normal or is there a way to get it in pounds, just bought an app but might refund if its going to cost extra?
View 9 Replies
View Related
Nov 3, 2012
Is there any way to emulate an android froyo with normal kernel and everything a normal android phone has? Including a market and recovery mode. I want this mainly because I feel terrified by the thought that I might brick my phone flashing a custom rom and I am a beginner so I never tried anything complicated with it. So before I try anything over my phone I want to try this on an emulated phone.
View 9 Replies
View Related
Jun 8, 2010
So last night my wife was looking at a picture off of a website on my phone, and accidentally hit the home button. This normally should not be a problem, but the display started acting up. The display is darker than normal, it flashes, and it has white lines that run the length of the screen. After playing with it a few minutes it goes back to normal. It is acting like it should right now, but it did this last night but started acting up again. I did a hard reset last night and it did not help. If it starts up again it is going back to wally world.
View 7 Replies
View Related
May 26, 2010
Just got my Desire and LOVE IT!! But, one small problem, when I get a call the screen goes blank, almost as if it goes to sleep - and it won't wake up by pressing the 'on' button!!
Is it normal for the screen to go off?
View 9 Replies
View Related
Aug 27, 2010
I have some code in the onCreate method an Activity and noticed that it is being called three times. Is it normal behaviour?
View 1 Replies
View Related
Feb 19, 2010
So i was wondering if its possible to for an application that i would write to be constantly running in the background and alter regular phone operations. For example this could be something like as soon as you receive a text from anyone you forward it automatically to another number. Is something like this at all possible? Just to be clear I don't want to solve that particular problem through some other means, just want to know if apps can accomplish that. Also if that is possible is it possible for an app that i write to alter more immediate and instant things, like an incoming call.
View 1 Replies
View Related
Dec 11, 2009
How to convert numbers from exponential to normal form in Android?
View 1 Replies
View Related
Jun 23, 2010
If I popup input method with togglesoftinput,my view's onCreateInputConnection was not called, and i can not communicate with input method.
And then i try to attach the input method to my view...
but it returns false
How can I force onCreateInputConnection to be called?
or
How can I make mServedView == view ?
View 1 Replies
View Related
Jul 15, 2010
When you're making a call with a speaker near a mobile phone, you hear noises resulting from electromagnetic stuff, in the speaker. The problem is that I hear such noises in my headset. It appears as not normal, and also happens if I have the headset at the maximal distance from the mobile phone.
Is there somebody having the same problem as me? How to solve this? Is it normal?
View 9 Replies
View Related
Feb 13, 2014
Ok so for some reason my battery just started going dead faster than normal. This is a slow days use but look at the attached pic
View 8 Replies
View Related
Aug 4, 2010
i have launcher pro on my evo and when i change my icons to the custom icons i put on the phone after a little bit they all go back to the original grey icons except for my email one. Does anyone know whats going on here? Also i cannot change the way the normal icons look. No matter how long i hold down the icon the only thing that hapens is it gives me the option to put it in the trash can.
View 6 Replies
View Related
Jan 6, 2010
I hate musical ringtones, is there anywhere I can get just plain ringtones so I don't look like an idiot when my phone rings in public?
View 7 Replies
View Related
Jun 19, 2010
What do you guys prefer? i have found some amazing home screen set ups, mine stinks i have the live aquarium which is cool but hten the standard clock/weather and a few widgets. i have beautiful widgets but i dont find it to be that great. anyways, what wallpaper do u guys generally prefer. i havent found many great live wps but i also havent found a site with good normal wps either, relative to the stuff people who have sick home screens have. also, for my normal wps that i download, they come out super expanded on my home screen. i got the joker/dark knight wp and it comes up expanded on my home screen, same with other wps i pick despite the 640x480 set up.
View 2 Replies
View Related
Apr 9, 2010
Just dialed my network operator to listen to how much credit i had on my phone, but when i tapped on 'end call' the phone did not end the call, eventually i had to switch the phone off. It happened a second time too but seems to be okay now.
Is it something i should be concerned about, or is it quite normal, or maybe it's happened to one of you as well.
View 2 Replies
View Related
Aug 26, 2010
Is this normal? My battery hasn't lasted more than 7 hours of light use lately.
View 6 Replies
View Related