textures Questions
3
Solved
Is there a way to transform a libgdx's Texture to a grayscale image? So far I had duplicate the images that I want to grayscale and I did it manually, but I think it is not the best solution becaus...
1
Solved
I am working on a Drawing App for iOS. In this app i need to draw textured lines. For this i am using this method.But texture is so small and not in shape.
I want to know what i did wrong and how...
Chatelain asked 5/4, 2014 at 11:58
5
Solved
I have a large amount of textures in JPG format.
And I need to preload them in opengl memory before the actual drawing starts.
I've asked a question and I've been told that the way to do this is to...
5
Solved
My problem is getting more than one texture accessible in a GLSL shader.
Here's what I'm doing:
Shader:
uniform sampler2D sampler0;
uniform sampler2D sampler1;
uniform float blend;
void main( voi...
1
Solved
I want to:
Set Uniform values for case i.
Render compute shader for case i to an HTML5 <canvas> tag.
Use the <canvas> contents (case i render output) as a texture in the next render ...
Tester asked 21/3, 2014 at 21:56
1
So, I am trying to implement the picking through id. This means with every drawArray a different unique id will be set as uniform and saved in the red component on a texture.
16 bits are more than...
3
I have been having some problems with my openGL application running out of memory and I am trying to track down my problem. To this end, I created a small test program that basically just loads a g...
1
Solved
3
Page: http://nps.netarteria.pl/gallery/
I'm following this tutorial: https://developer.mozilla.org/en-US/docs/WebGL/Animating_textures_in_WebGL but my chrome (in inspect mode) shows this warning: 5...
Quick asked 16/12, 2012 at 21:28
2
Solved
Please, I need tutorials/code examples of how to fill each side of a cube with different textures on OpenGL ES 1.1
I found a lot of tutorials but none of them explain clearly how to put different ...
1
I using OpenGL 4.1 and GLSL 410. I am attempting to texture a square that I made using the following coordinates:
float points[] = {
-0.5, 0.5,
-0.5, -0.5,
0.5, -0.5,
-0.5, 0.5,
0.5, -0.5,
0...
Aalii asked 5/1, 2014 at 20:19
1
Solved
I'm trying to learn SDL2. The main difference (as I can see) between the old SDL and SDL2 is that old SDL had window represented by it's surface, all pictures were surfaces and all image operations...
2
Solved
Can I make a border around an image?
I have lots of blocks in 2D, and when the player hovers with the mouse on one of them I want to display the border around the texture / image.
Thats how I draw...
2
Solved
I am currently implementing a 3D viewer which basically renders a subset of all the images the user has on his SD Card. The closest matching product I would think of would be CoolIris:
It simply...
3
i'm trying out libgdx as an opengl wrapper , and i have some issues with its graphical rendering :
for some reason , all images (textures) on android device look a little blurred using libgdx . thi...
1
Solved
I am referring to this excellent example of how to encode the preview frames of the camera directly into an mp4 file:
http://bigflake.com/mediacodec/CameraToMpegTest.java.txt
I have adopted the co...
Evilminded asked 5/12, 2013 at 9:46
2
Solved
as we all know, openGL uses a pixel-data orientation that has 0/0 at left/bottom, whereas the rest of the world (including virtually all image formats) uses left/top.
this has been a source of endl...
1
I'm trying to render a freetype font using OpenGL, following the example posted at http://en.wikibooks.org/wiki/OpenGL_Programming/Modern_OpenGL_Tutorial_Text_Rendering_02.
I've been able to gener...
Linctus asked 28/11, 2013 at 16:56
2
Solved
I'm using a series of PNG images as sprites to create animations on a plane for an augmented reality application in Unity. The PNG images are loaded as textures, and the textures are applied to a p...
Freckle asked 4/4, 2013 at 20:16
1
Solved
When entering the geometry, for example a sphere mesh, it acts as if the geometry doesn't exist. The color and texture are visible on the outside. But once I zoom into the mesh, the properties are ...
1
I've recently ported my volumeraycaster from OpenGL to OpenCL, which decreased the raycaster's performance by about 90 percent. I tracked the performance decrease to the OpenCL's imagesampling func...
1
So in the javascript portion of my code, here is the snippet that actually sends an array of pixels to the vertex and fragment shaders- but I am only working with 1 texture when I get to those shad...
Lilialiliaceous asked 3/11, 2013 at 16:46
4
Solved
I'm making an OpenGLES Android app using Android NDK, expanding from android's gljni example, which can be found here
It's using GLSurfaceView. Textures are initialized in a JNI function called fr...
Irritant asked 20/8, 2010 at 2:57
1
Solved
In my program I have a texture which is used several times in different situations. In each situation I need to apply a certain set of parameters.
I want to avoid having to create an additional bu...
Luigiluigino asked 28/10, 2013 at 12:0
1
Solved
I need to handle many objects which share only a few textures. Defining and loading textures one by one manually (as described in another post on SO) does not feel right... even more so since there...
© 2022 - 2024 — McMap. All rights reserved.