I just started with opengl/Android programming. (previously i worked with C# and XNA...)
I made my first Triangle, but i can't apply a perspective view.
I tried to find an example, but that's there are too much differences.
Orthographic view has worked for me with this:
But not in 3D.Code :gl.glOrthof(0,1,0,1,0,1)
I thought that will work, but it didn't:
In my mind that should define a coordinate system with the origin at the bottom left corner of my device, and the upper right color as (1/1). (Like in the Orthographic view.)Code :gl.glFrustumf(0,1,0,1,0.01f,100.0f)
And it should show all between 0.01f and 100.0f.
But it doesn't, so why?
And sorry for my bad english.
If there are any language failures in my text, tell me them.