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.

learn more… | top users | synonyms

-3
votes
0answers
36 views

Developing something different game [on hold]

I want to develop something different. Like world of goo ,angry bird ,flappy bird All i want from you guys is just an imagination , an idea, a thought
0
votes
0answers
19 views

Viscosity Term of Animating fluids [on hold]

When animating fluids such as water or air using a simulation method such as the “stable fluids," why is it seldom necessary to an an explicit viscosity term?
-1
votes
0answers
1k views

How do I fix my 3D bounding box collision detection? [on hold]

I am using C++ in Visual Studio 2010 with OpenGL. I am trying to make a program with 2 stackable boxes but I am having some trouble with the collision detection. I'm trying to put bounding boxes ...
1
vote
1answer
218 views

How can I draw a specific GameObject into a texture in Unity?

I need to draw only a few specific objects into a texture (with their material) and then use that RenderTexture as a texture for an another object. I think Graphics.DrawMesh() and ...
3
votes
1answer
100 views

Isometric graphics with fake perspective

Diablo 2 is a game with isometric graphics. However, unlike other isometric games, D2 has the option to activate perspective. Obviously, the D2 developers found a clever trick to convincingly fake ...
0
votes
1answer
78 views

Insufficient memory on creating vertex buffers

I'm building a voxel world generator with XNA where the voxels are rendered as polygonal cubes. The world is divided into 1024 chunks of 32x32x256 cubes each (as 32 chunks by 32 chunks), and each ...
0
votes
1answer
38 views

How do I split a button graphic into a 9 patch?

I understand what a nine patch is but I don't understand how to create one with code. I've made an image with a 1-pixel black border, but how do I turn that into a nine patch? How do I make a nine ...
3
votes
2answers
106 views

Bevel outline algorithm in 2D

I'm writing a program that creates animated blobs in 2D, to simulate cells. In order to beautify these objects, I'd like to give them a 3D look by adding a bevel-effect. How can this be achieved? ...
5
votes
2answers
551 views

XNA 3.1 to 4.0 Vertex Shader Not Drawing [on hold]

I have recently been converting our XNA 3.1 game to XNA 4.0 and am stuck on the shaders. I have the game running, but nothing is drawing to the screen, except things not using a shader. This is only ...
0
votes
0answers
8 views

Fill color in moving object without flickering [duplicate]

Here is my code in which moon is moving around earth but now i want to fill moon and earth with color and also want to remove flickering in the moon while moving. Please help me, i will be very ...
2
votes
1answer
102 views

Generating Normal map from a Image with a given Albedo map

I am working on a research problem part of which involves generating normal map from a given image of a rusted object. I searched the internet for techniques to achieve the above and apparently ...
0
votes
1answer
57 views

Rotate OpenGL quad around its center

Sorry, I searched it but couldn't figure how to apply it to my code reading the other answers to similar questions. I what to rotate a quad, my code is the following: glEnable(GL_TEXTURE_2D); ...
0
votes
1answer
70 views

Transformations and basis vectors

I've been reading this very nice tutorial on OpenGL, and I encountered a statement which I can't wrap my head around. In Chapter 6, it states: Transformation from one space to another ultimately ...
0
votes
1answer
357 views

Java Slick2D - Problem using ScalableGame class

I am having a problem adjusting the size of the screen while using the ScalableGame class from the Slick2D library. I would like the background and objects (images and graphic shapes) to adjust to ...
2
votes
2answers
280 views

How are red dot/reflex/holographic sights implemented?

In first-person-shooters like Call of Duty, the hologram only appears when it is behind the glass portion of the sight. In OpenGL, would it be implemented by rendering the glass to the stencil buffer ...
0
votes
0answers
23 views

Color from OBJ not displayed in Blender

I want to import some .obj file that I have made with MeshLab. The point cloud file was actually in .pcd format and I used pcl_pcd2ply tools from PCL to change it into PLY-Format. Then I import it ...
1
vote
4answers
93 views

