textures Questions
1
I'm loading a texture that consists just of the alpha channel. When sending the data, I need to use GL_RED for both the image format and internal format when calling glTexImage2D, such as the follo...
1
Solved
1
Solved
three.js automatically resizes the texture image, if it is not power of two.
In my case am using a custom canvas as texture , which is not power of two.while resizing
makes the texture not appearin...
1
Solved
I have a OpenGL ES 2.0 app with 6 different textures. What I need is to draw and move them all at the same time. I was able to do it, but the movement was laggy because I was loading the bitmaps in...
1
When I import and XYZRGB (that I generate programatically), MeshLab renders the point-cloud, but the colors are missing. How can I assign textures/colors to vertices. I have tried "Vertex Attribute...
1
I'm refactoring my iOS OpenGL-based rendering pipeline. My pipeline consist of many rendering steps, hence I need a lot of intermediate textures to render to and read from. Those textures are of va...
Woodson asked 17/10, 2014 at 16:39
1
Solved
In my 2D isometric engine, I have the following classes:
maps(variable)/layers(variable)/cubes(variable)/sides(6)/points(4)/coordinates(3)
Each sides contains 4 points(1 point = 1 coordinate(x, ...
1
Solved
In current Unity,
For use in Unity.UI as conventional UI ..
for any "Sprite (2D and UI)", in fact it always defaults to having "Generate Mip Maps" turned ON. Every time you drop...
Leontineleontyne asked 17/2, 2016 at 15:40
3
Solved
Whenever we use an index array to render textured polygons with glDraw*Elements*, we can provide an array of vertices and an array of texture coordinates. Then each index in the index array refers ...
2
Can you please explain the difference between texture and sprite? When we zoom in a sprite, it appears blurry because it's basically an image. Is it the same for a texture?
I read this comment on ...
Yonder asked 3/1, 2016 at 10:59
1
I've heard that you can use WebGL for general computing (GPGPU) by generating textures and using the RGB values (or something like that to run computations). How is this possible, and could s...
1
Solved
I am trying to scale the texture to fit the screen width. This is what I tried, but it simply repeats the texture. It does not scale it.
In the init method:
TextureLoader.TextureParameter param =...
1
Solved
I need to rotate a Pixmap by 90 degrees. I have seen an answer that achieves a flipped Pixmap. I need to rotate images that are in portrait orientation to landscape already on the Pixmap-level to l...
2
Solved
This is a code I use to draw rectangle in my program:
glBegin(GL_QUADS);
glTexCoord2f(0.0f, maxTexCoordHeight); glVertex2i(pos.x, pos.y + height);
glTexCoord2f(0.0f, 0.0f); glVertex2i(pos.x, pos...
3
Solved
i am new to LibGDX
i'm building a game and i have an animated background that has about 10 seconds of animation (250 frames aprox.) since it's useless to try and build a sprite sheet for this (larg...
1
Solved
I took the matlab code from this tutorial Texture Segmentation Using Gabor Filters.
To test clustering algorithms on the resulting multi-dimensional texture responses to gabor filters, I applied Ga...
Corneliacornelian asked 19/11, 2015 at 0:21
6
Solved
I'm building a little Android game using libgdx.
For now I have a copy of the game's assets in the desktop project folder and the Android project folder. For some strange reason I have to access th...
Baranowski asked 27/3, 2012 at 15:44
4
Solved
I'm coding my own .obj parser in objc for OpenGL ES 2.0 to get a better understanding on how this OpenGLES thing works. Loading the vertices and showing a model with vertex colors on it works like ...
Effulgent asked 12/1, 2012 at 15:11
3
Solved
What are the ways in which to quantify the texture of a portion of an image? I'm trying to detect areas that are similar in texture in an image, sort of a measure of "how closely similar are they?"...
Goofball asked 22/5, 2011 at 13:58
3
I am using LibGDX for a project, and I am trying to tile/repeat a texture across a specific amount of space. At the moment I am using a TextureRegion set to the proper size, and any extra space off...
1
I'm using SurfaceTexture to draw preview of camera and need to know the size of the texture + what happens in the process.
Let's say the supported camera preview sizes by device are:
1280 720, 1...
Artemis asked 11/6, 2014 at 12:36
1
I am using this code to give multiple effect on bitmap that is on GlSurfaceView.
apply-effects-on-image-using-effects
Now, I want to save the bitmap. They have given the code to save the bitmap bu...
Diagnostician asked 16/9, 2015 at 6:27
1
Solved
Is glGetBufferSubData used both for regular and texture buffers ?
I am trying to troubleshoot why my texture is not showing up and when I use glGetBufferSubData to read the buffer I get some garbag...
4
Solved
I have been hearing controversial opinions on whether it is safe to use non-power-of two textures in OpenGL applications. Some say all modern hardware supports NPOT textures perfectly, others say i...
1
I am very new with MonoGame library.
I load a texture from .xnb file
_background = content.Load<Texture2D>(_backgroundKey);
and then i want to change it transparancy(alpha) at the runtime...
Otolith asked 18/7, 2013 at 9:24
© 2022 - 2024 — McMap. All rights reserved.