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

learn more… | top users | synonyms (1)

0
votes
1answer
14 views

UNITY3D - Orthographic Camera not render SHADER (2D GAME)

I have a problem with camera render, see the video please :) (note.: sorry for the music) http://youtu.be/BB8rXIzIWVU In Camera "Perspective", i can see the effect of shader: In Camera ...
0
votes
1answer
36 views

Scene management

I viewed sources of rendering engines (ogre, irrlicht, openscenegraph) but I can't really grasp the the main ideas of their scene management systems. I also read many articles (including Game Engine ...
-2
votes
0answers
23 views

Rendering a 3d object in c++? [on hold]

First off my question is how can i draw the rendered object onto the screen in c++ fast enough to run a 3d game. I already know the math to draw it just not how to draw it. I need to be able to draw ...
5
votes
1answer
397 views

Multithreaded Game Loop

I'm trying to implement a multithreaded game loop. I already did that but had to use a few locks for that, which ruined the performance. After researching a bit I came up with this idea: Instead of ...
0
votes
1answer
25 views

How should I set camera in Blender for example to render a sprite which can be used in an isometric map?

I am trying to render some 3D model in blender and use them as a texture sprite in a game which uses Apple’s SpriteKit. I have an isometric map with tiles size : 32 as width and 24 as height, Since I ...
1
vote
2answers
263 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
503 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: ...
4
votes
1answer
404 views

Clever way to do the Sonic 2 Bonus Stage effect saving memory

What would be a good way to save memory to achieve an effect like this one? http://www.youtube.com/watch?v=K89LkvL9JZ0 We're using pre-rendered 3D. I'm asking this because this naive approach of ...
3
votes
0answers
77 views

How to cache resources in my homebrew rendering system

Background: I am designing a simple 3D render system for an entity component system type architecture using C++ and OpenGL. The system consists of a renderer and a scene graph. When I finish the ...
1
vote
1answer
730 views

XNA 2D game fullscreen issue

I am creating a 2D farming game using XNA - just today I have tried applying full screen to it, and I realized I failed badly with something. It cuts off a bit of the lower part [item hotbar and a ...
6
votes
3answers
92 views

How to have real time (blood) traces?

https://www.youtube.com/watch?v=Tzf3zjPJYw4 In this game, Ink, color blobs fall then they create pretty color spots. The color traces are unlike any other game. For an example, in Super Meat Boy ...
0
votes
0answers
15 views

Strange move on rendering image

In the logic part of my game, i update the movement using floats and delta time since last frame, but when i render the sprites, i use integers. Now, while i move the sprite around, as you can see ...
2
votes
0answers
37 views

equirectangular panorama rendering?

I want to render my scenes as equirectangular panorama frames. I can get the angular fisheye which is what I actually need by applying the rendered frame as a texture to a correctly UV mapped circle. ...
0
votes
0answers
38 views

Adding a 3d model to c++? [on hold]

I've made a 3d square in sketchup and I wanted to know how to implement this object into c++? Do i have to install additional programs or can i do it with just dev-c++ and the square? The square is ...
42
votes
4answers
7k views

What causes aliasing?

I always hear about aliasing and anti-aliasing and I know what it looks like but what I don't understand is what causes it. Is it a physical phenomenon? Or a numerical one? If it helps to explain, I ...
0
votes
1answer
30 views

Unity draw part of sprite sheet

Im working in Unity and im finding the animator isnt working for what im trying to do in my 2d game. What I want to do is build a specific animation using sprite sheets, then be able to reuses that ...
1
vote
2answers
116 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
121 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 ...
4
votes
1answer
2k views

What advantages does multisampling have over supersampling?

I never really fully understood this, or found an article which explained all the steps in a friendly way. I'll start with what I do know already (which I hope do not contain misconceptions). I'm ...
0
votes
1answer
184 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
141 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 ...
12
votes
5answers
838 views

Is there a way to prevent users from adjusting their gamma correction to 'cheat' their way out of a 'dark' area?

In almost every game I've come across that includes a dark situation designed to change the way a user interacts with the environment, there are always some players who turn up their monitor's gamma ...
0
votes
2answers
64 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
17 views

Cocos2d-x 3.7 PhysicsBody velocity issue

i have a Sprite with physicsBody,and fixed velocity,the problem is the sprite is not renderd smoothly with the mouvement,it's look like zigzaging forward and backward with a tiny fixed offset,but keep ...
1
vote
1answer
588 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. ...
1
vote
4answers
63 views

MonoGame/XNA 3D fbx model produces strange rendering output

The Problem: I have been making a model of a Steampunk-themed street light in Blender for use in my MonoGame/XNA Game. To test it I exported it to the *.fbx file format using the fbx export plugin ...
3
votes
1answer
55 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 ...
1
vote
2answers
325 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?
0
votes
1answer
78 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 ...
2
votes
1answer
290 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
1answer
69 views

Render Queue Sorting, HOW?

Recently I'm trying to implement a render queue sorting system, i.e., ordering my renderable objects in an array in such a way that the overhead of OpenGL state changes are minumum. After some ...
2
votes
1answer
82 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 ...
1
vote
1answer
31 views

Drawing Farseer Fixtures

Is there any way how to draw a Polygon / Fixture from Farseer Physics with XNA? As I deform these polygons at runtime I can't take any texture from my Content folder, the texture must be generated at ...
0
votes
0answers
20 views

Unity forward render path creating pixel lines between meshes

I have a bit of a problem where my meshes are either unsmooth because I'm using deferred rendering path or they are smooth using forward rendering path but it creates this weird pixel line between the ...
0
votes
1answer
600 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 ...
1
vote
1answer
55 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
38 views

LibGDX, BitmapFont strange position behavior

I'm using a Stage of LibGDX to draw a text, in my case the FPS. But after resizing, the position of the text does not behave properly. As you can see in the attached gif: The resizing function ...
2
votes
1answer
56 views

Isometric 3D grid - what order do I render elements in the grid?

I'm trying to create a screensaver, so strictly speaking this isn't for developing a game, but the subjects discussed on this SE site are a better match than any of the other sites, and I think the ...
2
votes
1answer
138 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
65 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? [closed]

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
93 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 ...
0
votes
0answers
37 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 ...
0
votes
0answers
37 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
46 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 ...
8
votes
3answers
305 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 ...
1
vote
1answer
42 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
170 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 ...