Reloading texture images in slidehow app.

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

Reloading texture images in slidehow app.

Postby sunkingac » Fri Jun 10, 2011 7:55 am

I am implementing coverflow/slideshow type of application
I have 3 slots or layers for images to show.
I have to load 3 textures initially.
After any touch move event, i have to load the textures with new images.
For this reloading these textures with new image, do i have to delete the textures and generate new textures or can i reload in the same textures. (generate textures using gl.glGenTextures() ).

Please help me in solving this issue.
Once Poster
Once Poster
Posts: 1
Joined: Fri Jun 10, 2011 6:14 am


Re: Reloading texture images in slidehow app.

Postby roopa » Mon Oct 17, 2011 12:51 pm

Understand what texture mapping can add to your scene
Specify a texture image
Control how a texture image is filtered as it's applied to a fragment
Create and manage texture images in texture objects and, if available, control a high-performance working set of those texture objects
Specify how the color values in the image combine with those of the fragment to which it's being applied
Supply texture coordinates to indicate how the texture image should be aligned to the objects in your scene
Use automatic texture coordinate generation to produce effects like contour maps and environment maps
Posts: 27
Joined: Wed Sep 14, 2011 6:46 am


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

Who is online

Users browsing this forum: No registered users and 3 guests