Texture is a bitmap (raster image) used in a texture mapping process.
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 ...
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 ...
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 ...
3
votes
1answer
97 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 ...
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
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
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 ...
-2
votes
1answer
203 views
Tile engine Texture not updating when numbers in array change
I draw my map from a txt file. I am using java with slick2d library. When I print the array the number changes in the array, but the texture doesn't change.
public class Tiles {
public Image[] tiles ...
3
votes
0answers
83 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 ...
3
votes
0answers
192 views
Suitability of ground fog using layered alpha quads?
A layered approach would use a series of massive alpha-textured quads arranged parallel to the ground, intersecting all intervening terrain geometry, to provide the illusion of ground fog quite ...
3
votes
0answers
478 views
Unity: how to apply programmatical changes to the Terrain SplatPrototype?
I have a script to which I add a Terrain object (I drag and drop the terrain in the public Terrain field).
The Terrain is already setup in Unity to have 2 PaintTextures: 1 is a Square (set up with a ...
3
votes
0answers
591 views
GLSL pack floats into an RGBA texture
I want to compose conventional triangle-based models and particles with a ray-traced scene at a reasonable frame-rate.
webGL does not let you write the gl_FragDepth in the fragment shader. You ...
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
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 ...
2
votes
0answers
473 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 ...
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 ...
2
votes
0answers
171 views
Cubic to equirectangular projection algorithm
I have a cube map texture which defines a surrounding, however I need to pass it to a program which only works with latitude/longitude maps. I am really at lost here on how to do the translation. Any ...
2
votes
0answers
280 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 ...
2
votes
0answers
759 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 ...
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 ...
1
vote
0answers
86 views
glFramebufferTexture2D gives corruption with cube map textures
I am using glFramebufferTexture2D with cube map textures but it gives corruption in texture. draw_cube() function works perfectly when i draw that on default framebuffer.
GLenum ...
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 ...
1
vote
0answers
123 views
loading a heightmap as texture in shader
I have a height map of 256x256, containing, foreach cell, not only height as a normal float value ( not 0-1 ) and also 2 gradient values ( for X and Y ), also as normal float values ( not 0-1 ).
I ...
1
vote
0answers
47 views
A tool to select points on texture, and obtain 0.0f .. 1.0f UV coordinates
If there is a need to create about 40 sets of UV coordinates for 40 different images. The sets can have 4 to ~16 UV points. Is there some way to make this easier?
A tool similar to Inkscape would be ...
1
vote
0answers
48 views
Rendering text with stb_font results in glitches
I'm trying to render text with OpenGL and an "inline"-font taken from the stb_fonts
The relevant code for initializing the font & rendering:
LabelFactory::LabelFactory() {
static unsigned ...
1
vote
0answers
245 views
Need to produce an animated texture of Water where each image tiles in all directions
I need to produce a 2D 'animated' texture of "water" for a game in which each image tiles in 'all' directions, much like those produced by the Caustics Generator, but with the power and flexibility of ...
1
vote
0answers
56 views
How to work with edge Texture
Im not sure if i use the right terms, but im not able to find something to start with.
Im trying to develop a little HTML5 game. I have a ground with a texture and now I want to make a surrounding ...
1
vote
0answers
83 views
Application window as polygon texture?
Is there a way, or method, to have some application rendered as texture in 3D scene on some polygon, and also have full interactivity with it?
I'm talking about Windows platform, and maybe OpenGL but ...
1
vote
0answers
575 views
How to properly add texture to multi-fixture/shape b2Body
Hello to everyone this is my first poste here I hope that will be not fail start.
At start I must say I make part 1 in Ray's Tutorial "How To Make A Game Like Fruit Ninja With Box2D and Cocos2D". But ...
1
vote
0answers
149 views
Remove “dots” noise (like from dot-matrix printer)
I have 2D array of floats. Using the floats, I generate image by doing proportional selection of color from between COLOR_MIN, COLOR_MAX – for maximal float value at given (x,y), I choose COLOR_MAX ...
1
vote
0answers
203 views
D3DX11CreateShaderResourceViewFromFile returns E_FAIL
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
0answers
24 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
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
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;
...
0
votes
0answers
128 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 ...
0
votes
0answers
104 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
67 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). ...
0
votes
0answers
99 views
problem adding bumpmap to textured gluSphere in JOGL
I currently have one texture on a gluSphere that represents the Earth being displayed perfectly, but having trouble figuring out how to implement a bumpmap as well.
The bumpmap resides in ...
0
votes
0answers
96 views
How to Detects two markers at time using Vuforia SDK
I recently has been watch this Video, and this is good to know that its developed by qualcomm. I want to do same sort of project in Unity3d, I already have developed few apps using Vuforia SDK. Before ...
0
votes
0answers
144 views
How to add render able Texture in Unity 3d for iOS
I want to render an image on texture which should be stuck at one point, not stuck with Camera. I don't know how to accomplish this task because I started unity a week ago but I want to do this task ...
0
votes
0answers
115 views
2D Textures are shown through objects in front of it(OpenGL)
I am learning to use pyglet and learning about applying 2D textures to planes in pyglet. When I apply the 2D texture to the plane it works fine. When I make multiple objects with the same texture , ...
0
votes
0answers
48 views
System hangs at glReadPixel call with GL_TEXTURE_2D_ARRAY for texturing
I am calling glReadPixel after glDrawArray call. I am rendering a geometry with 3D texture on it as a target GL_TEXTURE_2D_ARRAY. My systems hangs at glreadpixel call. When i use target as ...
0
votes
0answers
274 views
3D texture coordinates for a cube
I want to use glTexImage3D with cube. what will be the texture coordinates for it? i am using GL_TEXTURE_3D as target. I tried with u v coordinates same as 2d texture coordinates with z component ...
0
votes
0answers
23 views
Unexpected behaviour with glFramebufferTexture1D
I am using render to texture concept with glFramebufferTexture1D. I am drawing a cube on non-default FBO with all the vertices as -1,1 (maximum) in X Y Z direction. Now i am setting viewport to X ...
0
votes
0answers
54 views
unity texture baking limit
I'm baking textures in unity to use for the navmesh but there's a limit of 1024 tiles, is it possible to increase this limit to accomodate the amount I have to bake
0
votes
0answers
166 views
What's a good way to organize samplers for HLSL?
According to MSDN, I can have 4096 samplers per context. That's a lot, considering there's only a handful of common sampler states.
That tempts me to initialize an array containing a whole bunch of ...
0
votes
0answers
2k views
GLSL Shader Texture Performance
I currently have a project that renders OpenGL video using a vertex and fragment shader. The shaders work fine as-is, but in trying to add in texturing, I am running into performance issues and can't ...
0
votes
0answers
545 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 ...