Texture is a bitmap (raster image) used in a texture mapping process.
0
votes
1answer
32 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 ...
0
votes
1answer
42 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 ...
1
vote
2answers
65 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:
...
0
votes
1answer
62 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
82 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
79 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
264 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?
...
-3
votes
1answer
108 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 ...
8
votes
1answer
284 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 ...
0
votes
0answers
23 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 ...
0
votes
1answer
87 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 ...
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 ...
5
votes
1answer
99 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 ...
-1
votes
0answers
44 views
Texture / shader template program [closed]
I would like to use OpenGL to downsize images, using shaders. I would be very grateful, if somebody can give me a sample program in C++, which loads bitmap texture, draws it to the entire screen and ...
-3
votes
0answers
48 views
Bullet not return when player shoot to any object [closed]
package com.example.game4;
import java.io.IOException;
import java.util.Iterator;
import java.util.LinkedList;
import javax.microedition.khronos.opengles.GL10;
import ...
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 ...
-2
votes
0answers
35 views
rendering or calling textures on the wall of the cube [closed]
what am i doing wrong im trying to call or render textures for my cube but when i put this code in the main program and run it all im getting is a black screen the cube vanishes am i calling ...
0
votes
0answers
50 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
51 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 ...
0
votes
1answer
64 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 ...
1
vote
2answers
95 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
2answers
72 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 ...
1
vote
1answer
108 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 ...
2
votes
1answer
71 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 ...
2
votes
2answers
92 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 ...
3
votes
1answer
93 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
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 ...
2
votes
0answers
70 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 ...
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
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 ...
0
votes
0answers
23 views
Syncing texture animations which can be created at any given time
I have a texture animator that will advance animation frames based on the time that has elapsed since it was instantiated.
timeElapsed += (float)gameTime.ElapsedGameTime.TotalSeconds;
...
2
votes
1answer
127 views
XNA 4.0, FBX and Texture Loading Failures
I've been going through several tutorials on how to use XNA and understand a lot thus far. I've got a screen, I've got 2D sprites working, got a shader system operational, so far so good. Now I've ...
0
votes
1answer
147 views
How expensive is OpenGL Texture Binding
I'm currently working on a renderer for Tiled's .tmx maps. Among one of the features there is that layers and tilesets are independent, so that a layer can use any tile set on any tile. It's not so ...
0
votes
1answer
77 views
Why texture coordinate of flat surface reflection is calculated like this in fragment shader? [closed]
The whole project is here: https://developer.apple.com/library/mac/#samplecode/GLEssentials/Introduction/Intro.html
The rendering flow is like this:
Render the character upside down to a texture.
...
0
votes
0answers
125 views
3ds max render to texture in PNG
Using 3ds Max 2012, I've been able to use the "render to texture" function to successfully bake my lighting. The only problem is that these image files are always output to TGA files. I need PNG ...
1
vote
1answer
105 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 ...
0
votes
0answers
100 views
HLSL Triplanar texturing and multi texturing performance
I'm stuck for my terrain rendering shader code for DX9. I'm looking to implement triplanar texturing, a texture atlas, and blending between different textures. Right now it's working. The problem is ...
0
votes
0answers
62 views
Texture not rendered correctly while zooming in LibGdx
I'm trying to make a game with libgdx which can run in multiple aspect ratio. The idea is to zoom in/zoom out the camera until the height of my screen same as the device height (my game is landscape). ...
1
vote
0answers
23 views
Repeating UVs wont convert to texture in maya
I have designed a material in Maya which i want to convert to a texture jpg, however i have repeating the UV's on the material. When i convert the material to a jpg the repeating UV's wont convert ...
0
votes
1answer
120 views
How to make a cube mesh and texture for XNA use?
I have a very specific question which I feel should have a very short answer, but which I can't seem to find despite Googling on and off all day.
I'm trying to start with 3D graphics, and I read up a ...
1
vote
1answer
108 views
opengles display human face in iphone and animate it?
I need to make a human 2D face to 3D face.
I used this link to load an ".obj" file and map the textures. This example is only for cube and pyramid. I loaded a human face ".obj" file.
This loads the ...
0
votes
1answer
123 views
OpenGL accepted image formats
I am just starting out with OpenGL, so I need a little help understanding how textures are loaded. When I look at the OpenGL manual, it gives a list of accepted image formats, e.g.
...
4
votes
1answer
153 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 ...
3
votes
1answer
95 views
Scaling and rotating texture onto another texture by raw buffer data
I've been messing with C++ AMP and OGRE in attempt to make writing to/altering textures to my liking easier on my behalf. In this I've been trying to draw a texture onto my "dynamic" texture with ...
1
vote
1answer
54 views
Does iOS support BC4 compressed texture?
I've been designing a new OpenGL image algorithm using BC4 textures at its core.
It works well accross Windows and Mac, my main targets up to now.
But today, the customer added a new requirement : it ...
1
vote
2answers
174 views
Dynamic Textures
I am pretty new to this 3D designing and animating, and as an indie developer I need to do everything on my own
I have created this simple box character And I want to texture it, have looked around ...
0
votes
1answer
175 views
Stars coming out of screen [closed]
I am pretty new to Graphics Programming. I am currently using OpenGL.
I have got some hands-on in last few days. I have knowledge of Texture Mapping, Cubemap, Multitexturing. But somehow I am not able ...
0
votes
1answer
122 views
Using compressed(ETC1) textures in LibGDX
I use standard android tool for compressing PNG texture and archiving it with gzip:
/android-sdks/tools/etc1tool texture.png --encodeNoHeader
gzip texture.pkm
Then I try to load it:
FileHandle ...