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
48 views

SFML RectangleShape won't render

I have a sf::RectangleShape in my code which is defined like this : sf::RectangleShape shape_1; And it's values are set like this : shape_1.setFillColor(sf::Color::White); shape_1.setPosition(10,...
2
votes
1answer
65 views

Unreal Engine Player Quality

I had to force Unreal to use my integrated graphics card because VR wasn't working with my NVidia card. When I did this, the framerate dropped terribly and it popped up a dialogue "Frame rate's bad, ...
0
votes
0answers
18 views

Is it possible to Change the vertex format of a Model from line list to Triangle strip using DirectX

So I have a DirectX game library and using DirectX models in a game I am developing. All the models I am using have a Triangle Strip topology and thats fine as ID3DXMesh uses triangle strips for ...
1
vote
0answers
69 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
votes
1answer
213 views

Java - LWJGL OBJ Loader with Materials not rendering

So I successfully loading my obj file but I obviously want to get materials on it. I added the vt(texture) to the OBJLoader and the Model.render but still rendering textureless. I have exported the ...
3
votes
1answer
73 views

How to determine what color will be written into single pixel framebuffer?

I thinking about rendering into single pixel (1x1) framebuffer. For example we have two triangles which covers whole NDC area, one is green second red. What color will be written to 1x1 framebuffer? ...
-1
votes
1answer
62 views

Why not draw a custom font with lines and/or polygons?

Reasons/advantages I see: More flexible procedural animation. Completely custom font. Performance (no texturing or high-poly)? No assets (unless data-driven). Multi-resolution compared to sprite ...
4
votes
1answer
65 views

What is the fastest way of drawing simple, textured geomtries and keeping the depth test?

I'm looking for a fast way to draw simple 3D geometries - that will consist of up to 10 vertices. Each of them will have a texture (though varying between geometries). I also want to store the ...
0
votes
0answers
69 views

Rendering BOX2D shapes with LIBGDX

I have been creating a game on my own and I need a little help to begin with graphics. I haven' t found much in the internet about this topic, so I came here. Right now I've got a chainshape that i'm ...
2
votes
0answers
57 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
46 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 ...
0
votes
2answers
138 views

Libgdx change to other screen and dispose current one

I am trying to switch to a GameScreen when the LinearVelocity of a Box2D - Object is x = 0. If it is so, I am using the setScreen() - Method by calling the main class. This works perfekt, but when ...
0
votes
0answers
19 views

Finding intersection in CPU ray casting

I'm trying to implement a ray casting on CPU, for each pixel I have a ray. I'm reading the data which is stored in a rectilinear grid. I'm trying to find the intersection but I'm not sure how to do ...
3
votes
1answer
125 views

Transparency sorting in 3D world with different render types

I am rendering a world, object, and models from an older game format. The world is presented in a BSP tree so I can quickly iterate through. The opaque surfaces are rendered front to back. Then ...
2
votes
1answer
147 views

How would i go about implementing portals into my game?

I don't mean to ask a broad question, so let me explain. I'm creating a 2D top-down design game and I'd like to implement "portals" to be able to switch between worlds. Each world is a level class, ...
-2
votes
1answer
57 views

What should my team and I learn first 2D or 3D? [closed]

Hello I am willing to start making a game about adventuring and saving the dream land of goats from nightmares. I have a small team of people that go to the same school as I do and we are all at a ...
0
votes
0answers
25 views

Layout is different?

I know that layouts can look different on different screen sizes, but I didn't take that into account when I made this layout. So, it is designed for normal screen size, by default, and my phone ...
5
votes
1answer
1k views

Unity: Apply an Image Effect on one layer only

Please consider this simple scene. It’s composed of 3 different game objects. 1 background image + 1 static character image + 1 small part (with the pet) that is changed at runtime to perform an ...
0
votes
0answers
50 views

Rendering istances of a cube with visible and hidden faces

I am trying to find a way to render instances of a cube with visible and hidden faces using lwjgl. Before doing the instancing, I was rendering the cubes one by one, that way I could decide which ...
1
vote
0answers
58 views

Techniques of graphics rendering with single CPU core? [closed]

I am interested in methods of 2d and 3d rendering using single thread on an average CPU (e.g. for programming games for old and low-end PCs). While I usually have no performance problems when using ...
0
votes
1answer
143 views

How Apple Metal API distinguishes uniforms from vertices buffers?

