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

learn more… | top users | synonyms (1)

0
votes
1answer
660 views

Side Menu using Libgdx

I want to make it so that when the player presses start, a side menu slides out and gives a player some option on one side of the screen, similar to Angry Birds or Pokemon. I'm not sure how to go ...
0
votes
0answers
213 views

Android SurfaceView framerate issue

I am using SurfaceView to draw a lot of Bitmaps onto canvas. This causes really variable frame rates depending on how many objects are present. My code below: public class OriginalView extends ...
0
votes
1answer
224 views

3D BSP rendering for maps made in 2d platform style

I wish to render a 3D map which is always seen from top, camera is in sky and always looking at earth. Sample of a floor layout: I don't think I need complex structures like BSP trees to render ...
10
votes
3answers
329 views

How do I make something I flash/blink more frequently as it gets closer to disappearing?

In my game when you kill an enemy they may drop something like a health pack or gold. I want this to have a time limit so that it eventually disappears if you don't pick it up. I want the item to ...
0
votes
0answers
26 views

Set Camera Attributes before Command Line Render

Is it possible to set perspective camera attributes (Translate, Rotate etc) in some automated way before doing a command line Render?
3
votes
2answers
222 views

Reducing overdraw cost: does triangle ordering matter?

I'm working on a project with procedural geometry, and will potentially have lots of opaque faces overlapping within the same model. Imagine an onion's layers. My understanding is it is better to draw ...
1
vote
1answer
106 views

Multiple FBX Animation Files in Maya

I bought some animated models which came as FBX files from the unity asset store and I'm trying to export them to PNG sprite sheets in Maya (for an html5 web project). The file seems to be main fbx ...
0
votes
3answers
231 views

Drawing game objects that are bigger than tiles

Problem: I have 32x32 world tiles, and a 64x64 object. I am only drawing visible tiles around the player. The object has its x and y coordinates in the tile world. I am drawing the object after I've ...
1
vote
1answer
1k views

Texture atlasing in Unity

I'm researching new ways to optimize games for better performance. Currently I am working on texture atlasing, which is giving me a hard time. I made the atlas using Texture2D.PackTextures and saved ...
2
votes
0answers
77 views

How do I calculate the points of a brush from a Source engine VMF?

I'm trying to render the brushes from a Source engine .vmf file in C++, using OpenGL. The .vmf stores solid brushes as a series of planes which I would like to use to calculate the points for each ...
2
votes
1answer
244 views

Microfacet model - BRDF obtain extreme values at grazing angles

I've been trying to replicate the result of this paper (linked directly to PDF paper, but you don't need to read it to give an answer) and encountered a problem with the BRDF according to the ...
0
votes
1answer
560 views

what kind of technique is used in android game rendering like Pou

Hi I want to create a game which is graphicaly similar like Pou, I just do not know how is is rendered, if it is using opengl or just bitmaps at canvas? I want nothing serious, so i think opengl is to ...
-3
votes
1answer
276 views

OS X OpenGL 3.2 Core (Black Screen)

I want to render a Quad via VAO, IBO and VBO but nothing is drawn. I'm using glDrawRangeElements in OS X OpenGL 3.2 Core context. The screen is completely black without any error. GLFW3 is used to ...
4
votes
1answer
279 views

Matcap and BRDF Shading

I just would like to know what's the difference between the Matcap shaders used in ZBrush for example and the Bidirectional Radiance Distribution Function shader. Are there two techniques the same ? ...
3
votes
1answer
80 views

Texturing a quad

Drawing a quad with a texture mapped to it with the fixed OpenGL pipeline is one of the easiest things to do in OpenGL. And for some madmaking, mysterious, dumb reason I can't get it to work. I ...
0
votes
1answer
147 views

Volume raycaster problems HLSL

Hi this is my first question here so if I fail to include some necessary piece of information please dont rip my head off. ^^ I can't seem to get my volume raycaster to workt properly. I've been ...
2
votes
1answer
102 views

Any possibility to render XNA scene via POV-Ray

