The process of generating an image or series of images from a model by means of computer programming.

learn more… | top users | synonyms (1)

1
vote
2answers
253 views

Tiled Rendering - Projection matrix

I'm trying to figure out how to perform tiled rendering of my 3d scene (OpenGL). The motivation is to cut the scene up into several textures, combining them into a single image for saving at a very ...
1
vote
1answer
474 views

LibGDX - Box2D: Realistic Light and Layers

I'm having some problems with my current game. Short description: It's a 2D game where you have to avoid the lights or you lose HP. My problem is the following one: Here is the rendering process: ...
0
votes
0answers
39 views

Speed up the DirectX game - how else can I boost the fps with typical triangle drawing?

I am writing my own c++/DirectX engine. I've made the basic framework and here comes the time for optimizations. I don't want to focus on optimizing the resources themselves right now (meshes, ...
8
votes
6answers
2k views

How come the 3d graphics and animations of MMORPGs are usually worse than non-online 3d games? [on hold]

I have noticed that in general it seems like the 3d graphics and animations for MMOs and MMORPGs seem not as seductive and polished as the graphics for normal, non-online 3d games. How come this is ...
0
votes
2answers
1k views

OpenGL : Suggestion on handling collision detection and vertex data?

I was thinking how to do collision detection in my OpenGL application and came to conclusion that I should keep two copies of my geometry data. 1)First copy : Only for OpenGL rendering purposes.This ...
0
votes
1answer
86 views

How should I render multiple objects in OpenGL?

I am just getting my head wrapped around modern OpenGL. Let's say that I would like to draw 10 objects, how would I structure that? Would I call glDrawElements(...) in a for loop 10 times? void ...
1
vote
2answers
87 views

LibGDX - Rendering things in different classes

thanks for your time! I'm really new to LibGDX (and Java itself). Which approach should I use to render my different game parts? I want to show a background, the main character, a bunch of enemies ...
0
votes
1answer
109 views

GameObject is only rendered when it has a negative z scale

I have an orthographic camera that looks like this: I create 2d polygonal meshes that have uniform z values in their vertices. I use Camera.ViewportToWorldPoint() to map these viewpoint vertices to ...
0
votes
1answer
168 views

android game development: why is my screen black?

so, im strarting an android game from scratch, and every time I try i stumble uppon the same problem, my screen is not displaying what i want it to. I've read various tutorials but they are either ...
3
votes
1answer
140 views

How to use a mask texture with Kobold2D

I am an iOS developer but I'm new to cocos2d. I'm working on new game, I use Kobold2D, have cocos2d installed too, and I want to make this effect: I know how is done with Flash, but can't make it ...
1
vote
1answer
565 views

LWJGL SlickUtil Texture Binding

I am making a 3D game using LWJGL and I have a texture class with static variables so that I only need to load textures once, even if I need to use them more than once. I am using Slick Util for this. ...
0
votes
0answers
33 views

Tessellation won't render

I am starting to work with tessellation and have some problems right in the beginning. I try to render a quad made of two triangles with tessellation, but nothing appears on the screen. But as soon as ...
1
vote
2answers
313 views

How do I efficiently determine what objects are visible to a camera?

I want to call the rendering methods of only the game objects that are visible. How can I efficiently determine which objects or tiles are within the camera's rendered region?
2
votes
1answer
268 views

What is the correct multiplication order for a 2D matrix?

I'm currently trying to create a camera and entity/model matrix for my 2D game similar to that of Unity3D. I've already tried to find answers to this question on stackoverflow/gamedev but i couldn't ...
0
votes
0answers
18 views

3D Model is existent, but not rendering in LibGDX

I'm trying to render a simple model in libgdx. I tried ObjLoader, G3DLoader, and Asset loading but nothing works. I know the Model is actually there because when using a different batch besides the ...
0
votes
0answers
43 views

How to properly use large texture that is not power of 2?

I'm making a 2D game, rendered using WebGL (using ANGLE, which means that on Windows DirectX is actually used). This is desktop-only game, but would be great to be compatible with integrated graphics ...
2
votes
0answers
37 views

