The process of generating an image or series of images from a model by means of computer programming.
16
votes
1answer
4k views
Isometric rendering and picking?
I've been looking for a formula to plot (world->screen) and mouse pick (world->screen) isometric tiles in a diamond-shaped world.
The ones I've tried always seem to be, well, off.
What's the ...
12
votes
4answers
1k views
Should actors in a game be responsible for drawing themselves?
I am very new to game development, but not to programming.
I am (again) playing around with a Pong type game using JavaScript's canvas element.
I have created a Paddle object which has the following ...
27
votes
2answers
2k views
What is deferred rendering?
I've heard about deferred rendering and how using it can allow for "lots" of lights in a scene without a huge performance hit, but what is it and (from a high level) how is it implemented?
14
votes
3answers
742 views
What does the graphics card do with the fourth element of a vector as the final position?
From this question it appears you would want a four-element position vector, as it is simpler to modify its position with matrix multiplication.
On its own this would imply the fourth element should ...
10
votes
1answer
467 views
11
votes
6answers
1k views
How can I create my own sky maps?
What are the methods/tools for generating realistic skies with clouds and atmospheric shading?
FOSS alternatives and spherical projections get extra points.
42
votes
2answers
2k views
How can I get textures on edge of walls like in Super Metroid and Aquaria?
Games like Super Metroid and Aquaria present the terrain with the other facing parts having rocks and stuff while deeper behind them (i.e. underground) there's different detail or just black.
I ...
21
votes
4answers
1k views
Architecture a for a central renderer rather than self-rendering
For the architectural side of rendering, there's two main ways: having each object render itself, and having a single renderer which renders everything.
I'm currently aiming for the second idea, for ...
7
votes
1answer
466 views
Information about rendering, batches, the graphical card, performance etc. + XNA?
I know the title is a bit vague but it's hard to describe what I'm really looking for, but here goes.
When it comes to CPU rendering, performance is mostly easy to estimate and straightforward, but ...
11
votes
2answers
3k views
How do you programmatically generate a sphere?
Could someone please explain how it would be possible to create a sphere vertices, indices and texture coordinates? There is a surprising lack of documentation on how to do so and it is something that ...
3
votes
2answers
1k views
polygon triangulation algorithm
I need to triangulated a polygon for rendering in opengl es on android ( no glu triangulation available)
Is there an already known algorithm for this? The polygon can be convex or concave (with no ...
8
votes
6answers
2k views
Should an object in a 2D game render itself?
I'm making a 2D street fighter-like game that is not tile based. Usually people recommend that entities be given to a renderer that render them, not them render themselves, but it seems the inverse is ...
4
votes
1answer
1k views
Repeat texture in libgdx
How to fill region with repeated texture? Now I'm using next method:
spriteBatch.begin();
final int tWidth = texture.getWidth();
final int tHeight = texture.getHeight();
for (int i = 0; i < ...
3
votes
1answer
170 views
Is there any heuristic to polygonize a closed 2D raster shape with n triangles?
Let's say we have a 2D image black on white that shows a closed geometric shape.
Is there any (not naive brute force) algorithm that approximates that shape as closely as possible with n triangles? ...
9
votes
6answers
4k views
LOD in modern games
I'm currently working on my master's thesis about LOD and mesh simplification, and I've been reading many academic papers and articles about the subject. However, I can't find enough information about ...
5
votes
1answer
1k views
Game Code Design for Rendering
I first created a game on the iPhone and I'm now porting it to Android. I wrote most of the code in C++, but when it came to porting it wasn't so easy. The Android's way is to have two threads, one ...
13
votes
3answers
10k views
11
votes
4answers
7k views
Preferred way to render text in OpenGL
I'm about tu 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 ...
7
votes
4answers
1k views
glsl demo suggestions?
In a lot of places I interviewed recently, I have been asked many a times if I have worked with shaders. Even though, I have read and understand the pipeline, the answer to that question has been no. ...
4
votes
2answers
522 views
What is the order-less rendering technique that allows partial transparency?
I've seen somewhere rendering technique that allows order-less rendering of partially transparent sprites/objects.
Though I can't remember what the technique is called, so I'm having trouble Googling ...
10
votes
1answer
521 views
How does pixeljunk shooter simulate its liquids?
I am really impressed by the liquids in pixeljunk shooter. I would love to know how they do it.
7
votes
3answers
2k views
Questions about rendering access in UDK
I also asked about this over on the UDK forums, but haven't had much luck getting any responses. Basically, I have some experience with UT3 modding, but I'm just getting started with the UDK, and I ...
5
votes
3answers
3k views
building a game for different resolution phones
I am starting some tests for building a game on the Android program.
So far everything is working and seems nice.
However I do not understand how to make sure my game looks correct on all phones as ...
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 ...
10
votes
2answers
13k views
How Do I Do Alpha Transparency Properly In XNA 4.0?
Okay, I've read several articles, tutorials, and questions regarding this. Most point to the same technique which doesn't solve my problem. I need the ability to create semi-transparent sprites ...
4
votes
2answers
3k views
[Unity] Render an animated texture to a screen
I'm looking for a way to write a typed text on a texture, and then render it on a screen: in the game it's just the screen of a computer where a scientist is typing text on.
The texture will be ...
1
vote
1answer
149 views
Distrubuted Rendering in a CAVE system
I am currently working with CAVE systems and I'm looking into hooking up a pre-exisiting game engine in one. I know this is possible through Unity and the Unreal Engine as there is already research ...
7
votes
2answers
405 views
Portal Projection
Ok ok I admit, I'm bored and toying with a portal script like the one on steam.
I've figured out the following:
relative positioning of the mirrored cameras
render to texture for the portal (the ...
3
votes
1answer
185 views
Pygame performance issue for many images
I've made a script for generating a game world based off of image pixel data.
Trying to make a python map editor
My progress so far has resulted in a program which loads an image and draws sprites ...
3
votes
1answer
213 views
Should the frame rate be consistent or is it normal for it to jump around?
As I commented on a post, I started wondering if it was correct or not (the comment, not the answer). And I'd like to straighten that out.
Although not needed as info, here's the link to the ...
1
vote
1answer
127 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 ...
