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
1answer
25 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
1answer
28 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
3answers
74 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 ...
8
votes
3answers
181 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 ...
0
votes
2answers
54 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 ...
1
vote
0answers
45 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
0answers
25 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
31 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 ...
3
votes
1answer
138 views

Should UI be part of the game-loop?

I can't really find a good answer to this anywhere, I have never worked on games in a proffessional environment and I am wondering; Do these games render their UI in the main game-loop? That is, do ...
1
vote
0answers
45 views

How to extract the texture from an image onto a mesh?

(preamble: I think this fits either here or SO with computer vision tag, I chose gamedev because I think you guys are probably really good with textures and meshes, but tell me if my decision was ...
1
vote
2answers
120 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 ...
0
votes
0answers
49 views

Very slow motion smooth rendering - cocos2d-x

I have a a white circle that I move on a black background very slowly. When I look very carefully, I see that the while moving the edge of the circle is jittering. In my opinion it is because the next ...
1
vote
1answer
287 views

Switching renderer off/on for an object in unity using C#

I have a GameObject called 'Stone' that is rendered on Game Play. I have attached a C# script called RenderOff to to make 'Stone' invisible on Game Play. RenderOff.cs using UnityEngine; using ...
0
votes
3answers
75 views

Why should i set glClearColor and setProjectionMatrix in render method many time in LibGDX?

import com.badlogic.gdx.Game; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.g2d.SpriteBatch; public class MyGame extends Game { public OrthographicCamera ...
0
votes
0answers
44 views

Is there a trivial way to force SDL2 to render on resolution change or regain of focus after CTRL+ALT+DEL?

I'm building a game with SDL2 and C++11. One of the modes of the game is a map which is divided up in tiles/entities existing on those tiles (some are animated) in the context of a viewport on the ...
4
votes
2answers
124 views

How many LoD versions of a model should I have? [closed]

Many games facilitate better performance by increasing/decreasing the number of triangles/polygons that are drawn, depending on how close the camera is to said object. Mountains, viewed from far away, ...
0
votes
1answer
32 views

Unity only rendering certian parts of 3d building model from certian angles

So I made a couple modular building sections in blender, modular in the sense that I can insert build a floor at a time. I transferred them into Unity and then I got a rendering error that I have ...
3
votes
1answer
64 views

OpenGL Framebuffer Object issue

I am struggling with implementing a proper Framebuffer Object . glCheckFramebufferStatus is returning me: GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT (36054). What am i missing? GLuint fbo, rboColor, ...
2
votes
1answer
56 views

How can I derive hierarchical draw ordering for entities in an entity system?

How do you implement hierarchical render order in an entity system? For example: two player entities each carry a gun entity. If you set the player entities to zindex = 0 and the gun entities to ...
0
votes
1answer
54 views

xna - Render background and multiple sprites to a single texture

I currently creating a game and I am trying to render my background and a sprite to a texture. Currently I have the background being rendered to a texture. But I am needing to render both my ...
0
votes
0answers
72 views

Modern OpenGL, rendering multiple obj objects not working

I am currently working on a 3D Game Engine that loads a level from an OBJ file and renders it with OpenGL. My problem is related to understanding how to render each object individually when i have ...
3
votes
1answer
149 views

How to render a pseudo-3D view like in the game Biosys (1999)? [closed]

Biosys is a PC game released in 1999, where navigation through its environments is done by clicking an "exit" on a scene, taking the player to a new scene. The player can't move in a scene, and ...
0
votes
2answers
52 views

Kerning between glyphs using SDL2_ttf

I'm loading a number of characters (using SDL2_ttf) into a texture atlas to improve performance. The glyphs can be separately rendered correctly, however, how can you find the kerning distance ...
0
votes
0answers
23 views

texture2D wont render in webplayer Unity

I have an app that is pulling from a webcam and receiving from one on another computer. It takes the frames and does facial detection on them and draws a rectangle around it. This simple app works ...
1
vote
0answers
58 views

Efficiently rendering tiled map on OS X

I'm writing an original (top-down) SimCity clone in Swift and attempting to use SpriteKit as the basis for the game. However, I am running into performance issues when rendering and animating the tile ...
0
votes
1answer
77 views

Imported Blender modular mesh lighting/shadows issue - Unity

Hi I've very recently started using Unity and am creating a game level. I've created my environment in blender and am currently using a modular design as I'd like to include destructible environments. ...
-2
votes
1answer
57 views

What's the difference between Rendering pipeline and compute shader?

What's the difference between rendering pipeline - https://msdn.microsoft.com/en-us/library/windows/desktop/ff476882.aspx and compute shader - ...
0
votes
0answers
56 views

Why are my OpenGL textures warped?

I am writing a graphical program using OpenGL for rendering, Assimp for mesh loading and SDL for window etc, but also image loading. As can be seen in the image, the white outlines at the left of ...
1
vote
2answers
232 views

Does PBR mean only one, right technique to view 3D scenes?

For example if I call Unity 5 render pipeline a PBR (Physically-Based Rendering) and Unreal Engine 4 render pipeline as well PBR, does it mean that the same model with the same PB textures will be ...
0
votes
0answers
45 views

What is the best text rendering technique?

I just need a high performance way to draw text on the screen, in 2D or 3D. Currently I generate a mesh consisting of a bunch of quads with uvs corresponding to a 16x16 font sheet. Then I draw the ...
-3
votes
1answer
81 views

What's the difference between rendering and shaders?

What is rendering? What are shaders like vertex ,tessellation shaders etc? I am confused what's the difference between rendering and shaders? and how rendering is performed using shaders? Can we ...
-1
votes
2answers
47 views

What are 'ambient' lighting/illumination/occlusion? [duplicate]

What's the difference between ambient lighting,ambient illumination and ambient occlusion ? What are they? What's the difference between them?
1
vote
1answer
108 views

FBO and VBO for performance

I discovered VBO's recently and changed my code to use them instead of immediate mode. Now I'm rendering 25000 squares and it's really slowing down my FPS. If I drew all the squares VBO's to an FBO, ...
1
vote
2answers
578 views

What are 'physically-based' lighting/rendering/materials?

What's the difference between physically based lighting, physically based rendering and physically based materials? How they are different from deferred and forward rendering? And physically based ...
0
votes
1answer
31 views

How to render specific FBO Texture attachment (assume attachment1) with 2 attached

Create FBO & its textures like normal. // FBO & Texture glGenFramebuffers(1, &mFbo); glBindFramebuffer(GL_FRAMEBUFFER, mFbo); glGenTextures(2, mTexture); for(int i=0; i<2; i++) { ...
1
vote
3answers
89 views

Rendering many similar objects [closed]

I am writing an city builder. The graphics should look pretty simple, there are no fancy models or textures. Something like Synekism. Thus I have only simple models for buildings and splines for ...
0
votes
0answers
67 views

How do I rotate a skybox?

I am trying to find the way to rotate my skyBox. I have a vehicle at a static position (0,0,0) and I can rotate that, but it seems that rotating the skybox is a different operation. First I load the ...
1
vote
1answer
41 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
82 views

How to project a foam trail on dynamically changing mesh

I am trying to create water, and right now I got it through dynamically generating waves on a mesh. But now I want to make my boat manipulate these waves, and cause a Kelvin Wake on top of this. ...
0
votes
0answers
32 views

What map projection is needed to transform a shapefile into a 3D earth?

I'm looking for a way to create a 3D earth in Flash, something like the wonderful SolarSystemScope, only in my map the countries should be clickable and whatnot. To get started I've got map data from ...
0
votes
1answer
136 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 ...
1
vote
2answers
208 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
386 views

Problem with update/render in game loop (scrolling view, render interpolation)

I use SFML 2.2 and program a 2d prototype game (2d mario style where the camera follows the player). I am experiencing the buggy imagery during rendering, for example a chunk of vertex array blocks ...
0
votes
1answer
134 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 ...
0
votes
3answers
174 views

How to render grid properly, especially over distance?

I'm drawing a grid, pretty much like one can see in the Unity editor itself or any 3D-editor, many 3D-related applications and some games. But it doesn't look pretty in my case. I put a few random ...
0
votes
2answers
104 views

Voxel Engine in XNA - Block as Class Renders, Block as Struct Doesn't

Edit: I almost forgot to mention - when I place NEW blocks they render, but nothing triggers the originals to render (I have a button assigned to recalculate/redraw for every block surrounding (and ...
0
votes
1answer
68 views

Sprites and Box2d

I'm starting to see how box2d works now, except I dont know how to scale the screen to diffrent screen sizes and how i can convert Sprite sizes to box2d units. I know box2d uses meters and such, but ...
9
votes
2answers
2k views

How to make natural looking voxel

I'm developing a voxel game, but I think I use the wrong technique. I currently use flat tiles, to make blocks, and I think theres a better and more efficient way. I have seen a voxel game, which ...
1
vote
1answer
86 views

Shader - Realtime texture masking

The first thing that comes in mind is masking using RGBA values. With this you can obtain this kind of textures and this kind of results. But with this, you can only store up to 4 masks inside a ...
0
votes
2answers
119 views

Do I really need a render() method in the game loop if the view subscribes to the models?

For a game that I'm working on, we've followed the MVC paradigm. However, in classic MVC, the view subscribes to the model and when the model updates it informs the view. We've implemented this as an ...