How do I create a half-ortho half-perspective projection matrix

I've been trying to make a formula for the projection matrix where your vertical axis is projected orthographically but your horizontal axis will have perspective to it. So the view frustum would ...
8
votes
3answers
276 views

Using full resolution of depth buffer for 2D rendering

I'm working on a front-to-back renderer for a 2D engine using an orthographic projection. I want to use the depth buffer to avoid overdraw. I have a 16-bit depth buffer, a camera at Z=100 looking at ...
9
votes
4answers
1k views

Could frame interpolation like used by SmoothVideo Project be an option to increase the framerate of games without as big a performance hit?

The SmoothVideo Project uses frame interpolation to increase the fps of video from 24 to 60. The results are pretty impressive. I was wondering if this could be applied to, and whether it would look ...
2
votes
1answer
75 views

Render on texture with alpha 0 for the background colour

Sorry if the question is stupid but I am very new to opengl. I render on a target a scene with a couple of object on a background that is nothing more than the clear colour (which is ...
0
votes
1answer
550 views

How to render a vertex buffer in DirectX11 C++ (specifically with box2d's b2Draw)

I have all the DirectX11 devices etc setup and working with DirectXTK's SpriteBatch and currently attempting to implement a b2Draw class to draw my box2d physics worlds. I have little idea on how to ...
0
votes
1answer
39 views

Efficient method to export a lot of pre-rendered sprites from 3D models

I have a lot of 3D Characters and I wish to use them in a 2.5D game as Sprites; in doing this I have to render them from a fixed camera angle and since each should have its own atlas file containing ...
1
vote
1answer
40 views

Certain random content rendering differently

On the main menu of my game there is (obviously) several buttons. 2 of which, in different positions on different screens, render a different colour to the rest. As you can see below, "New game" ...
1
vote
2answers
167 views

How can I render extremely large models?

I'm trying to build a game in Unity similar to the game Kerbal Space Program where there are large celestial bodies that the player can orbit. I'm running into a few problems though. My first issue is ...
22
votes
5answers
35k views

What is ambient occlusion?

I've heard about ambient occlusion and it looks nice, but what exactly is it?
2
votes
0answers
155 views

Texturing Objects in OpenGL

Using OpenGL tutorials found here, I constructed an .obj file loader as well as a texture file loader using SOIL. I have an issue with drawing a textured object. (Shown here) Assuming I created the ...
0
votes
3answers
203 views

Creating a separate renderer for entities in a 2D game

I'm making a 2D shooter game. As of now, every entity "draws itself", meaning every renderable entity has a draw function. I know it is better if rendering is handled separately, but how can I achieve ...
4
votes
3answers
664 views

What Shading/Rendering techniques are being used in this image?

My previous question wasn't clear enough. From a rendering point of view what kind of techniques are used in this image as I would like to apply a similar style (I'm using OpenGL if that matters): ...
0
votes
1answer
31 views

How to store each rendered frame as image in libgdx for debugging

I have a libgdx screen's render method where I am executing lots of for loops and drawing various shapes on screen in thoese loops. Also I am manupulating (x,y) of each shape at runtime to acheive a ...
1
vote
1answer
27 views

Does projection take place before clipping in the rendering pipeline?

At first I thought clipping happens before projection since new vertices may be added and the output of projection is in NDC which is 2D. However after a lot of googling, I found that some ...
0
votes
0answers
43 views

Problem with SSAO

I'm trying to implement SSAO based on this tutorial (and other). My setup: XNA 4.0 Deferred depth = z/w This is result: Lines across buildings are moving when I move camera. So I'm wondering ...
1
vote
1answer
35 views

Fastest way to render image data from buffer

Currently I am doing my rendering by using a 3D array window_width x window_height x rgb as a buffer, then looping through the buffer and plotting pixels on screen using SDL2 (SDL_RenderDrawPoint). I ...
4
votes
2answers
152 views

Discoordinated Chromatic Aberration Effect

The game Teleglitch heavily utilizes the CA effect with screen distortion. I am trying to achieve this effect. Issue 1. How to not apply the effect onto the floor? (solved) They render the screen ...
1
vote
0answers
84 views

Implementing a Render queue [closed]

I am currently in the process of re-writing my 3d engine, and I am looking at improving the renderer. I have read that organizing objects into a "render queue" and sorting is the best method. The ...
0
votes
1answer
38 views

In Pygame, I can only display text once I stop updating and drawing, why?

At this moment, I can only display text once I stop updating and drawing sprites. In the code below (which is actually the game loop), you can see how if GAMEOVER == True (gameloop stops drawing), the ...
16
votes
2answers
4k views

Best technique to create oldschool (fake 3D) racing game?

What would be a good approach to develop the render system for an oldschool type racing game that uses a pseudo 3D scenery, like for example Outrun or Lotus Esprit Turbo Challenge? There's an endless ...
1
vote
1answer
42 views

Computing Normals for a displaced material

Disclosure: cross-posted on Unreal Answers, thought was sufficiently general for GameDev.SE I am currently rendering a displacement texture and, separately, a normal texture for my ocean. Is there a ...
1
vote
1answer
110 views

In Unity, how do I render a chromatic aberration effect?

I'd like to replicate the effect used in Teleglitch: In this scene, an object is rendered more than once at different position with different color. This game uses this shader effect to create ...
1
vote
0answers
19 views

Why horizontal scanlines work in 3D rendering with BSP [closed]

Horizontal scanlines are used to indicate which parts of the screen had been drawn over. The question is how BSP rendering solves the problem when several visible polygons are on the same interval ...
0
votes
2answers
501 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 ...
1
vote
1answer
180 views

Smooth Shapes in libgdx using ShapeRenderer

I am using ShapeRenderer in libgdx to draw my only character to get rid of texture in my game. But I am not getting quality results. Circle edges are distorted. I tried with high resolution and also ...
0
votes
3answers
104 views

In Unity3D, how can I improve image clarity?

The same images that appear clearly in Adobe Flash appear blurry in Unity. My game uses quads, cubes and sprites. I've tried the game on Android, iPhone, Mac and PC, but the image appears ...
0
votes
1answer
37 views

Handling Multiple Resolutions

Recently, I was going to implement and options menu into my game, but I haven't been able to figure out how changing resolution, conceptually, would work. Do I have multiple versions of the same ...
0
votes
2answers
64 views

How to combine objects in a rendered scene with and without bloom effect?

I'm working on a game and engine as I go under OpenGL. I've had a bloom effect in place for a while that works as a post-procesing effect on the entire screen. It's been fine up until now. I have ...
2
votes
1answer
180 views

How to improve Batch Rendering to work with 3D skeletal animation data

I've implemented a batch rendering technique that is described in detail here: http://www.gamedev.net/page/resources/_/technical/opengl/opengl-batch-rendering-r3900 I'd like to extend it now to ...
1
vote
1answer
57 views

In Game Maker, how do I draw a surface?

I'm trying to draw a surface in black in Game Maker. This is the code: //Create event surf = surface_create(room_width, room_height); //Draw event surface_set_target(surf); draw_clear_alpha(c_black, ...
1
vote
0answers
109 views

Drawing fonts with LWJGL3 with OpenGL

I'm very sorry if this question has already been answered, but since I've been struggling with this for many days I thought I'd give it a shot here. My goal is to somehow render some text on the ...
0
votes
3answers
682 views

Why is my texture drawn in a different place when in fullscreen?

I'm trying to draw a texture (with a crescent moon) in the middle of the y-axis: public void draw(SpriteBatch batch) { batch.draw(lune, 0, Gdx.graphics.getHeight() / 2); } It renders this when ...
0
votes
0answers
36 views

In OpenGL on Android, how do I give quads a border color?

I am new to game development and I'm working on a Rubiks cube game in Android using OpenGL. I want to create a cube with black borders, but I can only manage to set the fill color: GLColor[] colors ...
1
vote
0answers
79 views

Card Masking in Phaser

Good Day, I'm new to Phaser and still learning about it to. I am challenging my self to create a simple animation of a card flip somewhat realistic rather that making use of a scale. This is ...