I can't figure out what I'm doing wrong.
I think it might have to do with the colors you are using. You clear
the screen with (0,0,0,1) and you draw with Colorado (0,0,0,1).
Things may be working right, but you just can't see them.
-clark-
--
You received this message because you are
On Sat Jan 21, 2012, ScheffsBlend wrote:
I can't figure out what I'm doing wrong.
I think it might have to do with the colors you are using. You clear
the screen with (0,0,0,1) and you draw with Colorado (0,0,0,1).
Things may be working right, but you just can't see them.
onDrawFrame is
On Jan 21, 2012, at 7:43 PM, Thomas Fjellstrom wrote:
On Sat Jan 21, 2012, ScheffsBlend wrote:
I can't figure out what I'm doing wrong.
I think it might have to do with the colors you are using. You clear
the screen with (0,0,0,1) and you draw with Colorado (0,0,0,1).
Things may be working
Could it be a missing modelview matrix? You're drawing everything at z
of zero, and not specifying a model matrix. Maybe that means that the
eye is sitting right where you're drawing. Try scrolling out a bit in
the model and see if that helps.
Also, if you're drawing in 2d, why are you
On Sat Jan 21, 2012, Harri Smått wrote:
On Jan 21, 2012, at 7:43 PM, Thomas Fjellstrom wrote:
On Sat Jan 21, 2012, ScheffsBlend wrote:
I can't figure out what I'm doing wrong.
I think it might have to do with the colors you are using. You clear
the screen with (0,0,0,1) and you draw
On Sat Jan 21, 2012, Christopher Van Kirk wrote:
Could it be a missing modelview matrix? You're drawing everything at z
of zero, and not specifying a model matrix. Maybe that means that the
eye is sitting right where you're drawing. Try scrolling out a bit in
the model and see if that helps.
Check this tutorial
http://developer.android.com/intl/zh-CN/resources/tutorials/opengl/opengl-es10.html
In addition there is class RectF. And it is a bad idea to allocate
objects in render method.
Do you have calls to GLSurfaceView.onPause and GLSurfaceView.onResume
in your Activty's onPause and
On Sat Jan 21, 2012, Alexander Mikhnin wrote:
Check this tutorial
http://developer.android.com/intl/zh-CN/resources/tutorials/opengl/opengl-e
s10.html
In addition there is class RectF.
I bet it doesn't come with a render() mehod ;) This code is really just a
proof of concept to get the GL
8 matches
Mail list logo