A very generic term referring to visual part of a game. Thus try to avoid unrelevant usage and instead tag for specific grapics type (2D, 3D), API, framework or a library you are using if possible.

learn more… | top users | synonyms

7
votes
3answers
5k views

How can I draw an outline in Unity3d?

I am trying to highlight a rectangle of arbitrary height. I thought the easiest way to do this would be to create a separate "box" gameobject that outlines the rectangle. I've tried with both a ...
6
votes
6answers
1k views

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

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 ...
6
votes
3answers
1k views

What features does D3D have that OpenGL does not (and vice versa)?

Are there any feature comparisons on Direct3D 11 and the newest OpenGL versions? Well, simply put, Direct3D 11 introduced three main features (taken from Wikipedia): Tessellation Multithreaded ...
6
votes
2answers
552 views

What is this Super Mario shading technique (the edge glow) called?

What is this Super Mario shading technique (the edge glow) called? It can best be seen at the legs.
6
votes
3answers
369 views

Why does clipping take place after illumination?

Can you explain why clipping takes place after the illumination process in the rendering pipeline? Would it be not cheaper to clip first and do then the illumination?
6
votes
3answers
3k views

Draw contour around object in Opengl

I need to draw contour around 2d objects in 3d space. I tried drawing lines around object(+points to fill the gap), but due to line width, some part of it(~50%) was covering object. I tried to use ...
6
votes
2answers
527 views

What will AMD Fusion or likewise hybrid CPU/GPU will change for the 3D programmer ? Are they potentially faster?

Since the early days of accelerated graphics, programmers were obligated to use hardware-supported libraries like directX or OpenGL. If we wanted to explain someone what happened by introducing a ...
6
votes
3answers
908 views

Understanding how to create/use textures for games when limited by power of two sizes

I have some questions about the creating graphics for a game. As an example. I want to create a motorbike. (1pixel = 1centimeter) So my motorbike will have 200 width and 150 height. (200x150) But the ...
6
votes
2answers
3k views

How to handle pixel-perfect collision detection with rotation?

Does anyone have any ideas how to go about achieving rotational pixel-perfect collision detection with Bitmaps in Android? Or in general for that matter? I have pixel arrays currently but I don't know ...
6
votes
1answer
406 views

Changing water color based on depth

I'm looking to make a water shader that colors the water based on its depth. Up until now my water shader that I've used has basically been extremely reflective and only looked somewhat blue because ...
6
votes
4answers
554 views

Sharing data between graphics and physics engine in the game?

