Texture is a bitmap (raster image) used in a texture mapping process.
0
votes
1answer
52 views
How to draw textures on a model
The following code is a complete XNA 3.1 program almost unaltered to that code skeleton Visual Studio is creating when creating a new project.
The only things I have changed are
imported a .x model ...
0
votes
1answer
30 views
Objects won't render when Texture Compression + Mipmapping is Enabled
[EDIT: FIXED - Calling setting texture max level fixed that]
I'm optimizing my game and I've just implemented compressed (DXTn) texture loading in OpenGL. I've worked my way removing bugs but I can't ...
0
votes
1answer
34 views
Issue with Mapping Textures to Models in Blender
I've been trying to texture a model using Blender, but when I draw on the UV Editor it doesn't show up on the model, and I can't draw on the model itself. I've tried saving the image and the 3D View ...
0
votes
1answer
37 views
Artifacts when using SamplerState.LinearClamp in SpriteBatch
I'm using XNA 4.0 and VS2010 Express for Windows Phone and Windows Phone SDK 7.1.
This is a platform game and I have a map made up of 16x16 textures that is drawn dynamically, tile by tile.
When ...
0
votes
0answers
51 views
Why is my arrow texture being drawn in odd places?
This is a script I wrote that places an arrow on the screen, pointing to an enemy off-screen, or, if the enemy is on-screen, it places an arrow hovering above the enemy. Everything seems to work, ...
4
votes
1answer
83 views
Two graphical entities, smooth blending between them (e.g. asphalt and grass)
Supposedly in a scenario there are, among other things, a tarmac strip and a meadow. The tarmac has an asphalt texture and its model is a triangle strip long that might bifurcate at some point into ...
3
votes
3answers
140 views
Would like some help in understanding rendering geometry vs textures
So I was just pondering whether it is more taxing on the GPU to render geometry or a texture. What I'm trying to see is whether there is a huge difference in rendering two scenes with the same setup:
...
1
vote
1answer
52 views
How to implement custom texture formats in Android?
What I know:
Android can load PNG, BMP, WEBP,... via BitmapFactory.
What I want to achive:
Load my own 2D file format (e.g. 1-bit texture with a 1-bit alpha channel) and output a RGBA8888 texture.
...
2
votes
2answers
102 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
19 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
50 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 ...
2
votes
1answer
82 views
Fourth texture = segmentation fault
I keep on getting segmentation fault each time I load fourth texture - what type of texture, I mean filename, does not matter. I checked value of GL_TEXTURES_STACK_SIZE which turned out to be 10 so ...
0
votes
1answer
59 views
how to create texture for modelmesh?
Is there a possibiltiy to create a texture from a meshpart in xna. By getting a flat version of the mesh. So I can create a texture for it and edit that texture(via rendertarget)? I need to get the ...
3
votes
2answers
99 views
Having the same texture data in different ID3D11Texture2D
Sorry if this has been answered elsewhere - I'm rather new to DX. My question concerns conservation of resources - specifically textures in VRAM. I assume that upon returning from a call to ...
0
votes
2answers
147 views
Map and fill texture using PBO (OpenGL 3.3)
I'm learning OpenGL 3.3 trying to do the following (as it is done in D3D)...
Create Texture of Width, Height, Pixel Format
Map texture memory
Loop write pixels
Unmap texture memory
Set Texture
...