I am not sure how metal distinguishes uniforms from vertices buffers? As far as I know code for passing uniforms in buffers are the same like for vertices: [self.commandEncoder setVertexBuffer:...
1
vote
1answer
63 views

Partial mesh culling by checking against the AABB-tree of objects vertices instead of only the AABB of the whole objects

First thing: this is more of a conceptual question than an implementation oriented one, but still tips about implementation will be very much welcome if you happen to have any (athough I have some ...
3
votes
2answers
85 views

How to render transparent meshes without sorting? [duplicate]

Let's assume we have some arbitrary triangle manifold meshes which are transparent. How real guys effectively render it? Is it possible todo it without sorting faces back to front (e.g. via bsp) and ...
3
votes
2answers
50 views

How can I render all objects behind a plane with a specific transparency value?

I have a game where there a multiple floor levels between the player switches. The floor is not present everywhere, so you can look through it. When 'working' (playing, building stuff, etc.) on a ...
49
votes
5answers
9k views

Why not pre-render story parts in a game?

When playing games nowadays there are often story related cut-scenes, during which you cannot interact with the game, you can only listen to it or watch it while it plays. However in a lot of games ...
2
votes
1answer
77 views

How to render multiple displays in Unity

I have a scene (lest assume, large glass table I want to looking through) and I want to render with 4 displays (each 1920x1080). How can I set up camera for this, I want the "glass cube" to fill ...
2
votes
0answers
64 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 ...
1
vote
0answers
55 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
1answer
107 views

OpenGL shaders messed up

So after a long attempt at DirectX I switched back to good old OpenGL. Now I'm running into this weird problem. My code involves shaders, of course, and drawing a basic cube. But I'm getting this ...
4
votes
2answers
69 views

Displaying smooth borders given a coarse grid-based map

I've been messing around with different algorithms trying to make a grid based map look smooth, I have tested with various shader based methods and wrote a few of my own but none of them look right. ...
1
vote
1answer
52 views

seamless stereographic projection

i have been struggling with this problem on and off for a few years now - making a seamless stereographic projection texture mapping on a sphere where the two halves of the sphere use the projection ...
2
votes
3answers
226 views

How do you get the best rendering performance in a 2D Java Game?

I have seen a lot of tutorials, and they develop games with 2 different ways: The first one is using a virtual image (BufferedImage) and filling it's pixels. And displaying virtual picture. private ...
4
votes
0answers
98 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 ...
6
votes
4answers
312 views

Is index drawing faster than non-index drawing

I need to draw a lot of polygons consisting of 6 vertices's (two triangles). Without any texture coordinates, normals etc., both approaches result in 72 bytes. In the future I would definitely also ...
5
votes
1answer
79 views

Problems with rendering in 3ds Max

I am working on a project in 3ds Max, but when I render the project it looks very weird. See this picture for an example: How can I fix this?
2
votes
0answers
64 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
1answer
99 views

How do I stop off-screen tiles of a 2D tilemap from being rendered?

I am seeing lag because I render all tiles in my map at once. How can I exclude off-screen tiles from being rendered? My tiles are 32×32 and my player is always in the centre of the screen. Here is ...
1
vote
1answer
161 views

Why am I getting these artifacts when rendering polygons with OpenGL and SDL from far distance?

I'm working in a toy BSP (quake3 version) renderer. I started creating the context and handling the input with GLFW but then I switched over SDL. The performance change was amazing with SDL leading ...
6
votes
1answer
304 views

Why do I see spaces between polygons in OpenGL, only on an Nvidia 720M?

I'm developing an OpenGL application that renders .obj 3D models. I use VBOs to render the polygons. Using the same code, the loaded models appear fine on all PCs, except on my Nvidia 720M. My ...
4
votes
1answer
126 views

In Game Maker, how do I make invisible platforms the player can walk on, and reveal with an item?

I'm using Game Maker and looking for help with these: I'd like to have invisible platforms and walkways for the player to move on. I want the platform to be slightly visible in this option so the ...
2
votes
1answer
113 views

How can I recover polygons and normal maps from compiled games through emulation of D3D or OpenGL?

I am trying to generate labeled training data for an artificial visual cortex to learn on. I'm looking for a tool that will, instead of rendering the scene at each pixel just give me the pre-rendered ...
2
votes
0answers
42 views

Pre-existing voxel tools/libraries for Java [closed]

I want to do some development using voxel data as well as rendering it. My interest is more in the project its self, rather then things like working out rendering optimization techniques and working ...
1
vote
1answer
48 views

matrix transformations 2D - place in world-space but keep size in “object/screen-space”

I have a question concerning matrix transformations. I Think I know how it could be done, but Im not sure its the best/correct way to do it. I want to apply World translations and rotation to an ...
1
vote
1answer
325 views

Unity 5 - Textures look strange in Deferred Rendering

I've created an exterior terrain scene in Unity 5 which features lots of trees and grass but some textures look awful and I'm wondering why. Please see the attached image: This texture problem is ...
1
vote
1answer
206 views

Libgdx are textures off screen rendered?

Let's say that my code looks like this: OrtographicCamera camera=new OrthographicCamera(); camera.setToOrtho(true, 100, 150); SpriteBatch spriteBatch=new SpriteBatch(); spriteBatch....
1
vote
0answers
102 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 ...
2
votes
1answer
135 views

Pixel thin lines appearing between sprites on camera move

I'm going to apologize in advance for the lack of screenshots, but this was a very hard thing to capture, but very obvious to see. I'm using LibGDX to create a tile base rogue-like. Everything is ...
1
vote
1answer
32 views

What happenes if you leave out buffers for the inputassembler that the vertex shader expects?

I'm working through my first attempt at a "graphics engine" (I use the term loosely as I'm not aiming for much more than something that will display a few meshes). I want to leave my classes as ...
0
votes
2answers
94 views

Most efficient way to mass render tiles in java slick2D [duplicate]

So I am trying to make a tile based game, it is rendering about 40 tiles on the screen at once. I get about 40 FPS on an okay computer. When I tell it to not render the FPS jumps to around 400 so I ...
1
vote
1answer
96 views

How do I store an FBO'S as a cube map?

As of late I've been trying to implement Cubemaps in my engine, and have managed to get the rendering side of them working. Currently, I'm trying to implement a function for creating them, but I ...