How to order points on a 3D grid such that we can connect them in a line loop correctly

I want to recreate an effect as close as possible to X-Com: Enemy Unkown's movement range feedback: The blue line delimits the tiles which the soldier can reach using a single action. We also are ...
1
vote
1answer
64 views

Getting normal map of an image

I'm trying to achieve the results in this tutorial: Link So far, I was be able to do that; with these; public PixelMap GetNormalMap(double strength) { var newMap = new ...
1
vote
2answers
104 views

How can I handle position in an entity system where position can be 2D or 3D?

I'm working on a game engine to learn how it's done (so I might better take advantage of the techniques involved and other, similar engines in the future), and I've run into a problem when handling ...
0
votes
2answers
76 views

Mobile Game Development: Supporting Multiple Screen Resolution

When designing the graphics of the game (e. g. for iPhone): What is the resolution I should base it upon? Is it the smaller resolution (iPhone4 screen resolution) so that I could scale it bigger to ...
2
votes
1answer
137 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
1answer
473 views

glsl shader to allow color change of skydome ogre3d

I'm still very new to all this but learning a lot. I'm putting together an application using Ogre3d as the rendering engine. So far I've got it running, with a simple scene, a day/night cycle system ...
4
votes
4answers
486 views

How to do an infinite torus topology battlefield for over-the-shoulder perspective

I'm currently prototyping a simple two-player adversarial game, where the players are able to move around and shoot at each other with cannons. I would like the playing area to feel essentially ...
0
votes
1answer
63 views

Specular light flickering with high specular power

I'm having some issues with specular lights, to be more specific, the specular color seems to be flickering when I set high power, like 512 (I set the specular color to green, so you can see better): ...
0
votes
1answer
267 views

Scaling background without scaling foreground in platformer?

I'm currently developing a platform game and I've run into a problem with scaling resolutions. I want a different resolution of the game to still display the foreground unscaled (characters, tiles, ...
0
votes
0answers
73 views

2D pixel art gets “jittery” as camera moves

I'm working on a game that makes use of low-res 2D pixel art. The textures are filtered with nearest neighbor filtering, and sprites are created with 1:1 size ratio of the textures (eg. 16x16 sprite ...
1
vote
0answers
41 views

How to turn off antialiasing in Graphics class?

I have been using the following code with a Graphics2D buffered image g.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR); to ensure the image ...
8
votes
3answers
4k views

Moving an object in a circular path

I want to move one object (dot) in a circular path. How should I change the X and Y coordinates to accomplish this?
0
votes
2answers
71 views

Game Background graphics blurred edges?

