graphics-programming

Starting Graphics & Games Programming (Java and maybe C++)

I've always had an interest in creating my own games, and now at university I have the opportunity to create some 2D and 3D games using Java and C++ for those who are that way inclined. I've never really programmed a game before, let alone graphics, so I'm completely new to the area. After a quick trip to the library today I came across...

2D Cel-Shading in JavaFX

Hello everyone, I am writing a pretty simple 2D game in JavaFX, and although its only in preview release at the moment, I am looking to try to implement (even basically) some sort of Cel-Shading onto my game objects. Does anyone know if there are reference implementations of cel-shading out there that I could use, or perhaps, some advi...

Really Basic Graphics in C# 2.0 Tutorials

I work for a ticketing agency and we print out tickets on our own ticket printer. I have been straight coding the ticket designs and storing the templates in a database. If we need a new field adding to a ticket I manually add it and use the arcane co-ordinate system to estimate where the fields should go and how much the other fields ne...

Does anybody know good graphical morphing code or algorithm?

I'm building a small app and I need to be able to morph one image into another. Any pointers would be appreciated. ...

XNA on graphics card.

How can I program graphics on a graphics card with XNA? (How do I move the workload onto the graphics card) ...

Favorite graphical subsystem to program in

Ok, this is an interesting question to ask because everyone has a say in it. What is your favorite library to program in for GUI's and the language that you program it in. Give a short reason why. (ex. Gtk, Qt, Windows, etc..) Just an FYI, this includes any scripting language that you program a GUI in Python, Perl etc... Frankly I'v...

What does glLoadIdentity() do in OpenGL?

I'm new to OpenGL and I'm a little overwhelmed with all of the random functions that I have my in code. They work and I know when to use them, but I don't know why I need them or what they actually do. I know that glLoadIdentity() replaces the current matrix with the identity matrix, but what exactly does that do? If every program requi...

[iPhone] Is current graphic only available in view's drawRect: ?

I tried invoking UIGraphicsGetCurrentContext() in other places other than in drawRect. It give me a NULL. Is it true that I can can only get current context in UIView's drawRect: only? ...

How do draw to a texture in OpenGL.

Now that my OpenGL application is getting larger and more complex, I am noticing that it's also getting a little slow on very low-end systems such as Netbooks. In Java, I am able to get around this by drawing to a BufferedImage then drawing that to the screen and updating the cached render every one in a while. How would I go about doing...

Resizing an OpenGL window causes it to fall apart

For some reason when I resize my OpenGL windows, everything falls apart. The image is distorted, the coordinates don't work, and everything simply falls apart. I am sing Glut to set it up. //Code to setup glut glutInitWindowSize(appWidth, appHeight); glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA); glutCreateWindow("Test Window"); //In d...

Low-hanging graphics programming fruits?

Hi, I'm currently working on a tile-based game in Java2D, and I was thinking of adding some cheap eye candy. For example, implementing a simple particle system (maybe something like this) for explosions and/or smoke. Do you have any suggestion for relatively easy to program effects that wouldn't require drawing a lot (or at all) of ...

What positions can I get in CGI industry as a programmer?

I am currently in my final semester doing a Bachelors in Computer Science, Programming Emphasis. I also love graphics and my initial aim was to go in game development (graphics programming). I now opened the gap wider to any field that includes graphics, including movies, etc. My questions are: What positions are available to programm...

Where can I find some good graphics programming exercises?

I'm currently reading through Real-Time Rendering (3rd ed.) and I love the book, but there aren't any exercises. Where can I find some exercises to help solidify my grasp on the content? Edit: Real-Time Rendering is a heavily conceptual book; I'm looking for math exercises, not programming exercises. ...

Are there major differences between shader languages?

I am currently learning GLSL. It would seem that once you learn one of the shader languages, learning one of the others would not be too difficult. Is it something analogous to learning a widget toolset like wxWidgets and then switching to Qt? Once you get the idea of what is happening within one widget toolset, another toolset will d...

What are some good graphics programming interview questions?

What are some good graphics programming interview questions? These could be math questions, OpenGL questions, DirectX questions, shader questions, etc. ...

How do you procedurally rotate an image in WPF?

I want procedurally rotate an image in WPF. I've seen how to bind a rotation to a control. But, I want to bind the rotation to an object's angle. How do I do that? ...