0
votes
0answers
19 views

Manual occlusion culling with glDrawElements [duplicate]

How should I go about doing occlusion culling with glDrawElements? I am dealing with voxel-like terrain. I want to avoid drawing the faces that are facing another block. I just don't know how to ...
3
votes
1answer
282 views

How to efficiently render a large terrain mesh?

Recently I've been stuck on a problem thinking about the best way to generate a terrain into my game. In another projects I normally used heightmaps, so all the core-work was based on the engine used, ...
2
votes
1answer
154 views

Why is there high performance hit with many meshes?

I am currently reading upon Geometry Instancing, as I want to render a lot of animatable objects on the screen. However I have come to a more fundamental question first: Why do I even need to use it? ...
-1
votes
1answer
73 views

Creating and drawing models efficiently

As I am learning the basics of game programming (in xna), I want to start creating simple 3d models and draw them (I'm already able to draw, control and animate them). I want to create the following: ...
4
votes
1answer
211 views

What is faster — full size with AA or reduced to screen size with no AA?

I wonder what is less expensive resource-wise: Drawing a usual modern 3D game scene with some geometry at 100% scale, with some AA; Drawing a downscaled scene (to fit the screen, but originally a ...
5
votes
2answers
605 views

How do collision meshes work in games like Zelda on the N64?

I was recently reading about the technology of Ocarina of Time/Majoras Mask and discovered that world collision is done using a single triangle mesh (vertices, normals, etc) for an entire area. There ...
6
votes
1answer
278 views

How to find the bottleneck in a typical OpenGL game?

I am working on a little game engine. All major features are implemented yet, despite game logic which I assume not to be such a computational effort. The framerate is at least around 40 FPS, most of ...
1
vote
0answers
75 views

iSGL3D Occlusion Culling

I was testing a cool 3D Scene Graph Library called iSGL3D. Since I found some functions called alpha culling for displaying partly hidden objects (making the ones in front transparent). I was ...
-1
votes
1answer
108 views

GLES2 rendering performance for different iPad generations

I'm using C++/GLES2 for iPad only (no iPhone). The only device I own is an iPad2 and I do not plan to support iPad 1. Can anyone help me understand realistic goals/limits on iPad 2/3/4 in terms of ...
2
votes
2answers
1k views

How do I simulate a crowd in the stadium stands?

I'm working on a mobile sports game with Unity. I'm wondering how I could create an efficient effect of an audience in the stadium. I know that with more than 15 characters in my games (with 1800 ...
2
votes
2answers
795 views

What is the best way to check if there is overlap between player and static, non-collidable items in bullet physic engine

I'd like to add non collidable objects (eg: power ups, items, ...) in a game world using Bullet Physics Engine and to know if there is collision between player and them. Some info : there is a lot ...
5
votes
1answer
855 views

VBO and gl*Pointer management practises?

I'm aware it's not a simple yes/no question and for the moment I can't tell if it can be simply answered, or is it topic for a long discussion which is not suitable for our Q&A format. I want to ...
0
votes
1answer
374 views

Optimizing hierarchical transform

I'm transforming objects in 3D space by transforming each vector with the object's 4x4 transform matrix. In order to achieve hierarchical transform, I transform the child by its own matrix, and then ...
1
vote
3answers
265 views

Material usage, one per model or per object?

Is it better (memory, time (of developer), space) to use single model that is unwrapped and uses a single material or to break a model down into appropriate bits, each with their own smaller ...
0
votes
0answers
93 views

Drawbacks for using only quads for model geometry [duplicate]

Possible Duplicate: Why do game engines convert models to triangles compared to keeping it as four side polygon What are the main drawbacks for using "only" quads for model geometry? Does ...
2
votes
1answer
779 views

Drawing a textured triangle with CPU instead of GPU

I understand the benefits of GPU rendering and such, but for a certain limited application I need to render textured triangles purely using CPU. I've built a 3D engine capable of object handling, ...
5
votes
5answers
1k views

Path planning for volumes in games

How would you path plan a volume for a game? For example a 1 km cube with tunnels and caverns. Also the terrain is destructible. You have walking and flying modes. I would separate it into phases. ...
1
vote
3answers
135 views

Regulating how much to draw based on how much was drawn last frame

[Edit: I found an answer - see below] I have a 3D game world on an iPhone (limited graphics speed), and I'm already regulating whether I draw each shape on the screen based on it's size and distance ...
1
vote
4answers
525 views

Import from mesh vs hardcoded vertices performance

Which brings better performance at run-time: a cube imported from a mesh, or a cube made from hardcoded vertices? Are there limitations to a certain method? Is one of them better architectural-wise?
8
votes
5answers
1k views

Geometric Transformations on the CPU vs GPU

I've noticed that many 3d programs normally do vector/matrix calculations as well as geometric transformations on the CPU. Has anyone found an advantage in moving these calculations into vertex ...