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

learn more… | top users | synonyms (1)

0
votes
1answer
521 views

Generate texture for a heightmap

I've recently been trying to blend multiple textures based on the height at different points in a heightmap. However i've been getting poor results. I decided to backtrack and just attempt to recreate ...
-3
votes
1answer
416 views

How to remaster a retro game's graphics?

I want to remake an old game, which graphics is pretty old (1980s game), and I want to make a "HD version" of it. Of course, the game will have an "old graphics" setting, but I want to remaster the ...
7
votes
1answer
1k views

What technology does Starcraft 2 use render its maps?

I've got a map that is being procedurally generated at run-time and I'm currently investigating methods of rendering this map. I've taken an interest in the look of Starcraft 2 and I'd like some ...
-1
votes
2answers
772 views

XNA - How do I change the texture of a 2D object?

I am on to make a table game, I successfully figured out how to make the arrow and to move the cursor on it (by tiles). Now I wanna find out how to make that if I hit the Enter key the tile's texture ...
4
votes
1answer
303 views

Loading a series of PNGs as a texture

If I have a series of PNGs that I'd like to use as a single animated texture, would I be able to use them as they are, or would I first need to convert them to a different format, like a single TGA?
0
votes
1answer
198 views

Image Processing in game engines

I'm going to try and use GEGL to allow real-time texture manipulation on an open-source 3D game engine. What are the most common and most needed operations used on images, textures in game engines? ...
5
votes
2answers
327 views

Automated texture mapping

