Texture is a bitmap (raster image) used in a texture mapping process.
1
vote
2answers
55 views
Building a tessellated texture
In games like Minecraft the textures such as grass when lined up side-by-side it looks like one big perfect texture. When I make a texture it's never even and you can see the different blocks. How do ...
0
votes
0answers
7 views
does cocos2d cache texture automatically
I know if we want the textures cached we can use the sharedtexture manager to cache them, but since this is on mobile platform , why don't cocos2d-x just do this for all texture loads ?
when creating ...
2
votes
1answer
290 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
42 views
How can I draw a small bitmap on a larger bitmap at a particular position? (Canvas / SurfaceView)
I'm building a game that requires additive blending of colours for certain bitmaps.
Say I have 4 different types object, there are maybe ten of each type on the screen with each type having a ...
7
votes
1answer
348 views
Spritebatch drawing sprite with jagged borders
Alright, I've been on the making of a sprite class and a sprite sheet manager, but have come across this problem. Pretty much, the project is acting like so; for example:
Let's take this .png ...
0
votes
3answers
204 views
XNA SpriteBatch.Draw with rotation, scaling and origin?
I use a 1x1 pixel 2d texture as source for SpriteBatch.Draw. The texture is scaled and rotated around an origin. The left image is only scaling. The right one scaling + rotation around the origin at ...
0
votes
1answer
45 views
Computing uv coordinates on a sphere approximated from an octahedron
Right now I'm texturing the octahedron with the formular from wikipedia(Finding UV on a sphere): UV Coordinates Wikipedia
That unfortunately leads to heavy distortion right at the beginning, which of ...
0
votes
1answer
467 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 ...
1
vote
2answers
67 views
XNA spritebatch.Draw: Which part gets colored by the color parameter?
Which part gets colored and how can I control it?
I have a rounded block and my goal is to have the center filled with a certain color chosen by that parameter. Here's the picture:
...
4
votes
1answer
155 views
Creating rectangles from the inner part of a texture2D
Ok, this may be hard to understand, but I'll do my best.
You will see that the first image is a normal mario, and the other is the result I am looking for. I'm trying to find a way to extract ...
0
votes
1answer
64 views
Ogre: Light not reflecting correctly
In my Ogre 3d scene I have an empty box, and within that there are three small cubes. The camera is also within the box, facing the three small cubes. The user can move and rotate the camera with the ...
1
vote
1answer
84 views
Texture Shaders vs. Pixel/Fragment Shaders?
My question is a simple one.
Functionally, practically, and performance-wise, what are the differences between using a D3DX Texture Shader, and using a Pixel/Fragment Shader rendered with a full ...
3
votes
0answers
84 views
OpenGL: Filtering/antialising textures in a 2D game
I'm working on a 2D game using OpenGL 1.5 that uses rather large textures. I'm seeing aliasing effects and am wondering how to tackle those.
I'm finding lots of material about antialiasing in 3D ...
0
votes
2answers
315 views
Is it legal to reuse a 3D model as long as it has a new texture?
If I create a 3D model and texture for a client, say a house. Can I reuse that same 3D model, but apply a new texture and then legally use that in my own game? Is that enough of a difference?
...
-1
votes
2answers
522 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 ...
3
votes
1answer
98 views
XNA windows phone release black textures
i just made a 3d game in XNA for windows phone 7. I build it in release mode on visual studio 2010 and suddenly when I run game there is no textures on models - 2 models are black and one is ...
-3
votes
1answer
109 views
What are some common 3D modeling tools? [closed]
I'm horrible at 3D modeling but I want to get better. Now the problem is that I have yet to find a good program that's easy to use. I want to be able to find one that's not just easy but also not ...
5
votes
1answer
346 views
FBO rendering different result between Galaxy S2 and S3
I'm working on a pong game and have recently set up FBO rendering so that I can apply some post-processing shaders. This proceeds as so:
Bind texture A to framebuffer
Draw balls
Bind texture B to ...
8
votes
1answer
326 views
How to reduce image size without pixelation?
I see lots of games with smooth edges characters and high res images, however when I try to reduce images to say 64x64 for my character I just get a pixelated mess. even if I start with a 64x64 canvas ...
3
votes
2answers
659 views
OpenGL 3.0+ framebuffer to texture/images
I need a way to capture what is rendered on screen, i have read about glReadPixels but it looks really slow.
Can you suggest a more efficient or just an alternative way for just copying what is ...
0
votes
0answers
25 views
How can I find the pixel color of a given position in a SlickUtils Texture?
I'm making a mini-map system for my tile based game, and I thought the best way to accomplish this would be the following: at the beginning of the game, I calculate the predominant color of every ...
2
votes
2answers
543 views
OBJ model loaded in LWJGL has a black area with no texture
I have a problem with loading an .obj file in LWJGL and its textures.
The object is a tree(it's a paid model from TurboSquid, so I can't post it here,but here's the link if you want to see how it ...
0
votes
1answer
32 views
OSX Based Equivalents for Stacking Normal Maps?
I've been looking for an OSX based alternative to the Windows based xNormal and NVIDIA textures tools for stacking normal maps in photoshop.
Can anyone recommend something, whether it's a standalone ...
0
votes
1answer
91 views
How to seamlessly texture a cube in OpenGL
I have been following this site as an intro to OpenGL.
After going through the model obj loading tutorial, I wanted to create my own .obj (a cube) as well as my own texture. Following this blender ...
0
votes
0answers
21 views
Size of an image imported with FreeImage
I'm having abit of a brainfart and I can't quite grasp what I'm doing wrong.
It's quite simple, I am importing an image with FreeImage (http://freeimage.sourceforge.net/) which has a method ...
1
vote
1answer
70 views
example of texture mapping in pyglet
Using pyglet, I am trying to create a UVSphere mesh, and on its surface I would like to display a mercator-projection map. In researching examples of pyglet texture mapping, I have found:
Nehe ...
5
votes
1answer
110 views
Mip Maps on 2D Sprite causing black line above. Why is this?
I am new to Unity. I'm trying it out and using Futile for a code-first approach, but still importing textures using the Unity system.
The problem I'm having is that when I use mip maps to scale large ...
2
votes
0answers
45 views
OpenGL ES Single Bitplane Texture (or something close)
I'm looking to use a texture to store single bits (or a low number of bits, two or three). This in of itself isn't hard if you're using nearest neighbor sampling with some bit plane unpacking. The ...
0
votes
0answers
51 views
textures and bouncing balls inside a cube [closed]
i have a cube with texture but when i add 3 balls so that they bounce on the walls of the cubes everything seemed to be wrong,the balls are not bouncing in the right directions, i want them to bounce ...
0
votes
0answers
35 views
trying to add texture to my code [closed]
I have been working on making a cube and I have some balls inside it though I am having problems on how I can put or add texture to my code. I am trying to learn but it seems whatever material I'm ...
1
vote
1answer
52 views
XNA texture overlay with offset
Is it possible to overlay one texture over another and make them into a new texture? It should also work with an offset.
Here's an example:
This texture
and this texture
should make this ...
1
vote
2answers
100 views
XNA texture GetData exception
When using this code:
public static Texture2D MakeTexRed(Texture2D tex)
{
Texture2D drawTex = new Texture2D(Game1.graphics.GraphicsDevice, tex.Width, tex.Height);
Color[] data = ...
0
votes
1answer
65 views
Texture not carrying over to game correctly?
I have created my map for my game using 3DS Max. I have then applied textures to the map within 3DS Max, where the textures all show correctly. I export the map as a .fbx file to use within an XNA ...
0
votes
2answers
76 views
Sprites: Are there any tools to scale sprites individually without using Photoshop/GIMP? [closed]
I am using TexturePacker as tool to pack my 2D sprites, it is good but it doesn't provide the possibility to scale individual sprites to a specific scale.
I am wondering whether there is any good ...
2
votes
2answers
99 views
Raytracer texture mapping (to triangle mesh) leaving artifacts
So I am trying to get OBJ loading working in my raytracer. Loading OBJs works fine, but I am having some trouble with getting the texture mapping working.
Here is an image of my result. It is ...
1
vote
1answer
110 views
Powers of 2 textures in Android 2d games?
I've read a lot about the importance of using powers of 2 png's for textures when using OpenGL ES. However, how does this relate to Google's own documentation regarding the resizing of graphics for ...
12
votes
5answers
2k views
Tools for generating texture atlases/sprites from source images? [closed]
Is there an industry standard file format for texture atlases?
What are the apps that take a directory of images and turns it into a texture atlas png and a text file describing what's on it?
This ...
4
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 ...
5
votes
1answer
241 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 ...
0
votes
1answer
177 views
Why does multiplying texture coordinates scale the texture?
I'm having trouble visualizing this geometrically - why is it that multiplying the U,V coordinates of a texture coordinate has the effect of scaling that texture by that factor?
eg if you scaled the ...
0
votes
1answer
365 views
3D Texture Mapping (Atlas)
This is a pretty simple question. If I was to use multiple images in a single texture for a 3D cube, how would I go about re-using each vertex (having 8 total vs 24)?
With a single buffer of 8 ...
2
votes
0answers
140 views
Blender move single UV point
Texturing in Blender and when I am moving UVs around in the UV/Image Editor I'm finding that I can't move a single UV point without moving all other UVs that are connected to the vertex.
This seems ...
1
vote
0answers
76 views
Blender 2.6: UV-Matching on Non-Image-Textures
Situation:
I want to model a piece of wood in Blender (2.63.0). In order to do this I use a set of Noise and Clouds textures on a brown material. But these textures are warped and shown in the wrong ...
2
votes
1answer
72 views
Blender Texture Seam
I am trying to follow this tutorial to create a brushed metal "start" button. (I am very new to all of this) I want the button to look nice when rendered in a game engine.
For some reason I can not ...
1
vote
2answers
406 views
Making a 2D game with responsive resolution
I am making a 2D game, however I wish for it to be resolution agnostic.
My target resolution i.e. where things look as intended is 1600 x 900.
My ideas are:
Make the HUD stay fixed to the sides no ...
1
vote
2answers
142 views
Why are normal maps in tangent space but not in normal space?
I want to implement normal mapping in my little game engine. When getting into normal mapping, I wonder why normal maps are typically in tangent space but not in normal space? That normal maps in ...
3
votes
1answer
96 views
Multiple Textures in Shader?
I have this (pseudo) code:
unsigned int TextureLoc = glGetUniformLocation(programID, "objectTexture");
for(int i = 0; i < object->texturesCount; i++)
{
glActivateTexture(GL_TEXTURE0);
...
1
vote
2answers
138 views
HLSL Multitexturing with more than 4 textures
I've come up with an idea that should work in multitexturing a terrain with more than 4 textures, up to a 64 if a supported ShaderModel is used.
I'm trying to use the RGBA color values as both values ...
1
vote
1answer
108 views
How to draw different textures on my cubes DrawUserIndexPrimitive with XNA?
I'm having some problem to draw textures with class "DrawUserIndexPrimitive" on Xna.
I can draw my cubes / models without problem. But I want to draw different textures on my cubes.
I loop on each ...
2
votes
0answers
72 views
Getting UV maps from UDK?
I have created a map using UDK and I am exporting it as a .fbx for use within an XNA project.
My question is, can I generate a UV map for texturing the map or is there an easier way to texture a map ...




