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

learn more… | top users | synonyms (1)

7
votes
0answers
244 views

How to cache resources in my homebrew rendering system

Background: I am designing a simple 3D render system for an entity component system type architecture using C++ and OpenGL. The system consists of a renderer and a scene graph. When I finish the ...
6
votes
0answers
205 views

SVG—rendering performance

I have created a jump'n'run browser-game based on SVG. The »World« grew large (~80px * ~20000px, before scaled to viewport height) and rendering went slow. In consequence I included a range searching ...
5
votes
0answers
39 views

Learning how to make imposters manually in Unity - how to render an object to a texture not what camera sees?

I am trying to learn the most performant way to make an imposter in Unity manually - not using pre-fabricated solutions. My first guess is that it should be achieved by using RenderTexture and a ...
4
votes
0answers
45 views

Irradiance Map ( Irradiance environment map)?

As irradiance map is generated for every possible normal for all the texels in environment map (as every texel act as a light source) so that we can look up irradiance map, based on normal of fragment ...
4
votes
0answers
88 views

How to draw Shadow Volumes in one draw call?

I've got a simple app that draws 3D cubes using instance rendering and I'm implementing Shadow Volume. Each cube's vertex, uv, normal and index data are statically stored in 4 vertex array buffers. On ...
3
votes
0answers
319 views

Card Masking in Phaser

Good Day, I'm new to Phaser and still learning about it to. I am challenging my self to create a simple animation of a card flip somewhat realistic rather that making use of a scale. This is ...
3
votes
0answers
119 views

Render on texture with alpha 0 for the background colour

Sorry if the question is stupid but I am very new to opengl. I render on a target a scene with a couple of object on a background that is nothing more than the clear colour (which is ...
3
votes
0answers
717 views

AlphaToCoverage + Alpha Blending = Artifacts

I'm experiencing a strange problem using OpenGL SampleAlphaToCoverage mode. There are rendering artifacts when using alpha-blending on pixels that have been rendered using alpha-to-coverage - and I ...
3
votes
0answers
398 views

How is Ping-Ponging done in Stage3D & AGAL (Flash Player 11)

Does anyone know how to create a Texture feedback effect in Stage3D / AGAL? I've just found the term "ping-ponging" in some GPU wikipage, hopefully I'm using it in the right place! I'll share with ...
2
votes
0answers
33 views

Moving Draw functions out of GameObjects

This is basically the issue as in Tactics for moving the render logic out of the GameObject class with the topic already discussed here and here However I'm not really satisfied with the given ...
2
votes
0answers
28 views

Bidirectional Path Tracing questions

I'm coding a Bidirectional Path Tracing application for school in C++ and I have some questions (I haven't found useful explanations on the web) 1) Why does the EyePath have one more vertex? 2) When ...
2
votes
0answers
167 views

OpenGL Render Queue Design

I am currently designing the rendering system for a 2D game built in C++ and OpenGL, and am unsure about how to go about implementing a sorting procedure to maximise efficiency and minimize OpenGL ...
2
votes
0answers
27 views

GL.Scissor not working as expected

I have some code for rendering a button in an application and I want to clip the text if it's wider than the button itself. Here a bit of code to describe what I'm doing: ...
2
votes
0answers
49 views

How can I reduce render time on scenes with lots of UI component?

I'm looking for a way to reduce rendering time for my Game Over scene. A quick look of the scene components is like this: All yellow objects are UIButton, texts are all UIText, white areas are all ...
2
votes
0answers
42 views

Problem with baked lights

I'm working on a 3D gallery experience and I'm having some difficulties regarding directional and point baked lights. When I build it for web with webgl, only global lights are rendered, but when my ...
2
votes
0answers
56 views

Custom 3D Renderer: Frustum clipping

I have recently been toying with the idea of creating a 3D-renderer from scratch and, after looking into it, doesn't seem like such a behemoth of a task as it sounds. Last night, I was tossing and ...
2
votes
0answers
59 views

Efficient mobile rendering order, given transparent vs. non-transparent objects

I'm interested to know how others would do / have done this. Part 1. Constraints. My current renderer is being built to support OpenGL ES 2.0 primarily and so aims for performant mobile as well as ...
2
votes
0answers
206 views

