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

2
votes
0answers
279 views

Trouble with UV Mapping Blender => Unity 3

For some reason I am getting nasty grey edges around the edges of rendered 3D models that are not present in Blender. I seem to be able to solve the problem by reducing the size of the UV coordinates ...
0
votes
1answer
19 views

Anti-Aliasing in Java

In my game I want to have the different anti-aliasing option like: none, x2, x4, x8 and x16. I know that you can use anti-aliasing with Graphics2D in the way below bu is there any way that I can use ...
1
vote
1answer
56 views

Damage indicator screen overlay

I want to make something already done by a lot of games , which is when I am taking so much hits from enemy red screen drawn like the following , using XNA 4.0: after it's drawn and I am still alive ...
-4
votes
0answers
64 views

How many commercial games use software rendering? [closed]

It seems many games today use graphics accelerating (e.g. OpenGL) but how many still use software rendering? I mean commercial game wise, how many?
-1
votes
1answer
63 views

How should I choose a graphics card that's right for my needs? [closed]

I'm developing my own game using Ogre3D, and I'm want to implement things like SSAO, dynamic shadows, AI, physics, etc...and I know my current card is barely gonna be able to handle it. So my ...
0
votes
4answers
75 views

Changing color of a moving image without lowering the fps

I just added an option to my game that makes it so that all the enemies will have a random color for their clothes instead of the regular blue. I use this code to draw rectangles over the shirt of the ...
3
votes
5answers
613 views

Good resources for 2.5D and rendering walls, floors, and sprites

I'm curious as to how games like Prelude of the chambered handle graphics. If you play for a bit you will see what I mean. It made me wonder how it works. (it is open-source so you can get the source ...
3
votes
2answers
130 views

Using a programmable pipeline in a game engine

As a learning experience, I'm developing my own 3D game engine using OpenGL. I'm a little confused as to how to implement my rendering engine such that it uses a programmable pipeline while still ...
1
vote
0answers
20 views

How do I remove control points from imported curve in Maya?

When I create a path from an Illustrator file, it adds extra control points for bezier handles for each point in the AI file, even though I don't drag out the handles in Illustrator. All my points in ...
2
votes
1answer
135 views

2D Software Lighting Issues in Java

I'm creating a 2D top-down tiled game in pure Java and by now I'm trying to implement a way to do lighting. First, some details on how I render: there is a screen class which handles all the ...
0
votes
0answers
47 views

Default material properties and assimp

I am using assimp to import 3d models and I have a question on the default properties on materials, more specifically on the diffuse, ambient and specular material colors. In assimp, if the model ...
0
votes
0answers
26 views

DrawIndexedPrimitive bug

Hello I have problem with DrawIndexedPrimitive function. I create vertex buffer for each wall like that: 1----2 | | 3----4 I put 1,2,3,4, and then I create index buffer this way: short * ...
0
votes
3answers
134 views

Gravity independent of game updates per second

Edit Just for clarification, my sprite's 'movement' isn't the problem. If I set my Time variable to 4 seconds, then it will cross the screen in exactly 4 seconds regardless of logic updates rate per ...
-1
votes
0answers
34 views

How to align sprites from a non-aligned sprite sheet?

When I deal with sprite sheets, I have to cut each sprite and adjust their offsets by hard. This is too much work, so I've made a tool that does the following: Analyze the image, detecting bounding ...
1
vote
2answers
188 views

How do I create a “flying through space” effect?

On the Final Destination stage in Super Smash Bros Brawl (and SSB Melee) the players fight on a platform seemingly moving through space: I see particle effects, but I don't understand how they made ...
41
votes
6answers
4k views
2
votes
1answer
80 views

How can I access bitmaps created in another activity?

I am currently loading my game bitmaps when the user presses 'start' in my animated splash screen activity (the first / launch activity) and the app progresses from my this activity to the main game ...
40
votes
13answers
2k views

How to make some monsters appear more dangerous than others?