We are creating special purpose application. Its not game but its 3d Application that functions like game. We require app to have different places and we want to allow user to roam inside such places ...
1
vote
2answers
236 views

Rendering large and high poly meshes

Consider an huge terrain that has a lot polygons, to render this terrain I thought of following techniques: Using height-map instead of raw meshes: Yes, but I want to create a lot of caves and stuff ...
0
votes
3answers
263 views

Using different shaders on the same model at runtime

I've already asked similar but a bit unclear question here but this time I will be very specific and to the point. Suppose I have an actor which grabs a power up. He starts to glow using bloom shader ...
6
votes
3answers
354 views

Why does clipping take place after illumination?

Can you explain why clipping takes place after the illumination process in the rendering pipeline? Would it be not cheaper to clip first and do then the illumination?
0
votes
1answer
448 views

Multiplayer Network Game - Interpolation and Frame Rate

Consider the following scenario: Let's say, for sake of example and simplicity, that you have an authoritative game server that sends state to its clients every 45ms. The clients are interpolating ...
1
vote
2answers
356 views

How to blend the sprite into background?

I try to blend the character into game but I still cannot remove the blue color in the sprite sheet and discover that the white area of sprite is semi-transparent. Before that, the color ...
0
votes
1answer
576 views

Why won't my vertex buffer render in GLFW3?

I have started to try to learn OpenGL, and I decided to use GLFW to assist in window creation. The problem is, since GLFW3 is so new, there are no tutorials on it or how to use it with modern OpenGL ...
0
votes
1answer
66 views

XNA Rendering vertices that only appear within the cameras view

I'm making a game in XNA and I recall hearing that professionally made games use a technique to only render the polygons that appear within the cameras projection. I've been trying to find something ...
18
votes
4answers
762 views

How to prevent “underwater sight” in games

In many games where the player can go underwater, it seems like when you look where the top half of the screen is in the air, and the bottom half the screen is in the water, it's almost like the water ...
2
votes
1answer
196 views

Keeping everything within one Activity

Overview My game is currently based on a single activity (rather than multiple activities) and I would like to keep it that way. At the moment, it goes straight into the game at level 1. I will ...
11
votes
4answers
662 views

Is there a way to prevent users from adjusting their gamma correction to 'cheat' their way out of a 'dark' area?

In almost every game I've come across that includes a dark situation designed to change the way a user interacts with the environment, there are always some players who turn up their monitor's gamma ...
-1
votes
1answer
94 views

Input rendering

Suppose I have a simple game model (designed with MVC pattern): There is a World, there is a WorldRenderer and there is a GameController. Now, World is a model of the world, i.e. game state. ...
0
votes
1answer
95 views

How to render polygons of arbitrary shape? [duplicate]

I am trying to render a plane with nodes. FYI : Nodes know what other nodes it is being attached to. I can think of a way to render them as long as they are aligned in a circular pattern; have a ...
1
vote
1answer
114 views

Seamless tiling with TexturePacker and Marmalade/IwGX

I'm looking for a way to get seamless tiling working, where the tiles are sprites off a TexturePacker sprite sheet, and the rendering is done with Marmalade's IwGX's streams. I also need to render the ...
4
votes
1answer
344 views

How do games deal with Z-sorting partially transparent foliage textures?

I was busy implementing basic transparency in a prototype I'm working on when something occurred to me. In order for a given texture's transparency to work as expected, the (semi-)transparent texture ...
0
votes
1answer
89 views

rendering a dynamic sized rock

I am developing a 2d mobile game that has a large deformable terrain (a lot like worms). I am rendering the terrain using a gray scale bitmap (in a fragment shader) which serves as a texture position ...
-1
votes
1answer
108 views

Anti-Aliasing in Java

In my game I want to have the different anti-aliasing option like: none, x2, x4, x8 and x16. I know that you can use anti-aliasing with Graphics2D in the way below bu is there any way that I can use ...
-2
votes
2answers
143 views

Rendering structure [closed]

my question is "What is the best way to structure rendering code". Is it better to make a class with a render function that iterates through all game objects based on there name or type and have no ...
0
votes
1answer
252 views

Drawing the same scene with perspective then orthographic projections

I have a scene that I'm rendering first with a perspective matrix. I then want to rerender it in a different viewport using an orthographic matrix for a top-down 2D view of the scene. I think I may be ...
1
vote
2answers
451 views

Resize a texture using the full SpriteBatch.Draw in XNA

I'm using the full Spritebatch.Draw function to draw my explosion sprite since I also need rotation. I am using the Scale value to resize my texture, but I can't get it to be accurate. I want to be ...
0
votes
0answers
595 views

Android OpenGL ES 2.0 gameloop problems

I implemented a gameloop found here: http://www.koonsolo.com/news/dewitters-gameloop/ into my OpenGL ES 2.0 Android game. The tutorial was written with the canvas API in mind, not OpenGL so I made a ...
3
votes
2answers
165 views

What is Volumetric Rendering?

I came across this term when searching for ways to visualize collection of voxels. What is volumetric rendering ? How is it different from normal surface rendering ? Are there any special advantages ...
-3
votes
2answers
515 views

How to preload a vast amount of models?

This is more a theoretical question, during runtime, my game runs smooth without any hickups. But as standard game-objects, my game contains collectibles such as coins (which are rotating Models). ...
0
votes
1answer
97 views

Why does this LUA code not render any objects on the screen? [closed]

Did I mess up something somewhere? If i put a putsxy in the same box, it renders a string just fine, but for some reason this code hates objects. What this code is supposed to do is render a set of ...
0
votes
1answer
94 views

Weird rendering issue when applying lightmap through HLSL

I have a weird issue when trying to render the lightmaps in my game. Please see the following screenshots. Note how the scene looks up close with the lightmaps enabled. Note how that same part of ...
0
votes
2answers
414 views

Irrlicht rendering basic OBJ

I have been trying to render a "room" with some basic functions and I found some "bugs". So at first I have made a "room" out of 6 planes in blender and gave each of them a diffrent color. ...
2
votes
1answer
186 views

Issues upscaling pixel art with SampleState.PointClamp

I'm developing a 2D game, and I'm striving to create a nice blocky low-res appearance for the game, yet allow it to be played at variable resolutions. So, I've researched resolution independency and ...
0
votes
3answers
580 views

Where to run logic update in openGL ES?

Using Canvas with Surfaceview I had a run() method where I would essentially do the following: onDraw(); update(); Where onDraw method would do the rendering and update would update all my game ...
1
vote
0answers
305 views

Optimal OpenGL 2D Sprite Batching (Best Practice)

I am working on simple 2D engine using OpenGL (3.3+) for rendering and was wondering what the optimal method of sprite batching would be. I plan to put all sprites into one (or fewer) texture atlases. ...
0
votes
1answer
272 views

Displaying sprites in a 2.5D raycasting engine

I'm developing a raycasting engine like the one used in DOOM, Wolfenstein 3D, etc. My engine is capable of correctly displaying walls and textures on walls, but I'm stuck at sprites rendering. Given ...
3
votes
1answer
189 views

Rendering a black and white image in OpenGL 1.1

Is there is any way that I can simple disable the color in OpenGL 1.1? Or can I "grey out" textures in LWJGL?
4
votes
2answers
271 views

What is the state of the art of ray tracing on the GPU?

I think ray trace rendering had to be done on the CPU for a long time. But since we have compute shaders in OpenGL 4.3 now, it might be possible to move the computations on the GPU and perform ...
1
vote
1answer
170 views

How to provide a fully programmable pipeline for rendering?

I am writing a game engine and I want people who use it allow to define the rendering pipeline. Just they can define the scene geometry, characters, items, light sources, and so on. So the term ...
0
votes
0answers
439 views

3ds max render to texture in PNG

Using 3ds Max 2012, I've been able to use the "render to texture" function to successfully bake my lighting. The only problem is that these image files are always output to TGA files. I need PNG ...