How do I make volumetric grass?

I've been extremely interested in volumetric technology, especially for grass. Online resources are extremely scarce on this topic. What is the difference from creating a lot of mesh billboards? ...
2
votes
0answers
175 views

Texturing Objects in OpenGL

Using OpenGL tutorials found here, I constructed an .obj file loader as well as a texture file loader using SOIL. I have an issue with drawing a textured object. (Shown here) Assuming I created the ...
2
votes
0answers
149 views

DX 11 Specular Highlights in Deferred Renderer

I am currently implementing a deferred renderer in DX11.1. Right now I am having a problem that I can't seem to crack with specular highlights when I have multiple light sources. I keep a vector of ...
2
votes
0answers
168 views

How to improve my maxscript random blood generation code?

The idea was simple. Draw basic blood drop meshes. Shuffle them with random generator to get final drop's. Export and render them in game as other meshes. The problem is that it's not looks like a ...
1
vote
0answers
61 views

How to draw 2D pixel data with OpenGL

I am fairly new to OpenGL. I have a 2D game in SDL2 that uses currently works by creating a SDL_Surface from the pixel data, copying it into a SDL_Texture, and rendering it to the screen with ...
1
vote
0answers
56 views

World texturing techniques in FPS game

Texturing for small objects (pickups and enimies) can easily be done UV-unwrapping the model, and use a texture of reasonable size to make the model look good. But how can texturing be done for the ...
1
vote
0answers
52 views

Unity: Build looks different then gameview: runtime reflection probes not working correctly

Im having a really hard time figuring out how to configure my reflection probes to update in runtime once I build. The game port view looks totally different than the build view. Ive tried turning off ...
1
vote
0answers
65 views

Texture gets blurry when moving Box2D body

I'm having this issue that is very annoying. Somehow the texture of the player body is getting blurry and leaving a slight trail with its colors when moving it. The interesting fact is, this only ...
1
vote
0answers
67 views

My Game Renders Awful In Android Build

I'm working on a 3D Sniper game and have finished the project. When I test it on Windows (7). It's All Fine, not even a bug. But when I take the app into android (Bluestacks App Player), my buttons ...
1
vote
0answers
51 views

Isometric rendering code is not rendering correctly

I'm trying to render some tiles in an isometric view, I'm using Java with the Slick2D library. float xoff, yoff; int half = 64; public void render(GameContainer gc, StateBasedGame sbg, Graphics g) ...
1
vote
0answers
90 views

Libgdx - Transparent color over texture

I am attempting to tint a texture a color but I want the texture to show under the tint. For example, I have a picture of a person but I want to tint them a light green and not change the transparency ...
1
vote
0answers
87 views

How to extract the texture from an image onto a mesh?

