The process of generating an image or series of images from a model by means of computer programming.
1
vote
2answers
55 views
Prevent using Gamma Correction?
In almost every game I've come across that includes a dark situation made to change the way a user interacts, there are always some players who turn up their monitor's gamma correction in order to ...
-1
votes
1answer
62 views
Input rendering
Suppose I have a simple game model (designed with MVC pattern):
There is a World, there is a WorldRenderer and there is a GameController.
Now, World is a model of the world, i.e. game state. ...
6
votes
2answers
1k views
How do you triangulate an arbitrary polygon?
I need to triangulate a polygon for rendering in opengl es on android ( no glu triangulation available)
Is there an already known algorithm for polygon triangulation? The polygon can be convex or ...
0
votes
1answer
54 views
How to render polygons of arbitrary shape? [duplicate]
I am trying to render a plane with nodes.
FYI : Nodes know what other nodes it is being attached to.
I can think of a way to render them as long as they are aligned in a circular pattern; have a ...
0
votes
1answer
477 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
89 views
Resize a texture using the full SpriteBatch.Draw in XNA
I'm using the full Spritebatch.Draw function to draw my explosion sprite since I also need rotation. I am using the Scale value to resize my texture, but I can't get it to be accurate.
I want to be ...
1
vote
1answer
13 views
Seamless tiling with TexturePacker and Marmalade/IwGX
I'm looking for a way to get seamless tiling working, where the tiles are sprites off a TexturePacker sprite sheet, and the rendering is done with Marmalade's IwGX's streams. I also need to render the ...
2
votes
2answers
622 views
Multiple render targets and gamma correctness in Direct3D9
Let's say in a deferred renderer when building your G-Buffer you're going to render texture color, normals, depth and whatever else to your multiple render targets at once.
Now if you want to have a ...
0
votes
2answers
472 views
Rendering another screen on top of main game screen in fullscreen mode
my game runs in fullscreen mode and uses active rendering. The graphics are drawn on the fullscreen window in each game loop:
public void render() {
Window w = ...
4
votes
1answer
283 views
Vertex fog producing black artifacts
I am rendering a textured model using the XNA BasicEffect. When I enable fog, the model outline is still visible as many small black dots when it should be "in the fog". Why is this happening?
...
3
votes
1answer
94 views
How do games deal with Z-sorting partially transparent foliage textures?
I was busy implementing basic transparency in a prototype I'm working on when something occurred to me.
In order for a given texture's transparency to work as expected, the (semi-)transparent texture ...
10
votes
4answers
882 views
How can I acheive a smooth 2D lighting effect?
I'm making a 2D tile based game in XNA.
Currently my lightning looks like this.
How can I get it to look like this?
Instead of each block having its own tint, it has a smooth overlay.
I'm assuming ...
0
votes
1answer
68 views
rendering a dynamic sized rock
I am developing a 2d mobile game that has a large deformable terrain (a lot like worms). I am rendering the terrain using a gray scale bitmap (in a fragment shader) which serves as a texture position ...
11
votes
4answers
7k views
Preferred way to render text in OpenGL
I'm about to pick up computer graphics once again for an university project. For a previous project I used a library called FTGL that didn't leave me quite satisfied as it felt kind of heavy (I tried ...
-3
votes
0answers
91 views
Need a 3D Graphics Rendering Library or Game Engine with Cross-Platform Support [closed]
I am looking to develop a 3D MMORPG, and I would like the game to be available on the iPad, Android, Mac, and Windows. I've done some research, and I've discovered the following game engines and ...
2
votes
1answer
143 views
How do I improve terrain rendering batch counts using DirectX?
We have determined that our terrain rendering system needs some work to minimize the number of batches being transferred to the GPU in order to improve performance. I'm looking for suggestions on how ...
0
votes
1answer
37 views
Divide single SVG into separate files
I have an SVG file contatining deck of cards, each of them in g-container:
<g id="kingspades">...
How do I render individual cards or separate big SVG files into pieces?
-1
votes
1answer
46 views
Anti-Aliasing in Java
In my game I want to have the different anti-aliasing option like: none, x2, x4, x8 and x16. I know that you can use anti-aliasing with Graphics2D in the way below bu is there any way that I can use ...
-2
votes
2answers
71 views
Rendering structure [closed]
my question is "What is the best way to structure rendering code".
Is it better to make a class with a render function that iterates through all game objects
based on there name or type and have no ...
-4
votes
0answers
74 views
How many commercial games use software rendering? [closed]
It seems many games today use graphics accelerating (e.g. OpenGL) but how many still use software rendering? I mean commercial game wise, how many?
0
votes
1answer
58 views
Drawing the same scene with perspective then orthographic projections
I have a scene that I'm rendering first with a perspective matrix. I then want to rerender it in a different viewport using an orthographic matrix for a top-down 2D view of the scene. I think I may be ...
0
votes
0answers
59 views
Skeletal Animation in DirectX [closed]
A few weeks back I asked the following question: Are there alternatives to Vertex Tweening?
I was pointed towards Skeletal Animation, or more specifically: Hardware Skinning. While I found quite some ...
1
vote
3answers
332 views
Rendering multiline text with SDL_TTF
Can you use any function to render more than a line of text in a surface?
If you can't do this, what whould be the way to go?
I am doing the following: Create a surface (not sure if should be a ...
0
votes
0answers
40 views
XNA 4.0 DepthStencil Buffer problem [closed]
I am trying to manage deferred rendering in my project. Esspecialy the skybox and clouds which has to be rendered behind everything and for sure the skybox+clouds will not be passed by deffered ...
0
votes
1answer
147 views
Displaying sprites in a 2.5D raycasting engine
I'm developing a raycasting engine like the one used in DOOM, Wolfenstein 3D, etc.
My engine is capable of correctly displaying walls and textures on walls, but I'm stuck at sprites rendering.
Given ...
-3
votes
2answers
470 views
How to preload a vast amount of models?
This is more a theoretical question,
during runtime, my game runs smooth without any hickups. But as standard game-objects, my game contains collectibles such as coins (which are rotating Models).
...
10
votes
1answer
352 views
Rendering Unity across multiple monitors
At the moment I am trying to get unity to run across 2 monitors. I've done some research and know that this is, strictly, possible. There is a workaround where you basically have to fluff your window ...
0
votes
0answers
103 views
Android OpenGL ES 2.0 gameloop problems
I implemented a gameloop found here: http://www.koonsolo.com/news/dewitters-gameloop/ into my OpenGL ES 2.0 Android game. The tutorial was written with the canvas API in mind, not OpenGL so I made a ...
2
votes
2answers
118 views
What is Volumetric Rendering?
I came across this term when searching for ways to visualize collection of voxels.
What is volumetric rendering ? How is it different from normal surface rendering ? Are there any special advantages ...
0
votes
1answer
64 views
Why does this LUA code not render any objects on the screen? [closed]
Did I mess up something somewhere? If i put a putsxy in the same box, it renders a string just fine, but for some reason this code hates objects. What this code is supposed to do is render a set of ...
0
votes
2answers
72 views
Irrlicht rendering basic OBJ
I have been trying to render a "room" with some basic functions and I found some "bugs".
So at first I have made a "room" out of 6 planes in blender and gave each of them a diffrent color.
...
0
votes
1answer
35 views
Weird rendering issue when applying lightmap through HLSL
I have a weird issue when trying to render the lightmaps in my game.
Please see the following screenshots.
Note how the scene looks up close with the lightmaps enabled.
Note how that same part of ...
1
vote
1answer
135 views
How to provide a fully programmable pipeline for rendering?
I am writing a game engine and I want people who use it allow to define the rendering pipeline. Just they can define the scene geometry, characters, items, light sources, and so on. So the term ...
2
votes
1answer
98 views
Issues upscaling pixel art with SampleState.PointClamp
I'm developing a 2D game, and I'm striving to create a nice blocky low-res appearance for the game, yet allow it to be played at variable resolutions. So, I've researched resolution independency and ...
2
votes
2answers
580 views
HTML5 - Does it have the power to handle a large 2D game with a huge world? [closed]
I have been using XNA game studio, but due to private reasons (as well as the ability to publish anywhere & my heavy interest in isogenic engine), I would like to switch to HTML5.
However, I have ...
0
votes
3answers
116 views
Where to run logic update in openGL ES?
Using Canvas with Surfaceview I had a run() method where I would essentially do the following:
onDraw();
update();
Where onDraw method would do the rendering and update would update all my game ...
0
votes
0answers
190 views
Optimal OpenGL 2D Sprite Batching (Best Practice)
I am working on simple 2D engine using OpenGL (3.3+) for rendering and was wondering what the optimal method of sprite batching would be. I plan to put all sprites into one (or fewer) texture atlases. ...
1
vote
2answers
119 views
One or multiple VertexBuffers
I'm currently working on a personal project where I'm trying to load the levels and all of the geometry from the game "Medal of Honor Allied Assault" into my own C# code-base based on SharpDX.
I ...
3
votes
1answer
98 views
Rendering a black and white image in OpenGL 1.1
Is there is any way that I can simple disable the color in OpenGL 1.1? Or can I "grey out" textures in LWJGL?
2
votes
2answers
3k views
Drawing a circle in OpenGL ES Android, squiggly boundaries
I am new to OpenGL ES and facing a hard time drawing a circle on my GLSurfaceView. Here's what I have so far.
The circle class
public class MyGLBall {
private int points=40;
private float ...
4
votes
1answer
153 views
What is the state of the art of ray tracing on the GPU?
I think ray trace rendering had to be done on the CPU for a long time. But since we have compute shaders in OpenGL 4.3 now, it might be possible to move the computations on the GPU and perform ...
0
votes
0answers
158 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
32 views
Interpolation of surface normals on the face of a triangle and Goroud shading
My question is detailed at this link.
I linked it instead of copy paste because here I can't seem to get the fancy math symbols to show properly here.
Thoughts?
2
votes
1answer
122 views
How can I render the whole faces instead of only the vertices? [closed]
I'm doing my master thesis in comparing DX9 LoD with DX11 Tesselation LoD. Therefore I use a ShaderManager that calls either the shader for the DX9 implementation, where the model is exchanged by the ...
3
votes
1answer
136 views
Choosing the correct isometric character facing direction
I am currently building a 3D game presented from a 2D isometric viewpoint.
The 3D coordinates start at the top left corner of the screen with x and y increasing towards the right and bottom edges ...
-1
votes
1answer
53 views
GLES2 rendering performance for different iPad generations
I'm using C++/GLES2 for iPad only (no iPhone). The only device I own is an iPad2 and I do not plan to support iPad 1.
Can anyone help me understand realistic goals/limits on iPad 2/3/4 in terms of ...
1
vote
1answer
327 views
How to render a tilemap efficiently? [duplicate]
I'm using this code to load a tiled map, composed of 1000x1000 32x32px tiles:
map = new TmxMapLoader().load("levels/xyz.tmx");
camera = new OrthographicCamera();
camera.setToOrtho(false, ...
2
votes
1answer
198 views
Synchronizing input, update and rendering threads
How do you synchronise the input-handling, state-updating and rendering threads?
If a sprite position is modified due to input, the wrong position of the sprite might be drawn to the screen if the ...
-1
votes
2answers
463 views
Problem rendering cube using DirectX 11
I'm toying with DirectX 11 and am trying to render a simple cube, but I can't seem to get anything to show (except the clear color, which is a good sign I suppose...)
Everything seems to be working, ...
0
votes
2answers
936 views
Libgdx Animation Timing
I'm having a small issue with libgdx animation.
I'm using getKeyFrame() to get the current frame of the animation and I'm updating the state time by adding on deltaTime in my update function for the ...



