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

learn more… | top users | synonyms (1)

2
votes
1answer
166 views

When rendering on two different computers, the texture is glitchy

I am using Ogre3D, and have been using it for a while. Also lately, I have been using the Opengl Rendering system that is included in Ogre, only because Directx will not compile correctly(Will post ...
11
votes
1answer
4k views

How does UVW texture mapping work?

I'm trying to understand the mathematical theory behind UVW mapping. Can anyone explain me how UVW mapping works? Or at least provide me a pointer?
6
votes
1answer
12k views

Blender - exporting .obj with texture coords

I'm writing a game which uses obj files. I created an object in blender and I applied texture without UV coordinates and my question is: how to export this object to obj file, but with texture ...
3
votes
1answer
4k views

Why can't I add a float4 read from a Texture2D.Sample in the Vertex Shader?

These lines work (compile fine): float4 offset = HeightMap.Sample(HeightSampler, input.Texcoord); input.Position.xyzw += float4(0, 1, 0, 0); These do not (any use of offset together with input/...
5
votes
2answers
1k views

Preventing XNA from anti-aliasing textures?

It appears that if a image is undersized for covering the model it's set to cover, it anti-aliases instead of stretches. How can I control this behavior?
5
votes
3answers
3k views

What are Textures in games development?

At any time, a game will likely have many objects rendering textures. So what is a texture? an image for example?
1
vote
1answer
852 views

Other procedural material generators for Unity?

In the new version of Unity 3.4, unity announced that they would now support procedural materials (which is awesome, by the way). While I was researching it, I found this in the manual: ...
2
votes
2answers
307 views

Displaying 2 textures on the same surface?

I'm messing around with XNA in a very simple Minecraft-esque world I'm making and I'm wondering how I can do the "breaking the block" visuals in XNA. If you're unfamiliar with the game, you begin ...
2
votes
2answers
2k views

What's efficient way to draw a lot of textured cubes in XNA4?

Title says it all. What's efficient way to draw a lot of textured cubes in XNA4?
1
vote
1answer
907 views

Multiple Render Targets not saving data

I originally posted this question on stack overflow, but realised it might be better here. The original question can be found here I'm using SlimDX, targeting DirectX 11 with shader model 4. I have a ...
12
votes
7answers
9k views

Best (Most Popular?) Image Format For Texturing [closed]

Okay, so I am using C++ with OpenGL, and I am going to create a loader to load in textures for my 3D game. (But the textures are 2D). I want the option of transparency, even if I decide not to use it. ...
3
votes
1answer
769 views

How do you get textures out of a png file

I have 1 png of many different textures. I want to use these textures in my iphone game using cocos2d. I found the program "Zwoptex" where you can combine many textures to one png and create a plist ...
5
votes
1answer
2k views

Render to Texture2DArray slices in DirectX11?

I would like to set a slice of a Texture2DArray as a render target in D3D/DirectX11. It's not clear how to do this. What I'm looking for is the DirectX equivalent of glFramebufferTextureLayer(), ...
-2
votes
1answer
287 views

Problem while loading an image for a texture

I have built a slideshow in slimDX and is scrolling a text at the bottom of the images. But I am running through a problem that when my new image is loaded in by the help of Texture.FromFile() ...
2
votes
1answer
2k views

XNA - Use Mouse To Rotate & Arrow Keys To Scroll A Linearly Wrapped Texture:

Using XNA I'm working on my first, relatively simple, videogame for the PC. At the moment my game window is 1024 X 768 and I have a 'Starfield' linearly wrapped background texture 1280 X 1280 in ...
5
votes
1answer
448 views

Line at edge of transparent texture on XNA mesh

I have a mesh that is computer generated with a texture on top of it with transparancy on one side. The SamplerState is set to LinearWrap because I would like the texture to wrap. The problem I have ...
2
votes
0answers
2k views

Interactively edit UV mapped, textured mesh in Cinema 4D without distorting texture?

I'm fairly new to Cinema and I'm building a rigged flat (2d) character out of illustrated pieces. I want the meshes to have an efficient number of polys but sufficient resolution where they'll bend ...
2
votes
1answer
172 views

Integration of homogenous wave

I have a 2D matrix; each of its elements describes a homogenous coordinate in 3D wave (the values of wave coordinates are changed in time). The wave rendering is done with texture. I need to make an ...
2
votes
3answers
1k views

Mapping rectangular texture on trapezoid-like shape

I have a problem with rendering rectangular textures on non-rectangular surfaces. While googling, I found a thread with person having a pretty similar problem: http://www.gamedev.net/topic/419296-...
5
votes
3answers
1k views

Tools for assembling textures into DDS files

There are plenty of tools for making images. I'm not looking for one of those; I have many tools for creating an image. I've got tools for compressing images, generating mipmaps, and even for poking ...
0
votes
1answer
1k views

How to render images/textures in shape/polygon form?

I'm working with SFML right now, and upon finishing the tutorials I still do not know how to give a shape a texture or image -- not just a solid color/outline. The only thing I know can take an ...
4
votes
0answers
167 views

Texture resources [duplicate]

Possible Duplicate: Where can I find free sprites and images? Can anyone recommend any resources for free images that can be used as textures - sky boxes/spheres, dirt, gravel, bark, etc? As ...
1
vote
2answers
3k views

the difference between diffuse texture and ambient occlusion texture

is there any difference between diffuse texture which used in diffuse lighting and ambient occlusion map, or this is the same texture just different naming, because i see it mostly it looked the same?
4
votes
1answer
450 views

Suggestions for implementing a dynamic 2D level

I am working on a game that needs a level that is completely generated. Currently my approach is to draw textures for the levels pixel by pixel during the game (in XNA with SpriteBatch). This is too ...
1
vote
1answer
1k views

How do I accomplish fading texture trails in UDK?

I would like to know how to leave a fading texture/material trail in udk. For example (I'm not sure if there is a special name for this effect): A character may leave footprints that fade after x ...
2
votes
3answers
4k 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
3answers
2k views

Is it possible to batch draw sprites that use different textures without using an atlas?

I've implemented a sprite batch class that uses a sampler array so that I can select a texture to use based on the gl_PrimitiveID. The idea was to be able to draw sprites that use different textures ...
8
votes
1answer
1k views

Procedurally generated terrain map. Blend Transitions between terrain types

The question isn't the greatest wording ever sorry. I have been learning about and prototyping some texture and terrain generation stuff and have run into something perhaps you can help me with. How ...
8
votes
1answer
14k views

How to render a texture partly transparent?

Good Morning StackOverflow, I'm having a bit of a problem right now as I can't seem to find a way to render part of a texture transparently with openGL. Here is my setting : I have a quad, ...
1
vote
1answer
406 views

Is it a good idea to render many textures into one texture?

I'm making a 2D game with OpenGL. In order to avoid changing the state machine and binding at runtime, I want to make consolidate my textures into bigger textures, for example, taking 4 128x128 ...
3
votes
1answer
2k views

Reusing a render target to create multiple Texture2D's (XNA)

i want to be able to loop through a hole bunch of textures, and render them on an object. I then want the rendered image to be placed onto a texture2D. The point? well hopefully i will end up with an ...
1
vote
2answers
4k views

Game Sprite Editting Help(PNG-XNB)

I converted my project's .xnb files to .png files using a program and I can't seem to find a way to transform .png back to .xnb. I don't want to lose the work I've done. How can I change the images ...
2
votes
1answer
2k views

OpenGLES 2.0: Rendering Multiple Sprites - Texel Corruption

I'm having a tremendous time getting the second (or additional) sprites in my game engine to render properly. The first one always works great: it is positioned and sized properly in screen coords, ...
3
votes
1answer
1k views

XNA: Retrieve texture file name during runtime

I'm trying to retrieve the names of the texture files (or their locations) on a mesh. I realize that the texture file name information is not preserved when the model is loaded. I've been doing ...
6
votes
4answers
4k views

Tool to convert Textures to power of two?

I'm currently porting a game to a new platform, the problem being that the old platform accepted non power of two textures and this new platform doesn't. To add to the headache, the new platform has ...
6
votes
2answers
3k views

Rendering multiple textures on a terrain in XNA / C#

I am working on a terrain in XNA/C#. My intention is to be able to render multiple textures on the ground across the terrain. However, all tutorials like this are only capable of doing it with about 3-...
1
vote
1answer
1k views

Android : Some textures not loading after resuming twice

This is an odd one. When I press home and then restart my game I reload all my textures (checking glIsTexture on the id's first). If I do this once, all textures load as expected, but if I do it ...
4
votes
2answers
1k views

How do I draw a portion of a texture onscreen in OpenGL?

I have a sprite sheet loaded as an OpenGL texture, and I'd like to draw a portion of that texture sequentially for animation. Is there an actual OpenGL command to draw part of a texture? I can get it ...
4
votes
3answers
2k views

Skybox textures for our solar system

For a solar system simulation project I'm looking for a good (semi-accurate) set of textures to texture the skybox. I've already found these http://paulbourke.net/miscellaneous/starfield/ and we ...
1
vote
1answer
1k views

Stretching textures for CCSprites in Cocos2D

I'm making a game for iPhone and iPad w/ Cocos2D and Box2D. I scale the size of square objects ("blocks") using a pixel-to-meters ratio depending on the particular device. Can I stretch or shrink ...
10
votes
5answers
5k views

Skybox texture artifact on edge

I have strange problem with drawing skybox texture on Mac. On iPhone everything is going fine. I have tried to change near and far planes value with no success. It is a skybox of six textures, and ...
3
votes
1answer
3k views

How to create mipmap for Unity3d textures loaded with www?

When I load a texture using the code below: WWW www = new WWW(textureName); yield return www; renderer.material = new Material(Shader.Find("Diffuse")); Texture tex = www.texture; tex....
6
votes
2answers
883 views

Textures for an underwater environment?

I'm trying to build an underwater scene. I'm including my scene in a large cube, which I'm going to texture with images that resemble an underwater environment. Where can I get textures for something ...
7
votes
4answers
5k views

Batch conversion of PVR to JPEG (or similar)

The command line PVRTexTool works very well for getting textures into a PVR format, but I need a way of going the opposite directions. Does anyone know of a good command line tool (or GUI with a batch ...
2
votes
1answer
787 views

What are the texture coordinates for a tetrahedron

EDIT This is the WebGL code for initializing the tetrahedron points. You may want to skip to the second code block, because you may be able to answer without this. //Making a tetrahedron with ...
5
votes
2answers
846 views

Is there a tool to automatically pack individual textures into one big png?

I'm currently working on a texture pack for minecraft (but this question is not restricted to that). All terrain textures are squared and stored in one big terrain.png. (FYI that's from Glimmar's ...
6
votes
3answers
328 views

How to make a hand-drawn squared texture periodic with as little modification as possible?

The obvious part is drawing as periodic as possible, but hand-drawing is impossibly so perfect, so what kind of modifications are possible that do not make the textures loose their hand-drawn ...
2
votes
2answers
8k views

Xna: Splitting one large texture into an array of smaller textures

I would like to split a large texture into a one dimensional array of smaller textures. How should I do this?
7
votes
2answers
1k views

Xna: Texture2D from a png file

I'm making a tile based game, and I'm working for support of tilesets. I'm trying to make it so that a Texture2D is set as a chosen PNG file. I can do this with no problem f I load the image into the ...
11
votes
3answers
927 views

How on earth do you get decent color out of 2BPP?

I've been looking into PowerVR textures, and have run into several textures that are apparently 2 bits per-pixel. This, frankly, boggles my mind. How does one get even half way decent color ...