-1
votes
0answers
27 views

How to get 3D objects using Visual C++ | OpenGL | SDL | Blender [on hold]

How to get 3D objects using Visual C++ | OpenGL | SDL | Blender Hi, I have been searching for a tutorial(s) witch corresponds or my specific desire but I had no luck, any suggestions? Thanks.
0
votes
2answers
72 views

Mouse Look Controls [on hold]

Right now I am not happy with my mouse look controls for a 3d game I am making. I have it set up so that when the mouse is moved the displacement is calculated and applied to the camera etc then the ...
0
votes
0answers
18 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
2answers
131 views

OpenGL - Index buffers problem

I have a custom file format that has all the needed information for a 3D mesh (exported from 3ds Max). I've extracted the data for vertices, vertex indices and normals. I pass to OpenGL the vertex ...
1
vote
2answers
98 views

How do I correctly multiply an XMMATRIX by a scalar?

Using DirectXMath and its XMMATRIX structure in C++ and Direct X 11, how does one multiply that matrix structure by a single float scalar? I want to implement the operation B = A * f; where A and B ...
6
votes
2answers
467 views

Triangle-triangle continuous collision detection

I am making a 3D game engine and I use continuous collision detection. I am using Sphere-Trees to cull primitive collision checks to a minimum. However, I'd like to perform continuous ...
2
votes
1answer
163 views

First Person Camera strafing at angle

I have a simple camera class working in directx 11 allowing moving forward and rotating left and right. I'm trying to implement strafing into it but having some problems. The strafing works when ...
0
votes
1answer
173 views

OpenGL camera translate and rotate on cameras local axis

How can I make rotation and translation on a local camera axis in OpenGL? I want to make camera like "aeroplane" camera with a pitch yaw and roll. I want to have good explanation on everything! Can ...
-1
votes
1answer
541 views

How do I programmatically animate a .obj model?

I am developing on Qt, I have tried translate and rotate an .obj model. I would like to know is there any possibility to do programmatically animate in Qt.
1
vote
1answer
683 views

how to make cross platform 3d games using modern opengl? [closed]

How to create games that run on windows, Linux, mac os x, android, ios, wp8 etc.... using c/c++, opengl 3 or 4 and opengl es 2.0. any tutorials or videos on how to create cross-platform 3d games.
0
votes
0answers
50 views

C++, Direct3D - Creating mesh from texture [duplicate]

I am making a game similar to Minecraft. I want to create the mesh for the tool held in the players hand (e.g. a pickaxe). I have a texture for the tool which is 32x32 pixels and I want to be able to ...
4
votes
4answers
805 views

Face-Click Detection ( like in Minecraft )

I am working on a box-based game engine like minecraft and I was wondering how to detect the "clicked face" when placing blocks. I have created this engine in C++ ( DirectX / D3D ), C# ( XNA ) and ...
0
votes
1answer
1k views

Parsing Blender obj with Opengl And C++

I wrote an example attempting to parse blender *.obj file in OpenGl/C++ , to get it done : I have to open the file, exploding it's lines ...and returning the result. This is how the shape.obj file ...
0
votes
2answers
435 views

First person camera: problem

I have created a simple camera class, moved it from my C# (XNA) source to C++ for d3d. Commonly it is okay, but something is wrong with rotation. If i increase its pitch/yaw values, according to ...
-5
votes
1answer
185 views

Starting off C++ games development? [closed]

I've just finished my 2nd year of college, and now that I have time on my hands I want to start working on a 3D game, though my stumbling point is trying to find the resources to learn C++ games ...
6
votes
1answer
275 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 ...
3
votes
1answer
434 views

Rotating and Translating a Node in Horde3D with Matrices and Quaternions

I have been trying to learn how to use the Horde3D rendering engine for the past couple of days, and so far I have managed to learn a decent amount and integrate Bullet Physics with it as well. My ...
0
votes
1answer
104 views

OBB collisions in Buildings

So I decided on using OBB as the main collision detection in my 3D game but I started to wonder how OBB can be used to detect collisions if a player is in a building, an object you can walk into. ...
-6
votes
1answer
104 views

Android Game an [closed]

I want to develop an android game (3D/2D).. and I don't have any knowledge about android app development. So can you suggest some helpful and understandable resources like video tutorials or head ...
0
votes
0answers
933 views

How to do collision detection in 3D using bounding boxes?

I am using c++ in visual studio 2010 with opengl. I am trying to make a programme that has 2 boxes that are able to be stacked on top of each other but I am having some trouble with the collision ...
2
votes
1answer
241 views

Get intersected volume of two planes in 3D

I'm working on AABB - AABB collision response and I'm having trouble figuring one part out. My situation is as follows (see image). I have a player AABB (blue) and an object which collides (brown). ...
1
vote
2answers
669 views

AABB-AABB sliding collision response

