textures Questions
2
Solved
I am creating an OBJ parser which reads the file and draw it using glDrawElements. The thing here is the model is correctly drawn but when I try to give it a texture, it is incorrectly mapped. I ha...
3
Solved
My game is working correctly except in the case where I press the HOME button then resume. What needs to be done to use the textures again? I have tried calling onPause and onResume on the GLSurfac...
2
Solved
I'm making progress developing a '3d desktop' directx app that needs to display the current contents of a desktop window (e.g. "Calculator") as a 2D texture on a rectangular surface in directx (11)...
Martensite asked 26/11, 2014 at 13:49
2
Solved
I'm trying to draw transparent textures (text) in my app. Strangely, it works on the newest Nexus 7 and on my second generation Moto X but on the original Nexus 7 the textures are just black. I've ...
Undressed asked 16/6, 2015 at 13:47
1
Solved
I have an extremely simple PNG texture: a grey circle with a transparent background.
I use it as a uniform map for a THREE.ShaderMaterial:
var uniforms = THREE.UniformsUtils.merge( [basicShader...
Gereron asked 24/6, 2015 at 21:15
1
Solved
I have two 2D textures. The first, an MSAA texture, uses a target of GL_TEXTURE_2D_MULTISAMPLE. The second, non MSAA texture, uses a target of GL_TEXTURE_2D.
According to OpenGL's spec on ARB_text...
Whang asked 8/6, 2015 at 23:42
2
I have a project unity game 2d. when i build it with 70 MB in apk, i think it too large with my game.
I try to delete some pictures (textures for backgrounds of game) about 6MB in my folder Assets...
Gigantes asked 23/5, 2015 at 15:56
1
Solved
I am working on an app where higher resolution is always better.
But I'm stuck with WebGL max_texture_size problems. I create an image of size exactly this dimension (16384x16384 on my laptop) and...
Crutch asked 30/4, 2015 at 19:4
5
Solved
I got texture, which really shorter, than my UIButton.
I got this texture:
And i should create this button:
How should i stretch (not tile), this texture? Stretching in horizontal direction
...
2
Solved
Is it possible using video (pre-rendered, compressed with H.264) as texture for GL in iOS?
If possible, how to do it? And any playback quality/frame-rate or limitations?
1
Solved
I'm creating a mesh with a custom shader. Within the vertex shader I'm modifying the original position of the geometry vertices. Then I need to access to this new vertices position from outside the...
Sully asked 14/3, 2015 at 20:33
1
Solved
I've in drawable directory an image file with the 960x1440 size.
When the app start, the image is not loaded as background and in the logcat I see:
Bitmap too large to be uploaded into a texture (...
1
Solved
I want to make transparency on my 32bit bitmap texture using GLSL.
My fragment shader looks like this:
#version 120
uniform sampler2D myTexture;
varying vec2 TexCoord;
void main(void)
{
if(textur...
Pentarchy asked 22/1, 2015 at 0:0
4
Solved
4
Solved
Efficient method for rendering cubes with different textures on each side for a Minecraft-like game?
I'm trying to decide what the most efficient way to render a bunch of cubes with different textures in a Minecraft-like game is.
I discovered instanced rendering. What I've done is I've created a ...
1
Solved
I am mainly a programmer, not very good at drawing, so I decided to make textures at run time in a procedural way and by that I mean to generate something new and fresh every time at the same time ...
Curcio asked 13/1, 2015 at 19:6
5
Solved
I have an app that I've been repeatedly playing with in android, it uses opengl-es.
Currently I load textures from a bitmap like so:
//Load up and flip the texture - then dispose the temp
Bitmap...
2
Solved
I'm using defered rendering in my application and i'm trying to create a texture that will contain both the depth and the stencil.
glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH24_STENCIL8, width, heigh...
2
Solved
Almost exact duplicate question: OpenGL font rendering using Freetype2.
I am trying to render text in my OpenGL program using FreeType2 (2.5.3), based on this tutorial: http://en.wikibooks.org/wik...
Shonna asked 11/12, 2014 at 19:25
2
Solved
I am using a CUDA texture in border addressing mode (cudaAddressModeBorder). I am reading texture coordinates using tex2D<float>(). When the texture coordinates fall outside the texture, tex2...
Tanta asked 26/9, 2013 at 6:31
1
Solved
first of all, I'm totally new to kivy, so I'm struggling a bit.
I'm trying to display a numpy array in a kivy window.
So far i figured out that this should work using the Texture Class (http://kiv...
1
I am trying to create a 3-channel CVOpenGLESTexture in iOS.
I can successfully create a single-channel texture by specifying kCVPixelFormatType_OneComponent8 in CVPixelBufferCreate() and GL_LUMINA...
Tyrannize asked 25/11, 2014 at 14:46
3
I have a house model in my game, and I have some materials for the house geometry. There is a material for the wall of the house, and I have a texture-map-image to show the bricks.
var mat = new T...
1
Solved
I'm working on a game where there are many walls of the same texture but at different lengths/heights. Currently I am cloning a base texture and setting the repeat values for each wall. This create...
Reciprocate asked 24/11, 2014 at 4:30
2
Solved
This is a followup on a previous question (see Coloring individual triangles in a triangle mesh on javafx) which I believe is another topic on its own.
Is there a way (with javafx) that I can get ...
Hypothecate asked 12/11, 2014 at 7:57
© 2022 - 2024 — McMap. All rights reserved.