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.
-1
votes
0answers
71 views
Why is SDL powerful? [on hold]
As far as I know they are only two base graphics API, GL and DX. So SDL is a wrapper to these API's?
But you read that SDL is a low level powerful API?, is this true, and why ?
-1
votes
0answers
62 views
What has been used as an icon for “experience”? [on hold]
I have trouble coming up with an icon for "experience." Strength (sword), defense (shield), money (coins) all easy.
What do people use for Experience? I came up with brain (eww) and lightbulb ...
0
votes
0answers
41 views
hex grid on a sphere in unity [closed]
I am designing a game on a turn based strategy game on a sphere using Unity. I want to use hex grids on my sphere and be able to place certain specific objects based on the type ( color ) of the grid ...
0
votes
0answers
56 views
Does the visual quality of a game depend on the artistic aspect or the game engine? [closed]
A lot of games made with free and non-popular game engines (eg. Panda3D), look much worse than the games made with engines such as Unity3D (using YouTube as my source of examples). So does the quality ...
0
votes
0answers
45 views
What is GPU bandwidth? [closed]
Does it refer to the bandwidth between the RAM, Northbridge and GPU, or internal bandwidth within the GPU?
How much data is it possible to send to the GPU in a single frame?
1
vote
1answer
81 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 ...
2
votes
0answers
25 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
0answers
53 views
Fixing/avoiding Z-fighting with decals OpenGL
I'm trying to draw animated flames as a decal in OpenGL (just a simple quad with an animated texture as a decal on another quad). Problem is as the camera moves away I get terrible Z-fighting in the ...
0
votes
1answer
115 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 ...
1
vote
1answer
52 views
Collision detection against complex shapes and curves
I am new in game development and for simple games bounding box collision is fine. However, let's say you have a shape or bitmap like this:
This is just an example but if you had more elaborate ...
1
vote
3answers
193 views
Why are huge polygon amounts bad?
It is always said that the polygon amount of a single modell must be as little as possible when it comes to realtime simulations such as computer games. (Or at least lower than when rendering a movie)
...
0
votes
2answers
43 views
What is the easiest and fastest way to display an SDL_Surface in a window with SDL2?
I would like to have an SDL_Surface representing the contents of the window, just like in the old days with SDL1.2. What is the best and fastest way to do it in SDL2?
What I found is that I need an ...
1
vote
1answer
120 views
Pokemon Yellow wrap transitions
So I've been trying to make a pretty accurate clone of the good old Pokemon Yellow for quite some time now and one puzzling but nonetheless subtle mechanic has puzzled me. As you can see in the ...
0
votes
1answer
102 views
Orthographic Projection Issue
I have a problem with my Ortho Matrix. The engine uses the perspective projection fine but for some reason the Ortho matrix is messed up. (See screenshots below).
Can anyone understand what is ...
1
vote
1answer
74 views
Does scaling affect performance in OpenGL? [closed]
I've never been able to understand the best practice in this context. I usually want to ship my game with as minimum size as possible. So whereever possible, I try to use scaling of my graphics. Let's ...
0
votes
0answers
47 views
graphics.IsFullScreen resetting to false after game constructor and graphics.ApplyChanges()
This is a MonoGame 3.2 Windows (DirectX) Project.
I've tried setting graphics.IsFullScreen to true in the game's constructor and in the game's initialize function, both times running ...
1
vote
1answer
46 views
How do I draw a line using jme3.scene.shape.Line in JMonkeyEngine 3.0?
I can successfully create the object, but it can't be attached to the rootNode. What can I do to make the line appear?
I'll also would like to know how to reverse the effect(making it disappear) ...
0
votes
0answers
85 views
OpenGL shading doesn't work with different projection and view matrices?
I found an online (public-domain) code to do marching cubes, and I am trying to adapt this code to work in my own project. The code uses GLUT and "older-style" OpenGL, whereas I am using GLM and ...
12
votes
4answers
1k 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 ...
1
vote
3answers
107 views
Technique suggestion to render corroded pipes in 3D
We currently have a lot of data relating to cracks/corrosion/deformations in metal pipes which at present, can be viewed in a crude flat/2D application which makes the metal anomalies hard to spot.
...
0
votes
0answers
60 views
Ray-Triangle Intersection Detection using Barycentric Coordinates
I am attempting to convert the algorithm from http://www.cbloom.com/3d/techdocs/fast_ray_tri.txt to java code, but my solution does not function correctly.
The only intentional change I made was for ...
1
vote
2answers
54 views
XNA graphics.PreferredBackBufferWidth's new value doesn't immediately change window size
I set the width and height of the window in my game constructor, and then pass the graphics manager to a class to check the value. In the game's initialize function, it doesn't seem to recognize the ...
1
vote
1answer
80 views
Android Game Slows Down
I had been developing a Maze Game which is dragging a bitmap down on the maze going on the finish line. on first my game response quickly on my onTouch and dragging and after couples of
adding toast ...
2
votes
0answers
84 views
DX 11 Specular Highlights in Deferred Renderer
I am currently implementing a deferred renderer in DX11.1. Right now I am having a problem that I can't seem to crack with specular highlights when I have multiple light sources.
I keep a vector of ...
0
votes
1answer
60 views
What is the optimal way to handle matrix internal data storage for interop with native graphics apis?
I'm writing a managed (c#) game engine and have stumbled on a bit of a crossroads in design/implementation regarding matrix types.
Matrix types need to be optimized for marshaling to native graphics ...
0
votes
1answer
96 views
How to draw a specific GameObject into RenderTexture in unity?
To apply my effect, I should draw only several specific objects into a RenderTexture, with their material, and then use the RenderTexture as a texture for an another object. I think ...
0
votes
0answers
44 views
How to make a game like “pewpew”? [duplicate]
I have a question about the graphics of these games like "pewpew", "geometry wars".
Pewpew. Visit here: https://play.google.com/store/apps/details?id=com.jyaif.pewpew&hl=en
How these games are ...
14
votes
7answers
2k views
What does the term “channel” mean when used in regards to computer graphics?
I was studying terminology for computer graphics, and this statement came up that confused me.
The image can have alpha channels for transparency.
I tried searching for the meaning of the term ...
0
votes
1answer
41 views
Bounds Queries for Simplex Noise Function
How do I construct a Bounds Query for 3D Simplex Noise?
[This is more or less a follow-up to my last question]
Simply put, for an arbitrary octree node (cube) in my volume (a section of Unity3d ...
1
vote
1answer
84 views
Basic Collision Detection Math [closed]
First a bit of background. I have yet to read a book on game development, though I do plan on picking one up sometime.
A long time ago I made a simple pong game, followed by a simple Arkanoid-type ...
0
votes
2answers
73 views
Single texture or one texture per light for shadow mapping
The basic implementations of shadow mapping that I have seen create a depth texture for each light source affecting the scene. I'm just curious as to why this might be done rather than using and ...
5
votes
1answer
298 views
Top-Down Octree Generation of Procedural Terrain
I'm trying to implement a voxel-based terrain generation system in Unity3d (C#). I have successfully implemented a uniform 3d grid system, and have extracted the isosurface out using Marching Cubes ...
1
vote
2answers
77 views
Should I shade models before or after importing them into Unity?
Is it better to shade a model inside the 3D modeling software or inside Unity?
As an example, if I need to use a transparent model, should it be made transparent inside the modeling application or ...
2
votes
1answer
138 views
Processing move between tiles with an animation in isometric map
In my isometric map, entities can only be in the center of the floor tile.
So it's tile per position.
This is my map with an entity:
Entity can either move forward, left, or right.
Where forward ...
2
votes
1answer
197 views
Drawing tile images with bigger height on floor tiles on 2.5D isometric map
Hello I am creating my first isometric game.
I have floor tiles which are 112*56 in size.
This is a simple strategy game I am making, it's an existing game, I just copied the idea for practice since ...
1
vote
0answers
52 views
Algorithms for Physically based shading models [duplicate]
For real time interactive graphics, it seems to be practical now to use physically based shading models. I want to write some shaders to incorporate into an openGL based game engine that I'm writing ...
1
vote
2answers
222 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 ...
1
vote
0answers
65 views
How would I warp a mesh with code?
I recently asked a question about putting a camera at the head of a 3D human model here and it worked out rather well and whatnot, but there is still a problem that bothers me:
How would I ...
3
votes
1answer
98 views
Prewarming in particle engines
How is prewarming in particle engines made?
I have a particle engine and need to support this, which is a feature I have already seen in Unity.
Is it done at compilation, like informations stored ...
0
votes
0answers
17 views
Using Graphics from my Frame's paint() gives cutting effect every call to repaint()
Every frame the run() method of my thread calls the repaint() of the frame subclass, in this frame subclass I override the paint(Graphics) and since I want to have different screens from my game I ...
10
votes
1answer
443 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 ...
0
votes
0answers
38 views
Java Graphics Rendering Bug
So I've been playing around with moving objects using KeyListeners and active rendering via while(true) loop.
CANVAS.createBufferStrategy(3);
BufferStrategy buffer = CANVAS.getBufferStrategy();
...
0
votes
0answers
117 views
ShapeRenderer is pixelated in libGDX
When I use a ShapeRenderer, it always comes out pixelated. But if I draw the shape in photoshop with the same dimensions, it's very smooth and clean-looking.
My method is just as follows:
package ...
20
votes
3answers
2k views
Are there 3D projections other than orthographic and perspective? [closed]
The question is pretty much in the title. Are there notable 3D projections other than orthographic and perspective that could be used in a 3D system such as OpenGL?
In particular, are there any that ...
1
vote
1answer
83 views
2D how to add graphics for liquid physics?
I was always wondering how to add the graphics to a a blob body for example, regardless of what engine or library you are using, i want to know (theoratically) how to move from this state :
...
0
votes
0answers
17 views
Where can I find free graphic 2D resources for vehicles (car, truck, bus, etc) from top view for a top down racing game? [duplicate]
Where can I find free graphic resources for vehicles (car, truck, bus, etc) from top view for a top down racing game? I mean something like:
1
vote
1answer
61 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 ...
2
votes
1answer
199 views
OpenGL - have object follow mouse
I want to have an object follow around my mouse on the screen in OpenGL. (I am also using GLEW, GLFW, and GLM). The best idea I've come up with is:
Get the coordinates within the window with ...
0
votes
0answers
52 views
Pixel Shader : Backbuffer is 'Black'
After Fiddling around I am pretty sure this is not a Shader issue.
Edit 4:
The only diference I can see is that BasicEffect calls these methods before drawing:
// Make sure that domain, hull and ...
1
vote
1answer
112 views
Are there any reasons to use Legacy (2.X) OpenGL?
The benefits are well documented of the Modern OpenGL 3.X & 4.X API's, but I'm wondering if there are ANY benefits to keeping with the old OpenGL, Or if learning OpenGL 2.X is a complete waste of ...