I'm writing the game engine that consists of few modules. Two of them are the graphics engine and the physics engine. I wonder if it's a good solution to share data between them? Two ways (sharing ...
6
votes
2answers
355 views

Help my graphists sharing their work

As a developer I'm used to Subversion for source control and I think it's great for sharing source code between developers. Now thinking about my graphists and game designers, they need to have a ...
6
votes
3answers
3k views

How are non-repetitive pixel backgrounds created in 2D games? (e.g., Superbrothers: Sword & Sworcery EP)

What methods are used to create complex, rich, non-repetitive 2D pixel backgrounds in games like Superbrothers: Sword & Sworcery EP? Examining screenshots from the game, I really can't detect ...
6
votes
3answers
320 views

How can I modify how my scene is drawn to make it look like it's taking place at different times of day?

My game has a day-time association with the scene, that the morning light will be different from the afternoon and the night. But I don't know how to make this difference. Here is an example in ...
6
votes
2answers
618 views

OpenGL or OpenGL ES

What should I learn? OpenGL 4.1 or OpenGL ES 2.0? I will be developing desktop applications using Qt but I may start developing mobile applications in a few months, too. I don't know anything about ...
6
votes
2answers
360 views

Java single Array best choice for accessing pixels for manipulation?

I am just watching this tutorial https://www.youtube.com/watch?v=HwUnMy_pR6A and the guy (who seems to be pretty competent) is using a single array to store and access the pixels of his to-be-rendered ...
6
votes
4answers
195 views

What to look for when searching an artist for doing graphics?

I was wondering which skills I should ask for when I need someone to make the graphical part for a 2D game intended for iOS or Android. Not really looking for someone right now, but working on a ...
6
votes
3answers
2k views

How to do this sprite motion blur?

Some of you may know fraxy... Basically, I was watching this video: http://www.youtube.com/watch?v=uL7zWdDCtOE And there are some times where some sprites spin really fast (4:00 mark for example), ...
6
votes
5answers
3k views

Non-destructive way to edit alpha channel in Photoshop/Gimp image

Looking to make textures for Unity3d, and I'm stuck at what seems to be a simple stage. My goal is to create an RGBA image, with color information for every pixel, and a separate alpha channel. These ...
6
votes
4answers
1k views

Is there a sprite sheet creator that satisfies these requirements? [closed]

I'm looking for a decent sprite sheet packer. Features: Command line interface for Linux. Effective packing algorithm. Configurable padding between sprites in the sheet. Configurable fixed sprite ...
6
votes
2answers
2k views

How to implement SSAO in Shader Model 3/ DX9?

Ive read a few articles about SSAO, and i would like to implement it in to 3d engine at work, which runs on top of DX9. Can you give me an tips on getting the simplest implementation possible up and ...
6
votes
3answers
1k views

top down game - checking, drawing enemy's line of sight area with obstacles

Examples of what i'm going to need: I'm using cocos2d to draw a CCTMXTiledMap, on those tiles i'll have to draw the LOS cone. How would i test if the player is within that cone, taking obstacles ...
6
votes
1answer
504 views

Precomputing Visibility

Having noticed that UDK (Unreal) and Unity 3 include similar pre-computed visibility solutions that unlike Quake are not dependent on level geometry, I've been trying to figure out how the calculation ...
6
votes
1answer
292 views

2D Polygon Triangulation

I am creating a game engine using the JBox2D physics engine. It only allows you to create polygon fixtures up to 8 vertices, To create a body with more than 8 vertices, you need to create multiple ...
6
votes
2answers
577 views

What is a good alternative to Unified Shader for Shadows?

Most shadow systems I have seen use a unified shader system for shadowing techniques, resulting in an uber shader for the projects. What alternatives do you find work well or is the unified shader ...
6
votes
2answers
1k views

Looking for an example of glass with XNA or DirectX 9

Any good pointers on how to get the refractive look of glass? I'm looking to create a think piece of glass type of look, sort of the type that you'd have on bathroom shower doors.
6
votes
2answers
673 views

How do I load chunks of data from an assest manager during a loading screen?

I'm developing an Android game. Basically I want to pre-load all graphics/sounds when the app is first loaded. But I also would like to show a progress bar as this is happening. Here is a snippet ...
6
votes
2answers
177 views

Reducing Spherical Harmonic Ringing

I've generated some 2nd order SH light-probes from cube-maps in my scene and I was surprised how strong artifacts are around the back of the dominant lights. I switched to a Lambert source plus ...
6
votes
2answers
1k views

Getting the number of fragments which passed the depth test

In "modern" environments, the "NV Occlusion Query" extension provides a method to get the number of fragments which passed the depth test. However, on the iPad / iPhone using OpenGL ES, the extension ...
5
votes
6answers
2k views

Algorithm for drawing asteroids from, er… Asteroids game?

What would the algorithm be for generating/drawing the asteroid shapes from the original Asteroids game? Is it even an algorithm? Or would they be hard coded shapes? Here is a screenshot to jog your ...
5
votes
3answers
5k views

Should I use Game Engines to learn to make 3D games? [closed]

HI i am a software engineering student in his second-last year. I am proficient with C,C++,C# and java programming languages, and being a student of engineering I have studied calculus, vectors etc ...
5
votes
4answers
820 views

How to make game appear to run faster?

I believe I read somewhere that there is a technique which will make games appear more smooth than they are. I believe it is some visual trick, but I don't remember which one. (It is be something like ...
5
votes
2answers
3k views

How to create life-like sprites from photo or video capture like was done for games like Mortal Kombat 1?

I know they digitized actors but how can I get those same results? How to take a photo or video of someone and digitize it for a 2D game? Digitized sprites were used in several video games through the ...
5
votes
2answers
634 views

XBOX + Xna != DirectX?

I'm a bit confused. The question is: when I'm developing a XNA game for Xbox (or Windows), is it possible to use DirectX (to make use of the GPU)? Or is everything getting calculated by the CPU? A ...
5
votes
2answers
258 views

How are 3D images drawn?

When A computer is to draw a 3d model, does it use maths similar to vector projection? Like when a 3d model is drawn and rotated, does it use vectors/and maybe some other math to know where to draw ...
5
votes
3answers
254 views

What is Windows' software rendering API?

We usually use OpenGL or DirectX to work with the GPU. If I want to use the CPU to render 2D/3D graphics, how does it work and what API can I use for it on Windows? I know there is no benefit in ...
5
votes
2answers
261 views

Do I really need to clear the renderer every iteration?

Just a quick question about fine-tuning/optimization. If I'm making a 2D platformer with a parallax-scrolling background (meaning no two frames are the same) do I really need to clear my renderer for ...
5
votes
4answers
1k views

The recommended road map to be a good graphics/game engine programmer

I am a computer science student and I am developing with C/C++ and Python and I want to begin learning graphics tools to start developing with game engines, especially the Blender Game Engine. So what ...
5
votes
2answers
740 views

what options do I have for rendering “large” terrains?

I am trying to design a game with some interesting features but one question I have is regarding terrain. I want a terrain that will make for a very large game world, and I want to be able to have ...
5
votes
1answer
535 views

Creating graphics at different angles for sprites

I am developing a Java game that uses sprites for the graphics. It's just a top down shooter and our ship sprites look like the following: These work fine, but they're hard to create and the artist ...
5
votes
4answers
901 views

Anyone know of an online resource with spritesheets from classic games? [closed]

I'm looking for spritesheets for classic retro games, and old home computer games (c64, amiga etc.) Does anyone know of a source online?
5
votes
3answers
2k views

The pros and cons - DX9 moving to DX11 render?

We are a "nano" game dev company working on REFUSION. DX9 renderer is almost done and question is: Should we move it to DX11 or not? Anyone have experience with this? Here are some videos from dev ...
5
votes
1answer
305 views

Rendering scaled-down card images

I have high-quality SVG card images, but they drastically lose their quality when I downsize them. I have tried two ways of rendering cards (using Inkscape and Imagemagics): 1) Render SVG to high-res ...
5
votes
3answers
4k views

