hello everyone,
I am developing a 3d Application using OpenGL ES for Pocket PC , I need to display 2d button images on the screen. can any one show me some sample code or some other usfull links were i can get them…
Thanks a lot.
hello everyone,
I am developing a 3d Application using OpenGL ES for Pocket PC , I need to display 2d button images on the screen. can any one show me some sample code or some other usfull links were i can get them…
Thanks a lot.
There are several way to do a such thing :
make rectangles and place textures on them (remember the 2^n padding)
access to the colorbuffer and raw copy the pixels (but it seems that GLES API does not provide the fuctions for rastering)
Thanks for the reply. the real problem was i need to move the camera throu the 3D world. so i have solved this problem by having two viewports and in the second viewport i am using a fixed camera and a button textured 3d plane. so now this window acts as a billboard to me.
I am facing two more problems .
glVertexPointer(3,GL_FLOAT,0,trackArray);
glDrawArrays(GL_LINE_STRIP,0,20);
it draws the follow thro line but the first and last points were linked by a staright line. I need to remove this line.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.