Questions tagged [graphics]

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

Filter by
Sorted by
Tagged with
14
votes
1answer
2k views

Does multiple downsampling have a benefit?

So i came across this site and you can see these lines on the first and second paragraph: For a crude but easy effect, draw the bright portions of the scene (eg, light sources) into an FBO, then ...
14
votes
3answers
9k views

How do I scale down pixel art?

There are plenty of algorithms to scale up pixel art. (I prefer hqx, personally.) But are there any notable algorithms to scale it down? My game is designed to run at a resolution of ...
13
votes
3answers
2k views

Recreating this flat-shaded look

I'll keep it short. How does one achieve the effect depicted in the image below? Is it feasible to do in realtime? It looks deceptively simple, but it probably isn't. Are there any keywords I can ...
13
votes
3answers
980 views

What platform were old TV video games developed on? [closed]

I am very eager to know how TV video games (which we all used to play in our childhood) were developed and on which platform. I know how games are developed for mobile devices, Windows PC's and Mac ...
13
votes
4answers
1k views

How to implement soft edge areas with particles

My game is created using Phaser, but the question itself is engine-agnostic. In my game I have several environments, essentially polygonal areas that player characters can move into and be affected ...
13
votes
2answers
6k views

Realistic metal shader

How do you create a good metal shader? For different metals and say more or less eroded / rusty and so on. I know that one difference from ordinary materials is that metal should 'colour' the ...
13
votes
3answers
2k views

HLSL Translucent Plastic Shader

I'm trying to produce a shader to replicate a white plastic object with a colored light inside. Either by having a shader that will be translucent and if I put a light inside the object the light will ...
13
votes
4answers
5k views

How to deal with arbitrarily large images in 2D games?

Question When you have a 2D game that uses really large images (larger than your hardware can support), what do you do? Maybe there's some interesting solution to this problem that never occured to ...
12
votes
7answers
5k views

Fastest way to create a simple particle effect

I am looking to the fastest way to create really simple particle effect that will be spammed like hell on the game... Basically, my game looks like a vectrex game, made mostly of lines... I want to ...
12
votes
3answers
2k views

How can I use the graphics pipeline to render volumetric data based on a density function?

Both graphics APIs (OpenGL and DirectX) devise a well defined pipeline in which several stages are programmable. These programmable stages require to take a fixed minimum amount of data and are ...
12
votes
2answers
1k views

If you are a solo programmer, how do you manage the graphics artistry part?

If you are a solo programmer creating a game, what do you do for the graphics and art part? Should I work with graphics artist to draw the characters and the environment? I don't know how to draw ...
12
votes
2answers
6k views

How can I tell a fragment shader to not write a particular pixel?

In a WebGL I'd like to send a screen space quad through that gets processed by a fragment shader, but have the fragment shader only write out a pixel under certain conditions (say... that it was ...
12
votes
5answers
6k views

High Performance Vector Graphics Solutions [closed]

I'm looking for a high performance vector graphics library I can use in my games. I'm thinking along the lines of vector graphics such as those that can be made with SVG. I'll consider any language ...
12
votes
2answers
3k views

How do I replicate the warp effect from Geometry Wars?

I'm trying to achieve the warp effect that you see in games like Geometry Wars. Can someone help explain what is going on here? I feel like the grid's z axis is manipulated in some way, any way, by ...
12
votes
5answers
4k views

2D platformers: why make the physics dependent on the framerate?

"Super Meat Boy" is a difficult platformer that recently came out for PC, requiring exceptional control and pixel-perfect jumping. The physics code in the game is dependent on the framerate, which is ...
12
votes
5answers
1k views

Style/technique to focus on for creating visual art assets efficiently

I'm mostly a programmer, but I'd like to be able to do competent work on other parts of games I make when working on solo projects. What I'm specifically asking here is what sort of techniques or ...
12
votes
1answer
2k views

How do 2D art assets (eg. sprites) work?