How do I fix this weird lighting problem?

I'm making a small game in Unity, and some models are displaying very ugly shading. The shading usually looks funky along the edges between triangles. I'm pretty new to working in 3D; I bet this is ...
5
votes
2answers
474 views

Most efficient method to render 1,000s of unique space scenes?

I'm an artist with a concept, not the developer, and I'm trying to wrap my head around the approach I should be taking for the following scenario, namely whether to model in Photoshop or 3DS Max. Say ...
5
votes
1answer
1k views

How do engines like Unreal relate to OpenGL or D3D?

Well I'm completely completely new to computer graphics and even more to game development. I am searching info and all that stuff to have the basics quickly. But there's a big question mark in my ...
5
votes
3answers
316 views

Drawing the same mesh or drawing the same material?

I was wondering. Suppose I have a 1000 grass meshes. They all have the same material, but I create them separately, because they look slightly different, because they have different heights. Does my ...
5
votes
1answer
852 views

How do I create a 2.5d parallax effect?

I have a decent background in 3D graphics and programming, but I'm new to game development. I'm currently exploring different possibilities and I really want to make an RPG game. I was thinking about ...
5
votes
1answer
426 views

What are the rest of the blending functions used for?

In general, I know of five ways to make use of blending functions (these are for OpenGL, but replace glBlendFunc() with SetRenderState(D3DRS_SRCBLEND) and SetRenderState(D3DRS_DESTBLEND) for DirectX): ...
5
votes
5answers
562 views

How can I make a falling down effect in 2D - Birds Eye View

Currently whilst making my game, I'm not sure how I am going to implement the actual gameplay/environment of it. At first I thought to do a side-on plat-former, where my character falls down the ...