Tagged Questions

Programming related to the visual representation of information on computer screens.

learn more… | top users | synonyms

0
votes
1answer
30 views

Objects won't render when Texture Compression + Mipmapping is Enabled

[EDIT: FIXED - Calling setting texture max level fixed that] I'm optimizing my game and I've just implemented compressed (DXTn) texture loading in OpenGL. I've worked my way removing bugs but I can't ...
13
votes
5answers
488 views

Given a RGB color x, how to find the most contrasting color y? [closed]

Possible Duplicate: Making a symbol appear on any colour I have to mark a certain item in a way that will make it stick-out in the background. I need it to be surrounded with the color that ...
1
vote
2answers
125 views

Is 2 lines of push/pop code for each pre-draw-state too many?

I'm trying to simplify vector graphics management in XNA; currently by incorporating state preservation. 2X lines of push/pop code for X states feels like too many, and it just feels wrong to have 2 ...
0
votes
1answer
56 views

Game window systems and internal frames

I don't know if this is a valid question, but: What kind of window manager do games use which have internal frames (Frames inside frames)? Does this differ between the programming languages (Are e.g. ...
0
votes
3answers
220 views

graphical interface when using assembly language

I want to learn a framework to use in assembly. I know that's not possible without learning the framework in C first. So I'm thinking of learning SDL in C and then teach myself how to interpret the ...
0
votes
1answer
60 views

How to work with two layers or more in cocos2d?

I want to make a game in cocos2d. I don't know too much about it. My question is related to communication between two layers or more. For instance, let's say I want a layer with a scrolling road and ...
2
votes
3answers
130 views

Drawing graphics in Java game

I am quite new to game development, so here is a question (maybe a stupid one): In my sidescroller i have a bunch of different graphics objects that i need to draw (player, background tiles, ...
0
votes
2answers
165 views

In need of Game Development Industry guidance [closed]

Sorry if there is already a question like this, i searched but didn't found the answers i'm looking for. I need advice on what should i focus more and where i should start, i need a plan. Currently ...
6
votes
4answers
285 views

Debugging Shader Code?

I'm writing a game engine, and when I use a perspective camera I get a black screen. I am not going to ask exactly why this is because there would be a lot of code to share and, frankly, I think ...
1
vote
1answer
109 views

global transform to local transform?

If an object is attached to another one and you need to set its position, rotation and scale in global space, what do you do to get the local versions of these values, knowing the same values for the ...
0
votes
1answer
114 views

Engine and level of detail for maze / labyrinth / dungeon scene?

My question is similar to these: Algorithm for generating a 2d maze To scene graph or not to scene graph? I.e. in this case should I use jme3 or some other engine (I heard unreal offers a free ...
-3
votes
1answer
106 views

I need to make a create-a-class system like in COD

I need to make a create-a-class system like in COD but I don't know what code I need. I am also wondering if I have to make a photoshop image for every way it could look or do I type in the code to ...
0
votes
0answers
126 views

Map 3D space to 2D screen space?

Could some one help me to understand this code and explain it? It's about converting from 3D space to 2D position, so that I can use it in another Effects (.fx) files, but I am a bit confused. float ...
2
votes
1answer
136 views

Decal implementation

I had issues finding information about decals, so maybe this question will help others. The implementation is for a forward renderer. Could somebody confirm if i got decal implementation right? You ...
2
votes
1answer
77 views

Shader inputs in a general purpose engine

I'm not familiar with SDKs like Unity or UDK that much, so i can't check this offhand. Do general purpose engines allow users to create custom uniform variables? The way i see it, and the way i have ...

1 2 3 4 5 9
15 30 50 per page