I have many objects with AABBs and a player surrounded in an AABB. If I represent my player with a point everything works smooth with detection and wall sliding as a response (for example what wall ...
1
vote
2answers
2k views

Collision detection - Smooth wall sliding, no bounce effect

I'm working on a basic collision detection system that provides point - OBB collision detection. I have around 200 cubes in my environment and I check (for now) each of them in turn and see if it ...
1
vote
1answer
375 views

Indoor 3D game worlds

I'm looking for a little direction. I'm building a game engine as a part of my university project, and I'm having a little trouble about what to look for when it comes to indoor 3D game worlds. Now ...
5
votes
3answers
5k views

Importing and Displaying .fbx files

I have a little problem with importing/displaying .fbx files. I checked the examples but the ones which I am intrested the most (animation and texture) are badly documented for understanding by ...
2
votes
2answers
640 views

c++ How to use angular velocity that derived from inertia and force(torque) in 3d

I am relatively new to game development. May my terminology and description are not appropriate. Please excuse my poor phrasing and help me by giving advice on how to question better if this question ...
2
votes
2answers
574 views

What is the best way to “carve” a terrain created from a heightmap?

I have a 3d landscape created from a heightmap. I'd like to "carve" some holes in that terrain. That will allow me to create bridges, caverns and tunnels inside it. That operation will be done in ...
2
votes
2answers
316 views

How should I organize my matrices in a 3D game engine?

I'm working with a group of people from around the world to create a game engine (and hopefully a game with it) within the next upcoming years. My first task is to write a camera class for the engine ...
3
votes
1answer
497 views

Where is the Shader Designer in Visual Studio?

I have Visual Studio 2012 Ultimate and I've been trying to access the Shader Designer. I searched through MSDN's text and Channel9's videos, but they keep failing to mention how to access it. Can ...
1
vote
0answers
374 views

How to pick a 3D object with known mouse coordinates if the camera is rotated 60 degrees?

I am making a simple game engine for a simple RTS game and would like to be able to pick a cube and move it around with the mouse coordinates. The problem is that my camera is rotated 60 degrees just ...
2
votes
2answers
786 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 ...
3
votes
3answers
168 views

Determining a point that reached another point

I have two points, one is moving and one is stationary. I would like to know if the moving point has reached that point or not. I tried to calculate the distance between two vectors and the distance ...
2
votes
1answer
313 views

OpenGL Fast-Object Instancing Error

I have some code that loops through a set of objects and renders instances of those objects. The list of objects that needs to be rendered is stored as a std::map>, where an object of class ...
4
votes
2answers
449 views

How do I use D3DXVec3Unproject with D3D11?

I'm having a small issue with D3DXVec3Unproject. I'm currently using Direct3D 11 and not 10, and the signature for this function is: D3DXVECTOR3 *pOut, CONST D3DXVECTOR3 *pV, CONST D3D10_VIEWPORT ...
0
votes
1answer
869 views

Fast Updating of Large Amounts of OpenGL data

I'm seeking advice, suggestions, and ideas on how to handle the updating of large amounts of data in OpenGL and c++. My partner and I have gone through two methods. The first is vertex by vertex ...
1
vote
1answer
310 views

Highlight edge on 3d cube in directx

I want to make a 3d editor in DX9/XNA for a project I'm working on. I'm just thinking through how I would go about certain tasks and I'm stuck on one particular thing, which is crucial to making the ...
5
votes
1answer
853 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 ...
5
votes
2answers
570 views

How to generate portal zones?

I'm developing a portal-based scene manager. Basically all it does is to check the portals against the camera frustum, and render their associated portal zones accordingly. Is there any way my editor ...
-1
votes
1answer
184 views

Camera not working

I made a camera in DX9. To move forward I press the Up arrow. To rotate on the Y axis I use the mouse. When I perform these movements on their own the camera moves at the speed I want. However, if I ...
2
votes
2answers
840 views

How to load a terrain of connected caves into bullet-phisics engine?

I have a terrain that can not be represented as height map. Say a mountain with caves. I have it in one large .obj file. How do I load such a terrain into bullet-phisics engine? Or I shall generate ...
2
votes
1answer
737 views

Is it possible to billboard a sprite using a transformation matrix?

None of the current topics on billboarding seemed to answer this question. But, given a sprite (or quad) that has it's own 4x4 transformation matrix a camera with a view matrix (a standard 4x4 ...
3
votes
2answers
705 views

What has the most efficient intersection test against an AABB tree - OBB, Cylinder or Capsule?

I'm currently trying to find collisions in 3D between a tighter volume than an AABB and a tree of AABB volumes. I just need to know whether they are intersecting, no closest distance or collision ...
0
votes
1answer
1k views

How to create modular/replaceable game/engine code interfaces with c++

I've spent some time when I can spare it experimenting with c++ and at the same time learning a bit about game programming. I like most thought I'd start with creating a simple game engine but with ...
5
votes
3answers
2k views

Height Map vs 3D Model Mesh

I'm currently working on a 3D PC game (written in C++ and DirectX 9.0) and I'm trying to find the best way to store level data in the memory. The game's action takes place under the ground, so ...
-1
votes
1answer
375 views

Rotating points on a circle

I have drawn a 2D circle in X,Y,Z. I wanted to draw something on specific vertices of that circle and I managed to do it. When I wanted to move the circle, I wanted the vertices to get the updated ...
2
votes
1answer
332 views

Ogre 3D Visibility Advice

I would like an advice about some real-time rendering optimization. I'm rendering a BSP level, by only using the mesh, textures, entities, and lightmaps, not using VIS at all. I'm trying to make my ...
7
votes
1answer
2k views

How do I calculate collision response between a sphere and a plane?

I'm trying to create a simple 3D game and need to constrain the player within the limits of the game world. When the player hits the sides of the world I want the player's ship to bounce off slightly. ...
2
votes
1answer
533 views

COLLADA, loading, the modelling/animation process?

So, we're making a game in C++ using SDL - a TDS. It was originally intended to be 2D, but our lead programmer wanted to redo the engine and make it 3D. And, now, we really don't know how to go about ...
0
votes
1answer
541 views

What 3D engine supports real-time editable 3D terrain loaded in from a server?

I'm currently having a problem choosing an engine for a game project I have since a few years. What I'd need is to be able to load a terrain from a remote server (which I can take care of) and display ...
1
vote
0answers
406 views

c++ light 3d graphic and physics engines [closed]

I am working on a 3D simulator and looking now for a good graphic and physics engines. The main comparison params should be the RAM and CPU usage taken by the engines as my simulator should be ...