(preamble: I think this fits either here or SO with computer vision tag, I chose gamedev because I think you guys are probably really good with textures and meshes, but tell me if my decision was ...
1
vote
0answers
138 views

Efficiently rendering tiled map on OS X

I'm writing an original (top-down) SimCity clone in Swift and attempting to use SpriteKit as the basis for the game. However, I am running into performance issues when rendering and animating the tile ...
1
vote
0answers
207 views

Layers with parallax in a game with zoom out by a transformation matrix

I'm trying to implement a parallax rendering to my multi layered backgrounds. It's a classic 2d fighting game like The King of Fighters and Street Fighter. It may have a stage composed by 5 layers. ...
1
vote
0answers
139 views

X, Y, Z rotation around camera

I'm making a 3d orthogonal-projected, game using painters' algorithm in java. I'm able to rotate the objects with incremental rotations (e.g. rotate all objects 10 degrees) using affine ...
1
vote
0answers
177 views

Create multiple viewports in minecraft?

Im new to minecraft modding, but Im curious about the possibility of creating a mod such that players could set up a 'security camera' with its own viewport so that the player could 'see what the ...
1
vote
0answers
482 views

How can I reduce draw calls when using glBufferSubData and DYNAMIC_DRAW?

At first I had the problem where I had about 150 rectangles rendered every tick. I only used STATIC_DRAW and glBufferData. I added support for DYNAMIC_DRAW and glBufferSubData and now I have a very ...
1
vote
0answers
427 views

LibGDX render sprites in tiled-map format ( convert texture to sprite )

I am creating a game in which till now I have used textures to create A 2D tiled game. I have created a matrix which converts the touch co-ordinates into a array index number and according to that ...
1
vote
0answers
154 views

LibGDX polygon caching

I am developing an Android game using LibGDX and I have big world map made of polygons. I use PolygonSprite and PolygonSpriteBatch, when I render map, I get 30-35fps and it feels laggy. I wonder if ...
1
vote
0answers
303 views

Drawing cube map and texture array on NVidia cards doesn't work

I have small problem with shadow maps preview. After binding shadow framebuffer I bind proper texture to store depth in it and then render the whole scene. When I read that values in shader to ...
1
vote
0answers
895 views

OpenGL ES multiple objects not being rendered

I am doing the following to render multiple balls move around the screen but only 1 ball is seen to appear and function. I don't know why the rest (count-1) balls are not being drawn public void ...
0
votes
0answers
27 views

How to solve these issues with gun customization mod for Minecraft?

I' m currently making a plugin for gun customization for minecraft 1.7.10 but I have rendering issues. All the textures match requirements. Sights are 1024x256 and the rest is 16x16 I think it's the ...
0
votes
0answers
19 views

How to draw things on top of objects drawn in OnRenderObject()?

I am using Unity, here is the method in question. So I know this method draws objects after the camera is done rendering the scene. I have not come across a way in Unity to draw these objects in a ...
0
votes
0answers
48 views

WebGL Primitive Batching unexpected performance

I'm kinda new to WebGL in general, I've started to make some batching experiences on primitives (just drying a bunch of rectangles by using a combination of two triangles repeatedly). I've started by ...
0
votes
0answers
27 views

Faster ways of rendering to a texture what is viewed by a camera in a given specific moment (Unity)

What I want to achieve is to render to a texture what is viewed by a camera in a given specific time or frame, and then stop rendering to the texture, delete the camera and stay with that texture for ...
0
votes
0answers
10 views

Render layered polygons

I am coding a video game in as3 for practice in game development/programming. It's a pixel game and I'm using my own game engine and I also created my own drawing api for thick lines and thin lines by ...
0
votes
0answers
26 views

Unity's 'Ambient' Occlusion occludes everything. How to do it better?

I'm experimenting with custom AO solutions for Unity. While looking at the source for their built-in SSAO effect, I noticed the shader is doing this: half ao = tex2D (_SSAO, i.uv[1]).r; ao = pow (ao, ...
0
votes
0answers
89 views

From Flash to Haxe - rendering a complex 2D scene (aka “My Graphics Hell”)

(note - This is not a technical question as such, more a query on design and structure) I'm working right now to remake and finish an old Flash game of mine in Haxe with a new engine (Luxe). I've ...
0
votes
0answers
52 views

VR/360 playback recording of standard gameplay

Apologies if this question has been asked before, and apologies too if it is obvious to those with knowledge - I'm completely tech illiterate especially when it comes to gaming etc so bear with me! ...
0
votes
0answers
35 views

Trouble with OpenGL on OS X

I'm creating an OpenGL-based game for OS X using Xcode. Everything renders correctly when I run the game in debug mode. However, running the game in release mode shows just a blank white window. This ...
0
votes
0answers
104 views

Box2d - Texture lagging and flickering

I'm having issues with texture rendering in my game. I've done a lot of research and repeated the same steps of tutorials over the internet to render and update Sprite positions properly. Somehow, ...
0
votes
0answers
65 views

Libgdx and Box2D TiledMap render is not smooth

I'm building simple side scroller game. My player (square) move fast and it interacts with other world objects. Problem is when my player is moving it seems that all world is rendering somehow strange ...
0
votes
0answers
125 views

Water Rendering with LibGDX and LiquidFun

I'm very new to game development and I need some help with a renderer. Can somebody show some code for a Water renderer (and shaders if needed) using libgdx and liquidfun? I can render my particles ...