I have a set of seamless tiling textures. I want to be able to take an arbitrary model and create a UV map with these properties: No stretching (all textures tile appropriately so there is no ...
11
votes
2answers
447 views

How can I generate a texture that looks like left-over tea leaves?

We are working on a project for iPhone and Windows Phone 7 where we'd like to be able to generate tea leaves at the bottom of a cup. It doesn't have to look photo-realistic, and actually cartoon-y is ...
5
votes
1answer
2k views

How to correctly export UV coordinates from Blender

Alright, so I'm just now getting around to texturing some assets. After much trial and error I feel I'm pretty good at UV unwrapping now and my work looks good in Blender. However, either I'm using ...
29
votes
6answers
10k views

Why are textures always square powers of two? What if they aren't?

Why are the resolution of textures in games always a power of two (128x128, 256x256, 512x512, 1024x1024, etc.)? Wouldn't it be smart to save on the game's file size and make the texture exactly fit ...
2
votes
3answers
2k views

How do I load a texture in OpenGL where the origin of the texture(0, 0) isn't in the bottom left?

When loading a texture in OpenGL, how do I specify the origin of the data I am loading? For example, how would I load a Targa that has it's origin at the top left instead of the bottom left of the ...
3
votes
2answers
2k views

2D Collision masks for handling slopes

I've been looking at the example at: http://create.msdn.com/en-US/education/catalog/tutorial/collision_2d_perpixel and am trying to figure out how to adjust the sprite once a collision has been ...
12
votes
1answer
3k views

Procedural Mesh: UV mapping

I made a procedural mesh and now I want to apply a texture to it. The problem is, I cannot get it to stick the way I want it to. The idea is to have the texture painted only once over the whole ...
1
vote
1answer
1k views

Why doesn't my texture display with this GLSL shader?

I am trying to display a DXT1 compressed texture on a quad using a VBO and shaders, but I have been unable to get it working. All I get is a black square. I know my texture is uploaded properly ...
6
votes
1answer
2k views

Sidescroller variable terrain heightmap for walking/collision

I've been fooling around with moving on sloped tiles in XNA and it is semi-working but not completely satisfactory. I also have been thinking that having sets of predetermined slopes might not give me ...
3
votes
1answer
223 views

Preventing banding textures in DirectX

I have a 3D scene that I've tried rendering in Direct3D 10 and using WPF's 3D framework. Obviously, going directly to Direct3D is producing far better performance but I am getting banding which ...
1
vote
0answers
273 views

D3DX11CreateShaderResourceViewFromFile returns E_FAIL [closed]

When trying to create a texture, my call to D3DX11CreateShaderResourceViewFromFile keeps returning E_FAIL. To me that's about as generic as it gets, and I can't figure the problem out. The code looks ...
0
votes
2answers
2k views

merge textures 2D , in Xna

i try to learn Xna, but now i have problem: In my simple 2D game i have tile engine, using SpriteBatch.Draw(Texture2D, Rectangle, Nullable<Rectangle>, Color, Single, Vector2, ...
3
votes
1answer
428 views

How to properly render a Frame Buffer to the BackBuffer in Stage3D / AGAL

After doing a render pass with RenderToTarget (RTT), how do you properly render that texture buffer to the screen while maintaining original scale / proportions so it doesn't stretch or lose quality? ...
0
votes
1answer
465 views

Top-Down Racing Game C++

I'm creating a Top-Down Racing Game in C++ using GLUT/OPENGL and SOIL first of all I just wanted some opinions on how the track should be done. I was thinking about using a tile-map and so far I've ...
2
votes
1answer
230 views

Graphic hardware texture formats shaders relational speed

I'm interested to know, is there a direct correlation to the speed that a shader will run based on the bit depth of a texture upon which it is running. For example: If I have a 2 bit stencil texture ...
4
votes
1answer
4k views

Can I make a mirror with Unity Free?

If I understand correctly, render textures are a feature of Unity Pro, and that is the best way to create mirrors, TV screens, and so forth. If I am wrong, please tell me. What I would like to know is ...
3
votes
3answers
994 views

OpenGL & SDL textures… game shuts down

I'm going to create a game in C++ with SDL & openGL but adding textures won't work. the code is in some different classes. here's the main file ...
0
votes
0answers
765 views

Box2d : Sprite display not fit with body when rotated

I have recently achieved to render box2d Objects, and texture with sprites at where the box2d objects exists. But now I am facing another problem. When I rotate the Box2D object, the sprite gets ...
3
votes
1answer
2k views

How do I create a decal system?

I'm currently given the task to design & create a simple decal-system in C++/DirectX. Does anybody know a great tutorial, article or paper to start with? (Especially the part about 2D-texture to ...
2
votes
1answer
402 views

How do I generate coins in a pattern?

In my game you collect coins (surprise!). At the moment I generate them like this: Find a random position given a rectangle (eg. the screen size) and generate a coin Possible positions are left and ...
1
vote
3answers
933 views

iOS - pass UIImage to shader as texture

I am trying to pass UIImage to GLSL shader. The fragment shader is: varying highp vec2 textureCoordinate; uniform sampler2D inputImageTexture; uniform sampler2D inputImageTexture2; void main() { ...
3
votes
1answer
2k views

AndEngine Moving a Connected Texture and Physics Body

In AndEngine, many times we create a TextureRegion for our sprite. We can move this region around the scene but when I connect that region to a physics body I end up being able to use either one to ...
11
votes
1answer
823 views

How do 2D art assets (eg. sprites) work?

I have an idea on a game and planning on developing a 2D game using XNA for Windows Phone 7. I've started off today by free hand drawing some concept art of what I want some of the characters to ...
0
votes
1answer
493 views

Correct texture format for Moai with TexturePacker

We are going to use TexturePacker to create our texture atlases for a Moai-based game. I'm wondering what the correct texture format and image format is to use specifically for Moai. Should I just use ...
1
vote
1answer
140 views

What is the name for a single 2D polygon on a UV Mapped texture?

When UV Mapping a polygon/texture, is there name that describes a single polygon on the texture. Does this name differentiate if from the same geometry once it has been mapped to a face? Would ...
2
votes
2answers
326 views

Compressing textures and recompressing textures

Which tools are considered best-quality for compressing textures for use in OpenGL? Which can be used from the Linux commandline? And which lossless compressors give good ratio/speed on compressed ...
3
votes
1answer
566 views

Spherical fractal noise generator in shader

I have a growing sphere in space, and I thought of having a procedural generated texture over it. Since it is growing, I thought a fractal would be a great choice, because more details would be ...
1
vote
1answer
539 views

Texture swapping and 2d Drawing in Xna

Usually in 3d drawing you want to ideally have fewer larger textures rather than lots of smaller ones, and make sure you render the same kinds of textures at the same time. So there is less texture ...
2
votes
1answer
433 views

Trouble with UV Mapping Blender => Unity 3

For some reason I am getting nasty grey edges around the edges of rendered 3D models that are not present in Blender. I seem to be able to solve the problem by reducing the size of the UV coordinates ...
0
votes
1answer
801 views

What's wrong my code to create a GL texture from an SDL_Surface?

I have an issue here with converting an existing SDL_Surface into an OpenGL texture. The texture gets created, but it's a plain white texture, below is a screenshot of the result: It seems to me ...
2
votes
1answer
213 views

text wrapping on a texture applied to a 3D model

How would I create and implement a texture of text that wraps around a 3D model? The texture will just be white and you should be able to add text to it, but I need to create this so that when the ...
1
vote
1answer
525 views

Abstracting entity caching in XNA

I am in a situation where I am writing a framework in XNA and there will be quite a lot of static (ish) content which wont render that often. Now I am trying to take the same sort of approach I would ...
0
votes
2answers
348 views

How do I use transparent textures in panda3d?

I need to map a partially transparent texture on a flat quad with panda3d. With the quad as a canvas I'd like to create something like sprites positioned in the 3d coordinate system. I wanted to ...
2
votes
2answers
769 views

Can a texture's UV coordinates be animated (scrolled) when part of a SpriteSheet?

Alright so my question is about texture manipulation in Flash Stage3D / Context3D using AGAL for the shader language. But I'm pretty sure this could be applicable in other situations involving GPU ...
1
vote
1answer
191 views

Why is texturing interfering with my ID-based picking implementation?

Today I came across a tutorial about color picking and I implemented it on my machine. But there is a problem: when I disable the texture and draw the object I want to pick with its picking color, it ...
2
votes
1answer
262 views

How can I get the texture color data from GLEED2D's level file?

I've hit a little snag in my game. It's a 2D platform game and I need to check for collisions against the level. I'm using GLEED2D to create the map. I'd like to do per-pixel collision checking, but ...
2
votes
1answer
739 views

How do I get the alpha level at a specific pixel with Slick 2D?

I know that there is the Texture.getTextureData() method, and that it returns a byte[], but I have no idea how I could use this data to find the color data at a specific pixel.
0
votes
1answer
656 views

Confusion with the texture coordinate system in XNA

I am creating a cow out of primitive shapes, and am using the minecraft cow texture as a placeholder. To create the primitive model I have created a 'model' class and created a sub class 'ModelCow' ...
0
votes
1answer
5k views

How to rotate a sprite on circle in android using Libgdx

Dear Fellow Game Developers i am newbie to Android Game Development,i like to know how we can develop a sprite rotate in circle on android,with help of libgdx, i do have a image in assets ...
2
votes
1answer
1k views

Is it possible to animate the texture of a model?

Below is how far I've got. I just made a simple block with user primitives to test it. But I haven't found a way to crop the spritesheet. textureLava = frames[activeFrame]; This line is how I want ...
4
votes
1answer
698 views

How to fix odd artifacts at the edges of textures in DirectX 11?

In my DirectX 11 project, when I have textures they have odd artifacts at the edges. I've seen it before and searched online, but I can't find any DirectX examples that I can get to work. You can ...
0
votes
1answer
1k views

How do you do very simple texturing in OpenGL 3+?

I managed to create a sphere (calculating all the vertices etc etc). Now I want to apply a texture on it. I have no idea how. I googled some "OpenGL 3 texture tutorials" but I can't seem to find ...
1
vote
1answer
372 views

Effective SpriteBatching in XNA?

What is an example of efficient sprite batching in XNA? I don't know when (if ever) I would do something like this: spriteBatch.Begin() DrawSprite1(); spriteBatch.End(); spriteBatch.Begin(); ...
3
votes
4answers
919 views

Most common way to obtain textures for 3D models?

I'm getting into basic 3D modelling and am attempting to texture my model. I'm aware of UV mapping and some similar texturing tools, but I'm not sure how the majority of CG artists obtain their 3D ...