Re: [android-developers] OpenGL and Camera Preview - blending together gets “over saturated” color

2012-08-08 Thread Tobias Reich
, Tobias Reich tobias...@gmail.comjavascript: wrote: I'm working on a new Galaxy S3 and found a problem that didn't occur on other phones like my old Galaxy S1 or the Galaxy S2 - which has almost the same GPU as the S3. When drawing my OpenGL models on top of my camera image like this: mGLView

Re: [android-developers] OpenGL and Camera Preview - blending together gets “over saturated” color

2012-08-08 Thread Tobias Reich
Alright. I got it. Now it works. I simply didn't multiply the values! Man, you helped me a lot! Really! How can I thank you for this??? I was working on that problem for... ages! It doesn't explain why it worked perfectly fine on older machines nor does it explain what to do in OpenGL 1.0 but at

Re: [android-developers] OpenGL and Camera Preview - blending together gets “over saturated” color

2012-08-08 Thread Tobias Reich
So than it was just pure luck it worked fine with all the previous versions? What changed? Why can't it just be like it was before? I mean, its okay now and not really a big problem. - even though I don't know where I could have seen that information in the API. Thanks anyway! -- You received

[android-developers] OpenGL and Camera Preview - blending together gets “over saturated” color

2012-08-07 Thread Tobias Reich
values. Is there any way of clamping both values together since in the Shader I can only clamp the actual rendered fragment somehow without asking for the camera preview values. :-( Thank you very much! I hope it is not a severe problem, Tobias Reich -- You received this message because

[android-developers] Re: OpenGL ES on Camera Preview

2012-08-07 Thread Tobias Reich
Huh, sorry, might be that I made a mistake when compiling. Please try it again. Do you have a Galaxy S3? And there are no distortions in the lower grey area? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: OpenGL and Camera Problem

2012-08-07 Thread Tobias Reich
Huh, that is strange. So it worked and than it crashed? And it looks like it was crashing at the setParameters(); That is a place where it shoudln't crash at all!! Which Android Version do you have? Did you take the complete project? So there is no mistake in the Manifest (e.g. for the Camera