A bitmap (raster image) used in a texture mapping process.

learn more… | top users | synonyms (1)

2
votes
2answers
1k views

Importing FBX with multiple meshes in UDK

I need to import into UDK a several amount of FBX models (representing buildings) which are composed by various submeshes (walls, windows, roof...). I need to keep the individual meshes (can't use the ...
1
vote
1answer
609 views

glGenerateMipmap confusion

I'm trying to get a grip on mipmaps with OpenGL. I believe I understand the concept, but when trying to have OpenGL generate them I wonder how it determines how many mipmaps to generate? Here's what ...
9
votes
1answer
4k views

Max texture size Android : which settings for 2048x2048?

I want to use a texture atlas of 2048 x 2048 in my game, and I would like to warn the users with a "too low" device to not download the game. With a texture atlas of this size, what requirements ...
0
votes
2answers
136 views

How does Texture Mapping work?

I read the answers from What exactly is UV and UVW Mapping? and How does UVW texture mapping work?, which are quite nice, but am still not 100% sure, if I understand correctly. Lets start with a 2D ...
2
votes
1answer
70 views

multiple textures into one texture

Can i fusion multiple .tga or .jpeg into only one, and texturise my model with it ? Here is an example to explain my self better : I have Mr Bowser as 3d model and i want to integrate it in a game. ...
0
votes
2answers
347 views

Texturing a VBO cube (JOGL)

I've been having trouble texturing a cube using vertex buffer objects. EDIT: I updated/replaced my shaders to fit the right version. The program compiles and links, but it shuts down java in ...
0
votes
2answers
169 views

Unity Texture Problem

http://www.gfycat.com/FlawedLimpingGrizzlybear http://www.gfycat.com/UnawareQuerulousHawk Every texture and shader has the same problem. It seems like the problem has nothing to do with either. ...
3
votes
1answer
213 views

How can I determine the extreme color values in a texture?

I am looking for a way to determine the most extreme color values for all of the texels in a texture. So for a texture consisting only of black and white texels, the extreme values should be (0,0,0) ...
1
vote
2answers
117 views

Texture2DArray in Directx11 with different formats

I'm trying to create a texture2DArray from multiple of images, each of which has different formats, and I got the following error from the DirectX11 debug layer. D3D11 ERROR: ...
4
votes
1answer
1k views

Problem Implementing Texture on Libgdx Mesh of Randomized Terrain

I'm having problems understanding how to apply a texture to a non-rectangular object. The following code creates textures such as this: from the debug renderer I think I've got the physical shape ...
0
votes
1answer
19 views

Animation Texture spread out when animation on 3dsMax

I have a 3d model of a human biped, i did the skeleton and attached it to my 3d model with a skin modifier. But when i move his arms a part of the trunk is comming too . Is it possible to fix this ?
1
vote
1answer
89 views

XNA 4.0 - Car game dashboard lights

I'm making a car game and doing the dashboard part. I'm trying to do the dashboard lights, i've did this changing the dashboard texture, overwriting the texture with the light image over it, example: ...
1
vote
0answers
23 views

XNA 4.0 - Model texture transparency [closed]

I'm trying to use a semi transparent texture on a model in xna using BasicEffect, like this: ((BasicEffect)mesh.Effects[0]).Texture = alphaTexture; I've made the texture in code using color class, ...
0
votes
0answers
47 views

vertical lines on texture in libgdx

i am getting vertical lines on my texture even though i tried implementing texture filters,both linear and nearest and still i get the lines.how do i get rid of it? here is the code: package ...
0
votes
1answer
146 views

Re-using one texture for multiple OpenGL Quads

I've been looking over my code and I'm just wondering, when I set a texture for say, 20 quads that need to use the same texture, it seems as though I'm creating a new texture each time...... surely ...
0
votes
2answers
127 views

How to obtain the currently bound texture ID in an openGL ES 2.0 project

In my game, I have: GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texID); Where texID is an integer returned by my setTexture() method. Let's say, in this instance it's 1. When I bind my textures ...
0
votes
1answer
264 views

Projective texturing and falloff

