camera resize and rotate

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

camera resize and rotate

Postby kutea » Tue Mar 31, 2009 6:36 pm

Hi all
I met a problem.
The rate of width and height of my camera sampling is 4/3.so i set previewsize = 320*240;
when it render with vertical srceen(screen size=272*480), it seems that a horizontal preview display in vertical srceen.
when it render with horizontal srceen(screen size=480*272),problem remains.this time it looks like a verticalpreview display in horizontal srceen.
I think there is somesthing wrong with registerbuffer() .
Now there are no further idea!
kutea
Freshman
Freshman
 
Posts: 3
Joined: Tue Mar 31, 2009 6:01 pm

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests