The process of generating an image or series of images from a model by means of computer programming.

learn more… | top users | synonyms (1)

1
vote
2answers
104 views

Working out of a vertex array for destrucible objects

I have diamond-shaped polygonal bullets. There are lots of them on the screen. I did not want to create a vertex array for each, so I packed them into a single vertex array and they're all drawn at ...
5
votes
1answer
418 views

Vertex fog producing black artifacts

I am rendering a textured model using the XNA BasicEffect. When I enable fog, the model outline is still visible as many small black dots when it should be "in the fog". Why is this happening? ...
5
votes
1answer
192 views

Two graphical entities, smooth blending between them (e.g. asphalt and grass)

Supposedly in a scenario there are, among other things, a tarmac strip and a meadow. The tarmac has an asphalt texture and its model is a triangle strip long that might bifurcate at some point into ...
10
votes
1answer
1k views

Information about rendering, batches, the graphical card, performance etc. + XNA?

I know the title is a bit vague but it's hard to describe what I'm really looking for, but here goes. When it comes to CPU rendering, performance is mostly easy to estimate and straightforward, but ...
0
votes
2answers
939 views

Rendering another screen on top of main game screen in fullscreen mode

my game runs in fullscreen mode and uses active rendering. The graphics are drawn on the fullscreen window in each game loop: public void render() { Window w = ...
2
votes
3answers
1k 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, ...
1
vote
1answer
471 views

Lost transparency in SDL surfaces drawn manually

I want to create SDL_Surface objects for each layer of my 2d tile-based map so that I have to render only one surface per layer rather than too many tiles. With normal tiles which do not have ...
4
votes
1answer
475 views

How to use caching to increase render performance?

First of all I am going to cover the basic design of my 2d tile-based engine written with SDL in C++, then I will point out what I am up to and where I need some hints. Concept of my engine My ...
6
votes
2answers
1k views

Low-level game engine renderer design

I'm piecing together the beginnings of an extremely basic engine which will let me draw arbitrary objects (SceneObject). I've got to the point where I'm creating a few sensible sounding classes, but ...
2
votes
1answer
449 views

Distributed Rendering in the UDK and Unity

At the moment I'm looking at getting a game engine to run in a CAVE environment. So far, during my research I've seen a lot of people being able to get both Unity and the Unreal engine up and running ...
1
vote
2answers
141 views

Back to front drawing in an Unorginized array of tiles

I have an Array of tiles in no particular order. How would I do a isometric back to front rendering on it? Do I HAVE to order it?
0
votes
2answers
2k views

Efficient way to render tile-based map in Java

Some time ago I posted here because I was having some memory issues with a game I'm working on. That has been pretty much solved thanks to some suggestions here, so I decided to come back with another ...
2
votes
1answer
395 views

How to draw Isometric game Back to front

What is the for loop or algorytm for a 2D array of tiles that I would render the tiles back to front like this:
11
votes
1answer
2k views

Rendering Unity across multiple monitors

At the moment I am trying to get unity to run across 2 monitors. I've done some research and know that this is, strictly, possible. There is a workaround where you basically have to fluff your window ...
1
vote
1answer
198 views

Triangle Strips of Tetraheron

I am confused about the triangle strip representation of closed mesh .The vertex buffer for triangle strip representation of the a figure is shown below: A(0,1) B(0,0) C(1,1) D(1,0)E(2,1) vertex ...
1
vote
1answer
209 views

Distrubuted Rendering in a CAVE system

I am currently working with CAVE systems and I'm looking into hooking up a pre-exisiting game engine in one. I know this is possible through Unity and the Unreal Engine as there is already research ...
1
vote
1answer
149 views

Only apply Advanced Graphics on high FPS Dynamically

I wonder why not prevent lags by only appying advanced optional graphics stuff when the FPS are high at time. So The game could use simpler or even no shaders and skip decorative models some time. It ...
2
votes
1answer
338 views

Synchronizing input, update and rendering threads

How do you synchronise the input-handling, state-updating and rendering threads? If a sprite position is modified due to input, the wrong position of the sprite might be drawn to the screen if the ...
18
votes
3answers
9k views

outline object effect

How can I achieve an outline effect similar to the ones found in League of Legends or Diablo III? Is it done using a shader? How? I would prefer answers that are not tied up to any particular ...
6
votes
1answer
4k views

Repeat texture in libgdx

How to fill region with repeated texture? Now I'm using next method: spriteBatch.begin(); final int tWidth = texture.getWidth(); final int tHeight = texture.getHeight(); for (int i = 0; i < ...
3
votes
1answer
2k views

Correct use of VAO's in OpenGL ES2 for iOS?

I'm migrating to OpenGL ES2 for one of my iOS projects, and I'm having trouble to get any geometry to render successfully. Here's where I'm setting up the VAO rendering: void bindVAO(int ...
0
votes
1answer
478 views

Isometric drawing “Not Tile Stuff” on isometric map?

So I got my isometric renderer working, it can draw diamond or jagged maps...Then I want to move on...How do I draw characters/objects on it in a optimal way? What Im doing now, as one can imagine, ...
0
votes
1answer
319 views

How can I simulate light using mask images on the iPad? [duplicate]

Possible Duplicate: Can I achieve a torchlight effect (lighter area around a light source) in a 2D game? I want to have a picture as a background, say this: Then I would like to apply a ...
1
vote
1answer
241 views

Invert colors Java rendering

I am making a 2d platformer in java using the slick2d engine. I only use 2 colors: black and white. I want to implement a feature were i invert the colors of certain entities. However i can't find a ...
2
votes
2answers
217 views

Child parent rendering (flash) in XNA

i am currently in the process of implementing a render engine that works like flash's. Where a sprite is drawn inside another sprite and reflects all transformation (rotation, scale, etc) on the ...
0
votes
3answers
304 views

Central renderer for a given scene

When creating a central rendering system for all game objects in a given scene I am trying to work out the best way to go about passing the scene to the render system to be rendered. If I have a ...
3
votes
1answer
236 views

Should the frame rate be consistent or is it normal for it to jump around?

As I commented on a post, I started wondering if it was correct or not (the comment, not the answer). And I'd like to straighten that out. Although not needed as info, here's the link to the ...
3
votes
0answers
447 views

How to reproduce the 3ds Max Gradient Ramp effect?

The material definition of a mesh is composed of these three components: Self-Illumunation, Refletcion and Refraction. Each of these components has a Gradient Ramp as a map and the mapping mode is set ...
0
votes
2answers
243 views

Logic / Render phases with a single thread

The question I have may generate different opinions from different developers, but I'd still like to have an answer on this. Its all about the updating and rendering steps of the game loop, and their ...
3
votes
1answer
275 views

What's the name of the rendering problem I describe here?

I don't remember how is it called that rendering problem that you have when you get fast movements (a sprite moves fast for example from right to left) and you have half of the image in a position and ...
0
votes
1answer
436 views

Rendering Loop Problem (Java)

I'm not new to programming, but I am relatively new to game programming. I am trying to create a version of Breakout, as a good basic game to get myself introduced to 2d game programming. I currently ...
1
vote
1answer
306 views

Intercepting DirectX calls and optimizing the overal performance of games

I would like to use a DirectX proxy dll to intercept (and possibly optimize) the graphics calls being made by normal PC games. I am going to "screen cast" a game with ffmpeg or something similar and ...
4
votes
3answers
997 views

Interpolate and collisions

Lets take the simple example of a ball bouncing off a wall. The physics is separated from the display. The physics is set to run at say 20 frames per second and the display is running faster than this ...
3
votes
1answer
1k views

What does multisampling skip or improve? (so it can be faster than supersampling)

I never really fully understood this, or found an article which explained all the steps in a friendly way. I'll start with what I do know already (which I hope do not contain misconceptions). I'm ...
1
vote
1answer
1k views

JavaScript rendering: Canvas or DIV?

I am planning on developing a multiplayer RPG (kinda like RuneScape, but don't worry, with a different gameplay) and i want to do this in the browser. Now before saying things like "A MMORPG is hard ...
2
votes
1answer
375 views

My transparent objects overwrite opaque objects depth and always draw on top?

I have set up an 'Order Independent Transparency' method for drawing my transparent objects. The algorithm can be simplified as follows: DrawOpaqueObjects() DrawTransparentObjects() Drawing the ...
2
votes
2answers
298 views

How can my “world” provide the information required to render itself?

I am writing a JavaScript game that provides a top down view of the player, to eventually create a ray caster that can render the view in faux 3D (the top down view will end up as the mini-map). A ...
0
votes
2answers
409 views

Help with Open GL terrain

I have a terrain class like so: class Terrian { public: Terrian(int width, int height); virtual ~Terrian(); GLuint get_vertexbuffer(); GLuint get_colorbuffer(); ...
3
votes
2answers
358 views

Way to render objects

Is it best to have a renderer class in which you have a seperate function for each object you wish to draw? Or is it best to give each object a render function? class Renderer { ... } ...
3
votes
1answer
1k views

Multi Screen Rendering in Unity

My experience with Unity in not that in depth. But I am wondering if it possible in unity to split what is being rendered across multiple screens. It's hard to explain, so here is an image: So ...
1
vote
1answer
472 views

Updating scene graph in multithreaded game

In a game with a render thread and a game logic thread the game logic thread needs to update the scene graph used by the render thread. I've read about ideas such as a queue of updates. Can someone ...
0
votes
1answer
197 views

How can I keep straight alpha during rendering particles?

Rencently,I was trying to save textures of 3D particles so that I can reuse the in 2D rendering.Now I had some problem with alpha channel.Some artist told me I that my textures should have ...
4
votes
1answer
872 views

OpenGL ES 2.0 texture distortion on large geometry

OpenGL ES 2.0 has serious precision issues with texture sampling - I've seen topics with a similar problem, but I haven't seen a real solution to this "distorted OpenGL ES 2.0 texture" problem yet. ...
0
votes
2answers
512 views

Game thread, render thread, animation/inverse kinematics, and synchronization

In a multithreaded setup with a game logic thread and a render thread, with some kind of skin mesh animation with inverse kinematics plus etc how does animation work? Does the game logic thread just ...
4
votes
2answers
2k views

Resources for 2D rendering using OpenGL? [closed]

I noticed that there is quite some difference between 3D and 2D rendering using OpenGL, the techniques are different - pixel-perfect placing is a lot more desirable, among other things. Are there any ...
11
votes
4answers
2k views

Synchronization between game logic thread and rendering thread

How does one separate game logic and rendering? I know there seem to already be questions on here asking exactly that but the answers are not satisfactory to me. From what I understand so far the ...
3
votes
3answers
2k views

How many BasicEffects do you have in a Game? What is the best way to render multiple objects/shapes at once?

I'm trying to understand 3D rendering and it seems that everytime you render a new object (A 3D Cube or something) you need to have a new BasicEffect for each Box you render unless you want the exact ...
2
votes
2answers
714 views

Can frequent state changes decrease rendering performance?

Can frequent texture and shader binding decrease rendering performance? "Frequent" binding example: for object for material in object render part of object using that material "Low count" ...
-1
votes
2answers
328 views

FreeType2 Crash on FT_Init_FreeType

I'm currently trying to learn how to use the FreeType2 library for drawing fonts with OpenGL. However, when I start the program it immediately crashes with the following error: "(Can't correctly start ...
0
votes
2answers
500 views

OpenGL: Drawing to a texture

Well im just a bit stuck wondering how to draw an item to a texture. Edit: Well unfortunately my graphics card doesn't support FrameBuffer Objects :/. So i've been trying to get the copy contents ...