My game is an open-world co-op MMO with retro graphics, permadeath and no leveling system. The problem I'm facing, is the fact that I don't know how to make some monsters appear harder than others. ...
1
vote
1answer
54 views

Jogl2 won't accept jogl 1.0 code - GL_LIGHTING and GL_LIGHT_MODEL_AMBIENT cannot be resolved or is not a field?

I'm trying to run my code on jogl 2.0 , for the first time (until now I worked with jogl 1.0) however Eclipse throws to almost every that I have a "cannot be resolved or is not a field" message . ...
-3
votes
0answers
66 views

C# Rendering Loop [closed]

I kind of need help understanding how rendering graphics works in C#. I have a java background and I've made a basic game engine with custom rendering that I use for all of my projects. After trying ...
1
vote
4answers
79 views

vertices, better to have more but draw a smaller area or less but expand a larger area

I have a simple question really. I am creating water for a game and had two different design approaches: Make a single plane that expands the entire playspace, which would take 6 vertices but cover ...
-4
votes
1answer
92 views

What's the complexity, given current technology, of writing a decent scene renderer in OpenGL? [closed]

What's the complexity, given current technology, of writing a scene renderer that produces reasonably high-quality output in OpenGL? I'm definitely not asking about writing a full games engine - ...
2
votes
1answer
127 views

How do I improve terrain rendering batch counts using DirectX?

We have determined that our terrain rendering system needs some work to minimize the number of batches being transferred to the GPU in order to improve performance. I'm looking for suggestions on how ...
0
votes
1answer
25 views

Divide single SVG into separate files

I have an SVG file contatining deck of cards, each of them in g-container: <g id="kingspades">... How do I render individual cards or separate big SVG files into pieces?
0
votes
1answer
54 views

Are there shaders or at least shader like things in Swing?

Is there? Because I'm wondering if it supports GLSL, HLSL, or it's own shading language? I don't know much about Swing graphics. Does anyone know?
2
votes
1answer
81 views

Should my assets match my reference resolution?

I'm confused over supporting multiple resolutions in my 2D game. I'm currently working with a reference resolution of 1280x720. That means that all elements are positioned in a 1280x720 coordinate ...
2
votes
1answer
71 views

Low FPS on Java drawing in BufferStrategy

I ran into a very strange problem while using BufferStrategy, I've tried searching for an answer but all I have found are non-relevant threads and discussions. So here is my query. for (int i = 0; i ...
2
votes
1answer
68 views

Support for different resolutions in a tabletop environment

Right now I am experimenting with XAML and C# to write a small Windows Store App which supports displaying a playmat with cards. However not everyone uses the same resolution and with a somehow fixed ...
1
vote
2answers
406 views

Making a 2D game with responsive resolution

I am making a 2D game, however I wish for it to be resolution agnostic. My target resolution i.e. where things look as intended is 1600 x 900. My ideas are: Make the HUD stay fixed to the sides no ...
2
votes
2answers
187 views

Android: Loading bitmaps without premultiplied alpha (OpenGL ES 2.0)

Is this possible? To load textures in non-premultiplied format (Straight alpha?)? My game has 1 or 2 images which have semi-transparent pixels and I need to be able to fade them in and out but this ...
8
votes
2answers
2k views

OpenGL: VBO or glBegin() + glEnd()?

I recently was given this link to a tutorial site from someone who I gave the original OGL Redbook to. The third header down says distinctly to forget glBegin() & glEnd() as the typical render ...
0
votes
1answer
127 views

Ogre3d or OpenGl or other [closed]

I want to learn Graphics for games or use a game engine. I don't know whether to use ogre3d, I know its a rendering engine however android isn't really supported, Boost is used for multithreaded when ...
0
votes
1answer
80 views

Reinhard tone mapping and color space [closed]

I found two ways of doing tone mapping (first, second): //Ld - this part of the code is the same for both versions float lum = dot(rgb, vec3(0.2126f, 0.7152f, 0.0722f)); float L = (scale / ...
-5
votes
1answer
91 views

