texture2d Questions

2

Solved

I want to make user able to decode the QR image loaded from the gallery, I have found a plugin to explore and load the image as a texture2D, but to decode that QR code, the Texture2D has to be read...
Emblaze asked 24/6, 2017 at 7:10

3

I came up with simillar questions earlier, but they weren't good clarified and right now I would like to take an advice what's wrong I'm doing in my code. So what I'm trying to do is rendering Sur...
Boote asked 5/2, 2016 at 15:2

1

I'm using DirectX to draw videos. After decoding by Intel Media SDK. And then I draw it by the following Intel's Code: mfxStatus CD3D11Device::RenderFrame(mfxFrameSurface1 * pSrf, mfxFrameAllocato...
Crysta asked 28/10, 2017 at 7:32

2

Solved

I was wondering how to draw on the fly pixel by pixel in XNA/MonoGame and could only find this. Problem is, the question wasn't centered about how to actually draw pixel by pixel but rather manage ...
Dionne asked 18/11, 2021 at 15:39

0

What is the simplest way to save my Depth color mode Texture Render. Can it be done without using replacement shaders on my camera? It seems like most of the work is done just setting the color m...

4

I've looked around a lot and the only methods I've found for creating a Texture2D from a Bitmap are: using (MemoryStream s = new MemoryStream()) { bmp.Save(s, System.Drawing.Imaging.ImageFormat.P...
Tody asked 19/5, 2010 at 22:7

2

Solved

I am using freeglut, GLEW and DevIL to render a textured teapot using a vertex and fragment shader. This is all working fine in OpenGL 2.0 and GLSL 1.2 on Ubuntu 14.04. Now, I want to apply a bump...
Choose asked 11/8, 2014 at 21:12

2

Solved

i'm a newbie in XNA just in case. What i try to do is load a texture in a different size from his original, or at least have the possibility to change his size after. I see in some places that i ca...
Bunyabunya asked 3/12, 2010 at 20:31

3

Solved

I'm building a Unity app for Android which deals with loading a lot of large textures dynamically (all images are over 6MB in size as png's). These textures can either come from an Amazon S3 server...
Ramtil asked 6/11, 2016 at 15:10

1

Solved

I am very new to Direct X 11. I want to create a simple 2d texture (of type ID3D11Texture2D). I have read document about CreateTexture2D and I understand that: pDesc is how we define the image. ...
Homan asked 13/1, 2017 at 4:19

2

Solved

I'm trying to draw a texture on texture as show in the image below. Yellow circle Image: Green circle Image: As shown in the above image of penguins, i'm trying to render another image as tex...
Afghani asked 22/9, 2016 at 10:41

1

Solved

I am trying to use texture2D() to read a value from a sampler2d texture in a compute shader. On PC it is working fine, but on a android mobile device (using version 310 es) the compilation for the ...
Fete asked 10/5, 2016 at 16:50

1

Solved

What is the difference between glBindImageTexture and glBindTexture? And also what is the difference between the following declarations in a shader: layout (binding = 0, rgba32f) uniform image2D i...
Jetliner asked 10/5, 2016 at 11:9

3

Solved

I have a CCSprite that is initialized using [CCSprite spriteWithSpriteFrameName:@"plist_file_key_here.png"]. I have already added all the sprites from my plist file to CCSpriteFrameCache. I have tr...
Abject asked 18/11, 2011 at 23:20

2

Problem : I want to make prototype for cleaning windows (I mean cleaning dirty windows) in unity. I was searching about this subject and finding that I can change pixel by Texture2D.SetPixel(). ...
Buchenwald asked 19/4, 2015 at 16:16

2

I am in the middle of rendering different textures on multiple meshes of a model, but I do not have much clues about the procedures. Someone suggested for each mesh, create its own descriptor sets ...
Transportation asked 21/4, 2016 at 14:26

2

I need to repeat a texture within a single element. Is it even possible in WebGL? I tried either of the following but had no luck. ctx.texParameteri(ctx.TEXTURE_2D, ctx.TEXTURE_WRAP_S, ctx.CLAMP_...
Sayles asked 9/10, 2011 at 21:31

1

Solved

I have a plugin that allows me to access pictures from an Android phones gallery. This gives me a texture of the Texture2D type. I then want to edit it using the GetPixels function, but it is...
Meraree asked 16/1, 2016 at 14:58

1

Problem : After a month, I'm coming back to the prototype for painting on sprite for my mini game. As you see in this thread I've figured out the solution for painting on sprite and because of big...
Tennyson asked 13/7, 2015 at 17:19

2

Solved

I have some AssetBundles that I want to convert to .png image files. They are Texture2D assets, but the problem is as they are not Read Enable, when I try to convert them to PNG with a va...
Arriaga asked 7/8, 2014 at 6:48

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 ...

1

Solved

I'm trying to load a Texture2D (.png) resource using Resource.Load. I've tried following path patterns: Assets/CaseSensitivePath/TextureName CaseSensitivePath/TextureName Assets/CaseSensitivePath/...
Gen asked 13/11, 2014 at 7:52

1

Solved

I have an array of Sprite objects in Unity. Their size vary depending on the image loaded. I want to combine them side by side like a tiled map into one image. I want them to be layout like your ar...
Haberdashery asked 28/8, 2014 at 9:37

1

Solved

I have a little program that render a yellow triangle twice, once on the left half of a framebuffer and once on the right side. Dump of the texture Now, after that I render the content of this...
Bur asked 6/8, 2014 at 9:55

1

Solved

I was working on a project, and for that project I had to walk through a book called "OpenGL ES 2 For Android: A quick start guide". So when I got to texturing, I got the error of: 'textu...
Teno asked 20/6, 2014 at 21:32

© 2022 - 2024 — McMap. All rights reserved.