Tagged Questions
-4
votes
1answer
91 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 - ...
0
votes
1answer
120 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
73 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 / ...
2
votes
1answer
84 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 * ...
0
votes
0answers
103 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 ...
0
votes
0answers
235 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 ...
-5
votes
3answers
200 views
in the shadow of a sphere [duplicate]
(Related, but somewhat different, to my previous question)
How can I determine in a fragment shader if a fragment is in the shadow of a sphere?
That is, if it is occluded by the sphere and is past ...
0
votes
1answer
77 views
Devices or Smartphones That Can Run and Displayed Images Properly While Power of 2 Code is Disabled
Before making game apps, I want to have any certain smartphone device brands that runs on OpenGL. I have to make a code for images that doesn't need to required power of 2 images so that I can resize ...
5
votes
1answer
203 views
What are the rest of the blending functions used for?
In general, I know of five ways to make use of blending functions (these are for OpenGL, but replace glBlendFunc() with SetRenderState(D3DRS_SRCBLEND) and SetRenderState(D3DRS_DESTBLEND) for DirectX):
...
22
votes
10answers
2k views
What makes a game look “good”?
I am working on a 3D space game using OpenGL and C++ and I am planning to focus on giving the game modern, eye-catching graphics, but the more I think of it the more I realise I don't really know what ...
5
votes
1answer
227 views
What is actually drawn when glDrawArrays and glDrawElements are called?
In my journey out of immediate mode I've come across a snag that I haven't been able to find a decent answer for in any tutorial or API, namely: Which data structures are actually invoked when I make ...
0
votes
0answers
80 views
Opengl binding shaders vs binding buffers performance
Quick question for an opengl guru, I'm in the process of building a render queue and can either reduce the number of shader binding or the number of vertex buffer binding. I just want to know which ...
15
votes
2answers
778 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?
5
votes
3answers
592 views
Understanding how to create/use textures for games when limited by power of two sizes
I have some questions about the creating graphics for a game.
As an example. I want to create a motorbike. (1pixel = 1centimeter)
So my motorbike will have 200 width and 150 height. (200x150)
But the ...
5
votes
1answer
273 views
How to flip a BC6/BC7 texture?
I have some code to load DDS image files into OpenGL textures, and I'd like to extend it to support the BC6 and BC7 compressed formats introduced in D3D11. Since DirectX and OpenGL disagree about ...