camera2d class will not work [closed]

using System; using System.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using ...
2
votes
1answer
95 views

RGB to xyY color space conversion and luminance

The luminance calculated by following GLSL functions (fragment shaders - tonemap) has different value: float GetLuminance (vec3 rgb) { return (0.2126 * rgb.x) + (0.7152 * rgb.y) + (0.0722 * ...
8
votes
1answer
235 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 ...
1
vote
1answer
108 views

How to draw different textures on my cubes DrawUserIndexPrimitive with XNA?

I'm having some problem to draw textures with class "DrawUserIndexPrimitive" on Xna. I can draw my cubes / models without problem. But I want to draw different textures on my cubes. I loop on each ...
43
votes
7answers
2k views

Why no night sky with realistic star constellations?

As an amateur stargazer I noticed that many games which have night scenarios use textures for the night sky where the stars seem to be arranged entirely randomly. It seems like they were created by an ...
0
votes
0answers
40 views

Prerequisites for developing a 3D simulation program? [closed]

What all do I need to learn or work on before creating a 3D virtual environment to simulate a welding process in order to train workers? Any books or tutorials that might help me begin? I have a basic ...
4
votes
3answers
328 views

What are normal, tangent and binormal vectors and how are they used?

I would like to find out the following information: What are they? Example usage in game development (the area they are used in) About the following vector types: Normal Tangent Binormal A ...
22
votes
7answers
4k views

About floating point precision and why do we still use it

Floating point was always troublesome for precision on large worlds. This article explains behind-the-scenes and offers the obvious alternative - fixed point numbers. Some facts are really ...
0
votes
1answer
199 views

Game Designer or Game Programmer, please help me choose! [closed]

I know this question is asked a lot but I am still so confused and overwhelmed by the different opinion and comments everybody has on the internet, that I wanted to ask my questions in a single thread ...
0
votes
0answers
108 views

graphic effects of Android game “Achtung” [closed]

I would be very gratefull if someone can give me a hint how the graphic effects of this android game ( http://www.isignz.nl/achtung ) works. Let us let this "pixie dust"-stuff aside for the moment; I ...
1
vote
0answers
112 views

How to achieve supersampling / anti-aliasing in pixel shaders?

I am trying to write a couple pixel shaders to apply to images similar to Photoshop effects. For example this effect: ...
0
votes
0answers
31 views

Interpolation of surface normals on the face of a triangle and Goroud shading

My question is detailed at this link. I linked it instead of copy paste because here I can't seem to get the fancy math symbols to show properly here. Thoughts?
0
votes
3answers
119 views

How can SpriteBatch use a single texture/asset as multiple independent objects/instances

I'm using LibGDX to create a game, but I'm encountering a problem with SpriteBatch. Whenever two objects that use the same image for their sprite come onto the screen, the new object replaces the old ...
-1
votes
2answers
142 views

Draw 60,000 cubic with DrawUserPrimitives on xna with only 20 fps-buffer problem?

I'm working on a minecraft style games on xna. I know it is not easy to draw a lot of cube with a good ratio of fps. I use the method "DrawUserPrimitive" with a buffer to draw a floor 250X250 cubes. ...
0
votes
0answers
56 views

How calculate distance for fog effect model in xna?

I struggled for some time to add a fog effect in my xna games. I'm working with a custom shader effect in a file (. Fx). The "PixelShaderFunction" works without error. But the problem is that all my ...
0
votes
0answers
262 views

How to do collision detection in 3D using bounding boxes?

I am using c++ in visual studio 2010 with opengl. I am trying to make a programme that has 2 boxes that are able to be stacked on top of each other but I am having some trouble with the collision ...
6
votes
4answers
382 views

What are some good books which detail the fundamentals of graphics processing?

The best book on the nitty gritty of graphics that I've found is Computer Graphics: Principles and Practice http://www.amazon.com/Computer-Graphics-Principles-James-Foley/dp/0201121107 However, as ...

1 2 3 4 5 9