Why when using this code for the background for my game do I receive blocks with blurred edges? public final class State_Play extends State_Template { private BufferedImage background; ...
0
votes
0answers
29 views

Connecting lines from edge to edge of a gameObject Unity

I am trying to get the world position of a gameObject edge so to connect one edge to another edge with a lineRenderer component just like shown in the image below. I ran this script I found online to ...
3
votes
1answer
142 views

Mixing Perspective and Orthographic Projections?

I'm going to start with some background, so jump to my question at the bottom for the TLDR version. Problem: In a Japanese 4gamer article (english translation via Chev on Polycount) explaining some ...
0
votes
1answer
181 views

Why does my SFML game cause screen tearing on Linux?

I wrote a little game of a bouncing ball, using SFML and Box2D. On Windows, the graphics animate smoothly. However, on my Linux machine, the animation stutters randomly. To be precise, I get a ...
1
vote
1answer
71 views

Quick sprite contouring solutions?

I want to be able to quickly outline sprites(mainly with black, but other colours too) without doing it manually, as pictured. What would be a good program/solution to do so? Edit: I don't want it ...
0
votes
2answers
126 views

How should I fix a graphic glitch caused by t-junctions when using greedy meshing

As you might be able to see in the following image, a "graphic glitch" occurs between triangles. I know you are able to make this less visible by enabling anti-aliasing but i was wondering if there is ...
0
votes
1answer
77 views

Building a unity game without textures? [closed]

For a school project I have to build a unity game. Since the focus is on programming and building the game and not on creating graphics (we are supposed to find free models/textures online) I'm trying ...
26
votes
4answers
855 views

What viable way for an indie dev to test for epilepsy reactions on a game?

So I've been developing a game which is a bit.. blinky in terms of color and lightness contrasts. It's a game for the iPhone, so the screen's not gonna be so big.. But I've heard about wipeout XL ...
1
vote
1answer
81 views

how much memory does Adreno 320 GPU provide? [closed]

I wanted to know how much memory does Adreno 320 GPU provide ? I am using Nexus 4. I Googled about it and not able to find any details about it. Can anyone provide the details?
18
votes
4answers
4k views

How can I draw outlines around 3D models?

How can I draw outlines around 3D models? I'm referring to something like the effects in a recent Pokemon game, which appear to have a single-pixel outline around them:
1
vote
2answers
136 views

How do I create the visual effect of transitioning between night and day?

I am making an open-world project in Unity 4.5.5 and I want to create a visual effect of transitioning from day to night? The Legend of Zelda: Wind Waker HD has a great example of such a transition. ...
4
votes
5answers
5k views

openGL book recommendation [closed]

I wanna start learning OpenGL especially for android game programming but I would eventually want to be able to use this knowledge for windows\linux as well. I'm having difficulty choosing between ...
0
votes
1answer
63 views

How can I inspect 3D model exactness? [closed]

I am neither a game designer nor a graphic designer. I am a .Net and C# software developer. I have a game project and I've still been studying to learn game concepts and technolgies for a year. ...
0
votes
0answers
55 views

Texturing problem inside Unity

So I created a Hex Sphere using Houdini and exported it as FBX to Maya where I created UV's for the model to use it in Unity This is how my sphere looks inside Unity All the hexes are separated so ...
0
votes
0answers
60 views

Depth texture white in shader

I am trying to implement shadow mapping into my project and am stuck at this problem: If I'm reading the shadow map values with glReadPixels and linearize those values, I am getting exactly the value ...
0
votes
1answer
59 views

Oblique launch within a game

I'm creating a simple game in python that will follow the same logic of DDTank and Worms. The graph is formed by characters. The buildings that will be destroyed are formed by '*', players are '@' and ...
-2
votes
1answer
81 views

Biggest resolution for art assets for mobile games [closed]

I have created a game, and now I need to integrate graphics and distribute it for iOS and Android devices. As there are crazy number of screen resolutions, I think I should have just 3 set of art ...
0
votes
1answer
44 views

HDR and Alpha Blending

I've been reading a lot about HDR techniques and came across Alpha Blending compatibility. Searched even more and found this snippet from the Ogre Forums: With source alpha blending, it sometimes ...
1
vote
1answer
221 views

How to resize my 2d game to fit the screen?

I am currently making a 2D game using Java (Java 2D). I want to make my game resizable. If you play any game on an emulator (e.g. legend of Zelda in fceux emulator) in full screen mode, you'll see ...
0
votes
1answer
110 views

WebGL wrong scaling of rectangle

I'm working with this tutorial http://www.html5rocks.com/en/tutorials/webgl/webgl_transforms/ and my result is, that the rectangle moves in the direction of it's scaling values, and also scales at ...
2
votes
0answers
36 views

Calculate required resolution

Lets say I have a rectangle with width x and height y. Then there is transformation matrix T. Now, how using only those data can I estimate minimal resolution of texture (that is its width and ...
0
votes
1answer
208 views

How do I rotate and flip 2D sprites stored in a 1D array of pixels?

I am using a 1D array of pixels for rendering in 2D in java. I am interested in rotation (in radians) and mirroring across the x and y axes. The desired result looks something like this: Public void ...