I have an idea on a game and planning on developing a 2D game using XNA for Windows Phone 7. I've started off today by free hand drawing some concept art of what I want some of the characters to ...
12
votes
2answers
505 views

Clear reference implementations of MLAA?

Does anyone know of a clearly written reference implementation of morphological antialiasing (MLAA)? Intel provide a paper and reference implementation at the following address, but I find the code ...
11
votes
3answers
8k views

What is the name of perspective of Age of Empires II?

One would describe Age of Empires 1's "perspective" as a 2D sprite game: Below is a screenshot of Age of Empires II. How would you describe the "perspective"? Is it also a 2D sprite game? "...
11
votes
1answer
592 views

Breathing for game/movie characters

Breathing (the movement of chest and face features): I'd like to ask if it is hard to model and whether it is computationaly expensive. I recently noticed the great effect it has in Madagascar 3 movie,...
11
votes
2answers
5k views

How do mipmapping, anti-aliasing and anisotropic filtering contribute to rendering quality?

To my understanding, mipmaps exist to save on computations and memory when textures are far away. In an ideal world, we wouldn't want them. We'd just use the same high quality textures far away and ...
11
votes
1answer
1k views

What is "ROAM" related to terrain rendering?

I saw it mentioned on this question, but no one explained what it is.
11
votes
5answers
2k views

Cross platform low level graphic API

