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

1
vote
1answer
749 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 ...
-2
votes
0answers
38 views

Why some game engines have better graphics [duplicate]

As far as I know a game engine is a medium/tool between hardware and the developer. (Correct me if I'm wrong) So technically they should offer the same graphics, but for example CryEngine has very ...
8
votes
6answers
2k views

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

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 ...
24
votes
3answers
10k views

How can I make this style of 2D “glowing” graphics?

I'm comfortable with the basics of building a 2d sprite based game in XNA, where all my objects are simply .png images that I move around. What things do I need to learn next to be able to develop a ...
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 ...
1
vote
1answer
59 views

2D World - How to represent my Game Objects graphically?

I want to code my own topdown 2D game with SFML+C++ that later shall have multiplayer functionality. Therefor I want to seperate the graphical and logical Parts of my game. All of my ingame Objects ...
1
vote
1answer
173 views

How to draw an ellipse with DirectX 9?

I can draw the outline of an ellipse but I want to draw a filled in ellipse, but I can't seem to get the code to work. Any help would be great! I am using DirectX 9 and D3DX.
4
votes
5answers
3k 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 ...
0
votes
0answers
26 views

Sphere texture mapping using Directx 11

I have a spherical panoramic image which I would like onto a sphere and centre it around the camera so I can look around the image, how should I best go about this? I will be using DirectX11. ...
1
vote
1answer
46 views

Map a normal image to a cubemap

How can I map a normal non T form image to a cube map? and if there is no manner with which to do this, is it possible to, via DX11, split the image, as the image may be generated on the fly? ...
0
votes
2answers
26 views

Unity C#: strange texture/sprite problems

I've been making a gallery style shooting game, like something you'd find at a carnival, with ducks to shoot. I'd made the game and it was all working fine. However opening it today, it doesn't look ...
5
votes
2answers
627 views

Unity3d. Overlay of clothes on a human model

I have: Clothes model (jackets, shirts, sweater etc. with various sizes,colors) Human model with dynamic height, width, position Need overlay the clothes' model onto a human model. Variant with ...
0
votes
1answer
35 views

Maya 2015 Collada mesh transforms not applied

I am trying to load a dae (Collada) model into my 3d engine. The problem is they export the vertices and transforms seperately. So in Maya 2015 it looks like this In the game engine I have it simply ...
0
votes
0answers
36 views

Texture artifacts depending on texture size

I get some strange artifacting with textures depending on their size. I run OpenGL 3.3 with an GTX 580 so it should definitely support non power of two textures. I've narrowed down the problem ...
1
vote
1answer
72 views

Screen tearing in emulator

I'm trying to make a game boy emulator, and I'm using Windows for the graphics (StretchDIBits). I'm getting screen tearing like this. I tried enabling vsync in graphic settings but nothing changed. ...
5
votes
1answer
129 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 ...
3
votes
1answer
245 views

Swapping graphics engines

Is it possible, or even feasible, to have graphics engine completely decoupled from game logic? Why I ask is because I want to start working on a game (I'm a complete beginner in game development, ...
1
vote
1answer
19 views

Custom Coloring of Tileset Characters

Games like Dwarft Fortress and Dungeon Crawl Stone Soup are drawing their boards using tiles from a tileset image (I think?). I know you can do color keying and replace the background color with ...
3
votes
2answers
419 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
1answer
197 views

Do SpriteBuilder's Smart Sprite Sheet need to be loaded to memory?

When I create an Smart Sprite Sheet Folder using SpriteBuilder and publish it, must I load that SpriteSheet into memory "FrameCache" with code or does SpriteBuilder do this automatically (so I just ...
2
votes
1answer
34 views

How does hidden surface removal work?

Lately, I've been learning some OpenGL for fun, and I've been thinking about hidden surface removal. Say you have a high poly count static scene, with nothing that moves, no bones, physics, etc. Just ...
0
votes
1answer
16 views

zoom, scale, pan etc in an application and printing

I have a C# windows application where I display photos for editing. The displayed image is scaled to fit the screen. I allow pan, zoom, rotate, crop operations. Once the editing is done, I would like ...
22
votes
5answers
35k views

What is ambient occlusion?

I've heard about ambient occlusion and it looks nice, but what exactly is it?
1
vote
1answer
105 views

Unity 2D Graphics Optimization For Mobile Devices

I want some advices on how to create graphical assets for mobile devices so that the game will have a good performance and not lag on mobile devices. I had 3 issues with my games and that is they ...
0
votes
1answer
36 views

Performance overhead on Non-POT Texture in POT Atlas

Using atlas, we can reduce memory and draw call. And the atlas is usally POT(Power of Two) Texture. And I know non-POT texture have a lot of GPU and memory performance overhead. (link) I have many ...
21
votes
4answers
4k views

What's the difference between mesh and a model?

Which one is created first? For example if a team worked on a graphical asset of a car, what would be a model and what would be a mesh of the car?
1
vote
1answer
27 views

Does projection take place before clipping in the rendering pipeline?

At first I thought clipping happens before projection since new vertices may be added and the output of projection is in NDC which is 2D. However after a lot of googling, I found that some ...
-1
votes
1answer
259 views

Unity how to change material properties at runtime

I'm working on a unity game where I want to change the color of a material from within a script. The material applies to a line renderer. I currently have the following script: using UnityEngine; ...
7
votes
1answer
87 views

Is quadrilinear texture sampling hardware supported?

If you have a volume texture with mipmaps, GL_LINEAR_MIPMAP_LINEAR texture sampling will perform quadrilinear texture sampling. Is that implemented in hardware like bilinear texture sampling is? Or ...
-1
votes
1answer
38 views

Perspective projection? [closed]

I am trying to write an elite like game and I kind of understand the maths behind it but it would be really helpful if someone could explain it.
3
votes
2answers
473 views

Why is Spritebatch drawing my Textures out of order?

I just started working with XNA Studio after programming 2D games in java. Because of this, I have absolutely no experience with Spritebatch and sprite sorting. In java, I could just layer the images ...
1
vote
1answer
46 views

Slick2D crashes on Image.getGraphics() on some machines

On some machines, creating a new Image and calling getGraphics() on it causes lwjgl to enter into some kind of faulty state that crashes when swapping buffers. Any idea what causes this and how to ...
3
votes
2answers
522 views

How do I use graphics APIs to select the proper display device among multiple attached to a PC?

I have an LCD monitor display and Oculus Rift attached to my PC. I have an Nvidia 820M dedicated GPU. How does the GPU know to which display device it has to render (or to send rendered information)? ...
1
vote
0answers
67 views

Normal Mapping a Cubemap

I posted a question on Stackoverflow and it was suggested that it would be better asked here. I have a sphere. It was created via the icosphere method outlined here: ...
1
vote
2answers
82 views

Is it possible to run GLFW eventhough my graphic card(Nvidia) supports Direct3d API? [closed]

I have Nvidia 820M GPU installed in my windows 7 machine. In nvidia control panel it is showing it supports Direct3d API version 11. Am I able to run OpenGL applications(using GLUT,GLFW) on my machine ...
12
votes
3answers
7k 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?
14
votes
3answers
2k views

How to render infinite universe?

I'm curious what are the best practices in game development industry to render 3d universe? To be more specific: The data points are given and static. Each point has position, color and size; The ...
1
vote
0answers
40 views

Can you trilinear sample a non volume texture?

Let's say that i have a regular 2d texture (not a volume texture). Is it possible to do trilinear texture sampling of that texture even though it isn't a volume texture in opengl or directx? ...
1
vote
1answer
94 views

Problem, why the mouse cursor position is totally wrong, after resizing the window?

I come here, because i'm trying to add some "menu" interface in my small XNA Game . I found on internet a nice library adviced by many devellopers. Till now everythink is ok, the problem is my C# code ...
1
vote
0answers
62 views

Algorithm for creating mesh from 2D image silhouette

I'm looking for an algorithm that can take a 2D image, approximate it's shape and then generate a low poly mesh. Basically, the same what Unity does with sprites when you select tight mesh instead of ...
0
votes
2answers
64 views

How to combine objects in a rendered scene with and without bloom effect?

I'm working on a game and engine as I go under OpenGL. I've had a bloom effect in place for a while that works as a post-procesing effect on the entire screen. It's been fine up until now. I have ...
0
votes
0answers
28 views

Phong shading blows out things close to white [OpenGL]; is there a way around this?

I'm doing per-pixel lighting using the Phong shading model. In pseudo code this looks like: vec4 ambientColor = light.ambientIntensity * material.diffuse; vec4 diffuseColor = light.diffuseIntensity ...
2
votes
1answer
86 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 ...
1
vote
1answer
50 views

What is the difference between a Viewport and a Scissor Rectangle?

In XNA, what is the difference between a Viewport and a Scissor Rectangle, and when should I use each one? It looks like viewport clipping is applied to the geometry before the rasterization state, ...
0
votes
0answers
23 views

Where can I buy professionally done isometric tiles for 2d maps? [duplicate]

I recently crafted this ghetto map maker for my web-based game engine and I found a cool tileset. But, the problem is... I need to find and buy more of these kind of space / galaxy themed isometric ...
0
votes
1answer
246 views

Ground contact point for animated character sprites in an isometric game?

I'm working on an isometric game. I have the 3D pre-rendered sprites for directions per state (walking/running, etc.) per frame. Now I need to know where a particular character stands on the ground to ...
2
votes
1answer
141 views

vuforia how do I force objects into a 2D plane

I'm working on a game in which cards are placed on a table and then rendered in augmented reality. These objects have 3D physics attached to them which doesn't work as well if they are either rotated ...
-1
votes
1answer
122 views

Do I necessarily need to write a vertex shader to use geometry instancing?

I've quickly read the GPU gem about geometry instancing, there are many wordings and I'm not sure I understand it well. If I understand it well, when you use instancing, if you want to apply ...
5
votes
2answers
709 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 ...
3
votes
1answer
114 views

Optimizing the “visibility cone” calculations for a 2d game

I'm creating a simple 2D game and got a little bit stuck with this algorithm. What I wanted to achieve - and achieved - is to draw a visibility cone influenced by walls and other obstacles on the map. ...