i have to draw bitmap in to the my live wallpaper using this code but image will not loaded its showing null pointer exception.
I want to fill a concave polygon with a simple repeating pattern. I can already draw the polygon properly, unfortunately I am having problems with filling it. In OpenGL I could do this easily with POL
I have been trying to achieve texture mapping using the bilinear interpolation method.I have been trying to rasterize a triangle thus i first find the barycentric weights and then try to i开发者_如何学
I\'m not sure if stackoverflow is a right place to ask these kinds of questions(I have only asked development questions here) . I need to import a 3d model to my flash program and I need to bake the t
I am creating an OpenGL video player using Ffmpeg and all my videos aren\'t power of 2 (as they are normal video resolutions). It runs at fine fps with my nvidia card but I\'ve found that it won\'t ru
I am trying to set a .png file as my background in OpenGL, with the hopes of drawing more objects on top of it. I have an image that is a 320x480 RGB image. I setup my vertices, as follows:
I have a curved surface defined by a number of triangular faces. The entire surface has single color.
EDIT OK, this question is old. What I found out after learning some OpenGL ES and testing is my iPhone 4 was actually using double the resolution image. If I remember correctly, I had to set my Ope
When I bind an array to a texture in CUDA, is that array copy to a texture space? or, is that array reference as a texture?
Can someone please describe a common technique used to calculate texture coordinates for a terrain that dynamically changes every frame? I have a perlin noise function implemented in a vertex shader a