When creating a system abstraction is better to have the platform different APIs hidden by a common interface at the lowest level that makes sense. Taking in account the different modern (with no ...
11
votes
3answers
495 views

Is showing a collision in slow motion computationally relaxing?

In a lot of racing games (Burnout Paradise, for example) when a collision is about to happen, the game play automatically switches to slow motion and carries on in slow sequence until after the ...
11
votes
1answer
2k views

How to represent cliff faces in terrain?

I'm trying to figure out the best way to programmatically represent terrain in my game. I've been considering using a heightmap (or grid of evenly spaced vertices) to represent the surface of the ...
11
votes
3answers
7k views

Animation in OpenGL using 3D Models

I have created a model in Blender. Now i want to read that 3D model in my c++ program. I figured that a model can be exported to various file formats e.g. .obj, .3ds or COLLADA and then can be read in ...
11
votes
1answer
876 views

How can I implement lights & shadows in a multi-layer 2d tilemap?

I am in the process of writing an isometric game from scratch, and I'd like to know how/if I can add lights and shadows. The code I have so far can be found here, but it should be enough to know that ...
10
votes
6answers
20k views

Make pygame's frame rate faster

By profiling my game, I see that the vast majority of the execution time of my hobby game is between the blit and the flip calls. Currently, it's only running at around 13fps. My video card is fairly ...
10
votes
3answers
6k views

What is the name of the perspective style of games like Final Fantasy 6, Chrono Trigger or Alundra?

What is the actual term for the 'top-down' style of the Super Nintendo games such as Final Fantasy 6, Chrono Trigger, et cetera. I'm looking for the equivalent term of: 'isometric' - (Jaggered ...
10
votes
5answers
16k views

Graphics for non-Graphics Designers [closed]

Are there resources for programmers with little to no graphics design talent, but still want to make good-enough graphics for their own programs? I'm interested in both 2d and 3d computer generated ...
10
votes
2answers
2k views

What exactly makes up a screen in a typical C64 game?

I'm trying to figure out the basics of C64 game development past BASIC, and I could use some advice on something very basic, but important: What is all that stuff on the screen actually, and how to ...
10
votes
1answer
8k views

Should I use retained mode or immediate mode

I'm trying to make a opengl wrapper for winforms(.net). Basically you code in gdi+ syntax but it gets rendered for opengl(using glcontrol of opentk). Which mode should I use for rendering ui? It has ...
10
votes
3answers
775 views

Is there any advantage in using DX10/11 for a 2D game?

I'm not entirely familiar with the feature set introduced by DX10/11 class hardware. I'm vaguely familiar with the new stages added to the programmable graphics pipeline, such as the geometry shader, ...
10
votes
3answers
6k views

Where to hire graphic designers for mobile games?

I need to find someone talented to create a series of 2D graphics a la cart for my mobile games. My graphics are just not impressive enough, but the game play is solid and fun. This is sort of a ...
10
votes
1answer
3k views

How to create a "retro" pixel shader for transformed 2D sprites that maintains pixel fidelity?

The image below shows two sprites rendered with point sampling on top of a background: The left skull has no rotation/scaling applied to it, so every pixel matches perfectly with the background. The ...
9
votes
4answers
11k views

How do 3D game engines render 3D environments to a 2D screen?

For 2D sprite games, I can understand that sprites move on the X and Y axis. However, for 3D games, how do game engines calculate how to render a 3D environment on to a flat 2D computer monitor?
9
votes
3answers
15k views

Is there a good cross-platform C++ vector graphics library out there? [closed]

I'm making a game and want to use vector graphics. I started re-coding it using Cairo and the performance is horrific. So, I'm looking for a different library. It needs to be for C++ and cross-...
9
votes
4answers
3k views

Should I be 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 ...
9
votes
5answers
12k views

How can I create animated card graphics like in Hearthstone?

In the game Hearthstone, there are cards with animated images on them. A few examples: http://www.hearthhead.com/card=281/argent-commander http://www.hearthhead.com/card=469/blood-imp The animations ...
9
votes
5answers
11k 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 ...
9
votes
1answer
1k views

What is a lobe, in reference to lighting and graphics

I sometimes see references to lobes when talking about lighting, especially with specular lighting, but also with spherical harmonics which doesn't do specular. Can anyone explain what exactly a lobe ...
9
votes
1answer
914 views

Graphics programming replicating the transition from Chrono Trigger inside the gate

I started playing this game for the first time lately and this really peaked my interest You can see the transition in motion starting at ~12:08 There seems to be some interesting maths taking place ...
9
votes
1answer
4k views

How do engines like Unreal relate to OpenGL or DirectX?

I'm completely new to computer graphics, and even more so, to game development. I am searching for information to learn the basics, quickly. I have one question in my head; how do engines like the ...
9
votes
5answers
2k views

Sprites rendering blurry with velocity

After adding velocity to my game, I feel like my textures are twitching. I thought it was just my eyes, until I finally captured it in a screenshot: The one on the left is what renders in my game; ...
9
votes
3answers
1k views

What is the state of the art at shipping game graphics such as lots of small BMP files? [closed]

We have lots of small BMP files which I think would be easier to copy if we had them combined in a big TAR/ZIP/whatever. What is the state of the art at shipping game graphics? We are using C# and ...
9
votes
3answers
7k views

Any interesting thesis topic? [closed]

I study Computer Science at Technical University of Lodz (in Poland) with Computer Game and Simulation Technology specialization. I'm going to defend BSc thesis next year and I was wondering what ...
9
votes
1answer
2k views

How do I load graphical resources asynchronously?

Let's think platform-agnostic: I want to load some graphical resources while the rest of the game is running. In principle, I can load the actual files on a separate thread, or using async I/O. But ...
9
votes
3answers
6k views

Random generation of realistic human faces

What would be a practicable way of generating huge numbers of realistically looking human faces? Randomizing 3D-models and rendering them would require a lot of computing power, especially as I'm ...
9
votes
1answer
574 views

How are advanced graphics effects implemented?

I'm curious how 3D effects like spells in Warcraft or Torchlight are implemented graphically. I just finished a book on Direct3D and feel pretty comfortable with it and 3D graphics in general, but I ...
9
votes
1answer
652 views

Outsourcing Artwork: Hourly or Per-Project?

I've hired people to produce art and graphics before, but only ever at a per-job rate and that has worked out well. This question is for both artists and the people who hire them: As a buyer, are ...

1
2
3 4 5
21