I quite understand how projective texturing works. I implemented successfully a shader for that following nvidia doc. The major problem I'm facing is that with that implementation the projector ...
1
vote
1answer
103 views

Normal Mapping space confusion

I've been reading today about normal mapping. Up to now, the only normal mapping I encountered was with maps already in world space so I just extracted the info from the texture and transformed them ...
0
votes
0answers
63 views

How do I dynamically load a smaller texture in Unity based on the screen size?

I have a Unity application on windows phone which is having problems running on small devices because the HD textures are so huge. What is the best way to test and dynamically use a smaller version on ...
0
votes
1answer
67 views

HLSL tile shader

How would I make this HLSL code tile my texture: float4x4 World; float4x4 View; float4x4 Projection; float4x4 WorldInverseTranspose; float4 AmbientColor = float4(1, 1, 1, 1); float AmbientIntensity ...
0
votes
0answers
18 views

Where can I find free graphic 2D resources for vehicles (car, truck, bus, etc) from top view for a top down racing game? [duplicate]

Where can I find free graphic resources for vehicles (car, truck, bus, etc) from top view for a top down racing game? I mean something like:
0
votes
0answers
75 views

Deleteing Textures in Android OpenGL ES 2.0

I'm confused about how to delete a previously applied texture. So, I've applied my texture and am happily rendering it. I decide I want to delete the texture, so this is what I've tried...... void ...
0
votes
1answer
62 views

Which gaming engine can be used for pixel manipulation? [closed]

Here is the gist of where I am going with this. I work for a printer company and basically all of our input files(or output files for virtual printers) are bitmap files. We currently have a tool built ...
1
vote
0answers
76 views

XNA - Strange Texture Rendering Issue Using XNA BasicEffect [closed]

I have been reading and working through Riemers 3D XNA tutorials to expand my knowledge of XNA from 2D into 3D. Unfortunately I am having rendering issues that I am unable to solve and I need a point ...
0
votes
1answer
83 views

XNA 4: RenderTarget2D textures getting transparent on fullscreen

I'm generating a Texture2D object using RenderTarget2D as in the following code public static Texture2D GetTextTexture(string text, Vector2 position, SpriteFont font, Color foreColor, Color ...
-1
votes
1answer
95 views

Libgdx change color of Texture at runtime [closed]

i allready asked this on Stackoverflow, but i think this question may belong here. In a Libgdx game i have some Animations for my Player. All the Frames for this Animation are inside a TextureAtlas. ...
1
vote
2answers
719 views

Converting DDS textures to TGA

I have a model which has textures in DDS format, but my game takes textures in TGA format. How can I convert the textures from DDS to TGA?
0
votes
1answer
214 views

Sprite/Tile Sheets Vs Single Textures

I'm making a race circuit which is constructed using various textures. To provide some background, I'm writing it in C++ and creating quads with OpenGL to which I assign a loaded .raw texture too. ...
1
vote
0answers
76 views

libgdx - Image artifacts when downscaling image

Why does this border appear around the edges when I downscale a bitmap and how do I avoid it? I tried every filter I know, the results go from bad to worse. Here's the original bitmap:
0
votes
0answers
131 views

OpenGL Drawing textured model (OBJ) black texture [on hold]

I'm using OpenGL, Glew, GLFW and Glut to create a simple game. I've been following some tutorials and I have now a good model importer with textures (from ogldev.atspace.co.uk) but I'm having an ...
2
votes
3answers
3k views

How can I convert an image from raw data in Android without any munging?

I have raw image data (may be .png, .jpg, ...) and I want it converted in Android without changing its pixel depth (bpp). In particular, when I load a grayscale (8 bpp) image that I want to use as ...
1
vote
1answer
138 views

Textures selectively not applying in Unity

On certain imported objects (fbx) in Unity, upon applying a material, only the base colour of the material is applied, with none of the tiled texture showing. This isn't universal; on a test model ...
5
votes
2answers
336 views

How can I find the right UV coordinates for interpolating a bezier curve?

I'll let this picture do the talking. I'm trying to create a mesh from a bezier curve and then add a texture to it. The problem here is that the interpolation points along the curve do not increase ...
1
vote
1answer
73 views

