The graphics-programming tag has no wiki summary.
-2
votes
1answer
123 views
Where to begin? [closed]
I'd like to start designing and creating games in either C or Java (as these are the primary languages I know). Is there a good book or online guide on where to begin development with these languages? ...
1
vote
2answers
83 views
Why Inverse Transform the Ray when doing Transformation?
I am adding 3D affine transformations to my ray tracer, and it seems all the literature on the web recommend inverse transforming the ray instead of transforming the 3D objects.
Why is that? There ...
3
votes
1answer
98 views
GLSL default shaders
I've been arming my engine with error checking code. I'll try to describe this situation to my best abilities. Whenever i load a shader and there's an error (file doesn't exist, compilation error, ...
0
votes
2answers
95 views
GLSL shader compilation
When i'm compiling a shader does it have to be complete? Can i use glCompileShader on a shader without a main() function? The OpenGL reference documentation has a nice writeup on program linking ...
0
votes
1answer
61 views
handling buffers in OpenGL
I'm reading through the OpenGL docummentation for version 3.3 core. I'm having issues understanding proper buffer deletion.
ATM i have an object that loads itself into OpenGL memory in the ...
0
votes
1answer
55 views
3D format or software that stores a vertex normal
At the moment i'm using .obj file format to store 3D models. It's popular, easy to read and parse. The issue is that it stores sufrace normals for each face. This isn't an issue for me yet, but i'm ...
1
vote
0answers
51 views
Batching Homogeneous Render Objects in XNA, 2D Component-Entity Engine?
I've been working on my component-entity engine for about 3 months now, and have managed to get nearly every constituent system working with little effort or compromise. My system has the following ...
-3
votes
1answer
78 views
Getting the normals of a hemisphere?
I'm trying to calculate the normal for a hemisphere. I'm kinda new to opengl.
I draw the hemi-sphere by this code:
for(float phi = 0.0; phi < 1.567; phi += factor) {
...
1
vote
1answer
88 views
How do I read the an environment map CPU side? (Similar to texCube function on GPU)
I need to extract the one pixel from a environment mapping (I already have the 6 textures) using the normal vector. How can I achieve this ?
I want something very similar to what texCUBE(link) does ...
3
votes
2answers
96 views
Full screen display mode
Could somebody point me to resources that would explain what full screen actually is?
What's the point of it? It seems to be more than just a window that has the client are taking the whole screen.
5
votes
1answer
130 views
Difference between the terms Material & Effect
I'm making an effect system right now (I think, because it may be a material system... or both!). The effects system follows the common (e.g. COLLADA, DirectX) effect framework abstraction of Effects ...
2
votes
2answers
153 views
Optimizing graphics for an iOS flash game
A friend of mine and myself are working on a flash developed iOS (and later Android) puzzle board game. He's a developer and I'm a designer/developer so (no surprise) we have different points of view.
...
2
votes
1answer
172 views
How do I implement a score database in Android?
I making a 2D game for Android using OpenGL-ES technology. It is a space shooting game where the player shoots enemy ships.
I want to keep a track of score for the amount of enemy ships destroyed ...
-3
votes
2answers
420 views
How to implement a 2d collision detection for Android
I am making a 2d space shooter using opengl ES. Can someone please show me how to implement a collision detection between the enemy ship and player ship. The code for the two classes are below:
...
1
vote
1answer
277 views
Z rotation causing skew Android OpenGL ES 2.0
If I rotate about the X, or Y axis there is no skewing however for a pure 2D game that does not help me. When I try to rotate about the Z axis however the quad I am rendering for the sprite starts to ...