textures Questions
4
Solved
I have a local file in which I try to load texture like this:
var texture = THREE.ImageUtils.loadTexture( 'image.jpg' );
var cubeGeo = new THREE.CubeGeometry( 50, 50, 50 );
var cubeMat = new THREE...
Auditorium asked 16/1, 2014 at 0:15
1
What are the possible and good ways/best practices/etc to improve texture quality in THREE.js?
I have a scene where I have planes(cards) with 512x512px textures. How it looks you can see on image...
Garmon asked 13/10, 2017 at 10:27
1
Solved
I created a bmp and I load it using SDL_LoadBMP when inspecting the generated SDL_Surface I can see it is of format SDL_PIXELFORMAT_INDEX8.
I want to use the SDL surface to generate a texture usin...
6
I'm using LibGDX to make a platformer. I'm using square tiles for the platforms but when they are drawn some of them have gaps between them. When I zoom in/out or move the camera around the gaps mo...
0
I have a set of questions about NOT uniform flow control in GLSL, and its performance cost on modern desktop GPUs. First of all, I want to note that I have read the manual but still didn't find ans...
2
Solved
Environment Ubuntu 17.04, Chrome 60.
Runs this example local without warnings/errors : https://github.com/mdn/webgl-examples/tree/gh-pages/tutorial/sample6
Then replace cubetexture.png with an no...
2
Solved
I'm trying to understand Textures, Texture Units and Samplers in OpenGL 4.5. I'm attaching a picture of what I'm trying to figure out. I think in my example everything is correct, but I am not so...
Alphaalphabet asked 21/7, 2017 at 9:9
2
So what I'm trying to do is to generate a background image for my game by drawing pixmaps to a texture. So far I can do that, but now I need to draw the pixmaps flipped in the X or Y axis to the te...
2
Solved
How to deal with OpenGL cube map textures in CUDA?
When one want to use OpenGL textures in CUDA kernel one of the things to do is to retrieve a CUDA array from registered image and mapped resource...
Vanhorn asked 27/3, 2014 at 7:36
1
Solved
I have a pair of shader programs where everything works great if my DataTextures are square (1:1), but if one or both are 2:1 (width:height) ratio the behavior gets messed up. I can extend each of ...
3
Solved
Anyone know the maximum texture size for the iPad? I'm having trouble finding numbers for this.
Despinadespise asked 24/3, 2010 at 3:39
1
Solved
I have a program that works great when my POT DataTextures are 1:1 (width:height) in their texel dimensions, however when they are 2:1 or 1:2 in texel dimensions it appears that the texels are bein...
2
Solved
So, I've done a bit of reading around the forums about AssetBundles and the Resources folder in Unity 3D, and I can't figure out the optimal solution for the problem I'm facing. Here's the problem:...
Fourgon asked 2/7, 2013 at 10:22
1
Solved
How can you create a sphere in POV-Ray that looks like Earth? Presumably the answer would involve taking some kind of map of Earth and somehow wrapping it around a sphere as a texture. A Google sea...
Leopard asked 7/2, 2017 at 10:34
1
Solved
I'm programming a simple graphics engine in C++ that should be capable of representing the Earth. The Earth is modelled as an icosphere, and I planned to map its texture using the normals of each v...
Inamorato asked 31/1, 2017 at 12:41
1
Solved
I have been working on porting an open source game written using a fixed function pipeline to Metal.
I have been able to redo all the projection transformation and have things being drawn where th...
1
Solved
I am new to OpenGL and have currently copying the contents of a 2D texture back to CPU memory as follows:
std::vector<unsigned char> frame-data(width * height * 4);
glBindTexture(GL_TEXTURE_...
5
Solved
After making a few changes in my application, my textures are no longer showing. So far I've checked the following:
The camera direction hasn't changed.
I can see the vectors (when colored ...
4
Solved
I have seen many code samples for loading textures for OpenGL, many of them a bit complicated to understand or requiring new functions with a lot of code.
I was thinking that as OpenCV allows us ...
2
Solved
I've done some research and I can't seem to find anything that clearly explains how to go about preloading both single textures and textures within animations. I'm currently using Atlas's in Assets...
Pandurate asked 7/8, 2016 at 20:24
3
Solved
How do I test if the WebGLTexture object is 'complete' ?
Currently I get this message:
[WebGLRenderingContext]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-...
1
Solved
Is it possible to draw texture (if it is with correct width, height and pixel format) directly to frame buffer without using vertices and shaders in Vulkan?
Torras asked 12/8, 2016 at 8:16
1
Solved
2
I have been fooling around with LibGDX for a while now, and wanted to easily port my programs to different systems. I have a background texture, which I want to scale to the currently used resoluti...
2
Solved
I am confused about the difference between the intended use of device pointers and cudaArray structures. Could someone please explain why I would use one versus the other? My basic problem is that ...
© 2022 - 2024 — McMap. All rights reserved.