How can I scale a subset of my game view during rendering?

I am developing a 2d game which has a lateral panel and a main panel with the scenario. I want to scale the main scenario to apply a zoom (only the main panel portion of the screen). I think if I use ...
1
vote
0answers
123 views

Sphere Texture Mapping shows visible seams

As you can see from the above picture there is a visible seam in the texture mapping. The underlying mesh is a geosphere based on octahedron subdivisions. On that particular latitude, vertices have ...
0
votes
1answer
56 views

Applying textures to 3D models

I want to apply textures to a 3D Model in XNA 4. Whatever I saw on the internet was to apply the textures in the modeling tool and then load the model (*.fbx) into XNA. Is it possible to load the ...
13
votes
4answers
2k views

Avoid double compression of resources

I am using .pngs for my textures and am using a virtual file system in a .zip file for my game project. This means my textures are compressed and decompressed twice. What are the solutions to this ...
-1
votes
1answer
84 views

How do I put different textures on different walls? LWJGL

So far I have it so you are running around in a box, but all of the walls are the same texture! I've loaded up other textures for the walls (I want the walls a different texture than the floor) but it ...
0
votes
2answers
224 views

2D Rendering in DX11. Texture Storage and Reference

I'm trying to think of the best way to manage textures in my 2D game. First, I am using DX11, so right now my "textures" are just pointers to a ID3D11ShaderResourceView created by ...
2
votes
1answer
349 views

OpenGL 4D textures with bilinear interpolation

I want to use and interpolated 4D texture in OpenGL, i.e. a texture that is accessed with a texture coordinate vector (s, t, p, q) and interpolated linearly in every texture coordinate. The extension ...
1
vote
1answer
942 views

Displaying streaming video on dynamic texture

We are working in Unity 3D on pro licence and we are faced with the task to display streaming video as a dynamic texture in out Unity3D web project. We have a standard IP-camera , which is capable of ...
0
votes
1answer
75 views

Unifying Texture-, Bump- and Lightmapping

I would like to implement a rendering component that makes use of texture-, bump- and light mapping. Unfortunately, I am a little bit stuck on some implementation details. In particular, Does each ...
1
vote
1answer
79 views

GLSL: Noise via texture

I am trying to access a texture in a fragment shader to overlay this texture over a certain area. varying vec4 v_color; varying vec2 v_texCoord0; uniform sampler2D u_sampler2D; uniform vec4 ...
3
votes
1answer
1k views

How do I generate mipmap .png and model .obj files for LibGDX?

I'm playing a bit with LibGDX (OpenGL ES 2.0 wrapper for Android). I found some sample code which used prepared files to load models and mipmap textures for them, e.g., at ...
1
vote
1answer
515 views

How do I combine images into a single entity in libgdx?

I've googled this but can't seem to find anything on "concatenating" two images, especially with libgdx. Any ideas?
0
votes
2answers
56 views

Multiple colored textures vs Color Overlay

Let's say we're using DirectX 9/10/11. In our game we have a character wearing armor. The armor has 50 different color variations. So, if armor is red, the first method would load the red texture ...
2
votes
1answer
438 views

How to display Textures, Buttons, Created with Unity's GUI (OnGUI()) to get displayed behind other objects in Scene

I am making a game in which I am using OnGUI() to make Texture. I want this texture to display behind my Regular 3D objects like cube, spheres in the scene. I have tried and searched but I am unable ...
0
votes
0answers
40 views

XNA alpha channel mask

I'm trying to highlight a portion of the screen, such that the entire screen is covered with a semi-transparent black mask but part of that mask is "cut out", kind of like it's being lit up while ...
0
votes
1answer
104 views

'Dynamic' textures?

I am creating a 3D game in Unity. The main game mechanic involves a large open world area. In various places throughout this world are billboards and other devices that would show 'adverts' etc in the ...
0
votes
1answer
180 views

Pixel Buffer Object (PBO) does not work correctly

I've written a very simple OpenGL application. Its goal is to load a texture and draw it on a plane using a PBO. If I use the function 'glTexSubImage2D' the plane is not textured and the function ...