# Tagged Questions

3D refers to three dimensional space where coordinates are represented with X, Y and Z values.

334 views

### Conversion from matrix defining rotation and position to camera matrix

I have a matrix that defines the rotation and translation of an object, relative to (0, 0, 0). Assuming that the identity matrix defines the camera to be at (0, 0, 0) pointing at (0, 0, 1), how would ...
563 views

### Gravity strength in first person games

In our game, we set the acceleration due to gravity to the appropriate value of 9.8 m/s^2. Although physically correct, it feels more like moving around on the moon.. It feels about right at a value ...
1k views

### Replacing a custom 3D model format with something more standard

This is long, so the short question is: What's the best/right/standard set of technologies for creating 3D models and incorporating them into a game such that the complexity for the artist is kept to ...
659 views

### Messed-up triangles when using VertexPositionColorTexture with BasicEffect

image of the problem I used Microsoft's BasicEffect tutorial here and the code sample here: go.microsoft.com/fwlink/?LinkId=198921 and got everything to work fine. Next I changed everything to use ...
1k views

### OpenGL ES on iOS Books

I was wondering if someone has read both the: iPhone 3D Programming And OpenGL ES 2.0 books and have an opinion if one is better than the other? I'm basically wanting to get into doing 3D ...
665 views

### Implementing Positional Sound

I am trying to put 3Dish audio in a game I'm developing, and I'm unsure how to do positional sound. I want to be able to adjust the volume of the audio's channels depending on how far it is and the ...
2k views

### How do I calculate an offset from an Object based on the Objects Rotation rather than the World Space

I have a Matrix of a player & I want to create a second location a set distance away from the first location but I want the second matrix to be set a set distance based on the rotation of the ...
8k views

### Math topics for 3D graphics programming [closed]

I understand that the following math topics are required for 3D graphics programming. I have started doing some of them in my math course. Can someone point me in the direction of a resource that ...
1k views

### AR app: Mapping 3D object to 2D plane?

I'm trying to create an Augmented Reality app. I'm using OpenCV to get 4 points from a checkerboard pattern that represent the four corners of the pattern. This should be used to create a plane in my ...
1k views

### Physics for a 2.5D platformer with a plane that curves

I'm creating a 2.5D platformer in XNA which uses 3D models that are constrained to travelling along a 2D plane (just like Trine). To make things tricker, however, I want the 2D plane itself to be ...
267 views

### How to load .max files to Panda3D [duplicate]

Possible Duplicate: How to convert .max files to .egg on linux Is there a way to load .max files directly to Panda3D engine? I am running Panda3D on linux so converting them using 3ds max is ...
2k views

### How to convert .max files to .egg on linux

I am very new to 3d graphics and game engines and panda3d and python. I followed few panda3d tutorials and now I want to test them with few new models. High majority of 3d models in the internet are ...
224 views

### Rudimentary 3D graphics in C++ .NET

I am looking to implement an extremely rudimentary FPS game with extremely rudimentary 3D graphics using C++ .NET and DirectX. I'm not interested in any third party libraries or anything special like ...
13k views

### OpenGL ES 2.0 Point Sprites Size

I am trying to draw point sprites in OpenGL ES 2.0, but all my points end up with a size of 1 pixel...even when I set gl_PointSize to a high value in my vertex shader. How can I make my point sprites ...
917 views

### Recommended 3D camera settings and model sizes for an FPS

I'm making a simple FPS and I can't decide on the size of my models and my camera settings. Could someone please recommend a good combination of: camera field of view near and far planes model ...
442 views

### What exactly causes a surface to overlap another?

I cannot really figure out what causes one surface to overlap another. In a 3D engine I'm creating, my technique is failing in edge cases. My method is sorting the surfaces to be painted from the ...
6k views

### Why do pixel shaders not let us read directly from the framebuffer or the depth buffer?

Letting me sample the framebuffer or the depthbuffer in the pixel shader would be an extremely useful feature. Even just being able to know the depth or the color of whatever is behind the current ...
2k views

### glVertexAttribPointer normalization

glVertexAttribPointer(index, size, type, normalized, stride, pointer); If I use type=GL_UNSIGNED_BYTE and normalized=GL_TRUE how is it normalized? would the data be divided by 256 for ...
976 views

### Simulate 3D with 2D sprites

I was thinking about 2D games (like Starcraft), where the sprites are in two dimensions, but the objects that are "higher" in the screen are behind the other objects (I think this is obvious when you ...
449 views

### OpenGL ES multiple indices

I need suggestions for the best method of acheiving what I am trying to do: -Using either OpenGL ES 1.x or 2.x I need to pass a bunch of vertices to the GPU. Each one has 3 attributes: Position, ...
3k views

### What good 3D graphic rendering engines are out there? [closed]

I couldn't find good overview of those and decided to ask experienced people. I'm writing in C# and want to learn some 3D graphics stuff. I used to write some 3d scenes and shaders 4 years ago in ...
500 views

### OpenGL ES indices optimization

I am using OpenGL ES 1.x/2.x I have 2 attributes to be passed to the GPU(one is colors, one is vertices, one color per vertex). I use indices. Both attributes will use the same indices array This ...
1k views

### When is low-poly not low-poly?

When is it considered high-poly?
630 views

### Linux OgreXML model viewer

Is there an OgreXML model viewer for Linux? I know about OgreMax but apparently that's Windows only.
273 views

### Why doesn't the y Axis work with SuperBible frame reference or GluLookAt

I'm currently trying to understand how to use the GLFrame Class in the superbible book, and acording to the 4th edition of the book, the camera matrix derived from the Frame of reference class should ...
34k views

### Fastest way to draw quads in OpenGL ES?

I am using OpenGL ES 2.0 I have a bunch a quads to be drawn, would love to be able to have to pass only 4 vertices per quad as if I were using GL_QUADS, but basically I just want to know the best way ...
13k views

### Where to start? (3D Modeling) [closed]

I'm looking for a good resource to start learning 3d modeling. I'm looking for something that starts with the basics (e.g. terminology; what are quads, triangles etc.) before/while going into the ...
824 views

### Simple Game Feasibility: Unity + Turbo Squid + \$0 =?

I've been coding 2D games exclusively for a while, partly because I have very limited graphics skills, partly because it takes less effort to make something look great, and partly because I have very ...
682 views

### Do you think it's Possible to go from C++ Straight to 3D (skipping 2D)

Do you think it's possible to go straight from Experienced C++ programming (5 or so years) straight into learning DirectX 3d? I mean....i'd be starting with the basics, im more interested in setting ...
1k views

### Method of terrain in a 3d RPG

I am working on a RPG using the JMonkey engine. While I was conceptualizing the map, I realized I would have a problem with the terrain. My problem is this: I want to have a click to move interface, ...
534 views

### Problem with my model loader?

I'm trying to load MD2 models (stolen from Cube) and my loader seems to be loading the models fine, but I can't say the same for the drawing of the model. Here's my code: typedef float vec3_t[3]; ...
2k views

### Equation for bouncing graph?

I basically want my camera in 3D move automatically. Currently, I have linear movement which is rather dumb, so I'd like to do a bouncing movement. However, what is a good equation for bouncing? I ...
1k views

### Android collision detection of a 3d object based on a 2d projection

I am writing a game for android. We have an orthographic view setup, but the characters (ships, projectiles, etc). The enemies / characters will be able to rotate about the x axis. The problem is that ...
14k views

### Import a 3D animation into an android game

I want to import a skinned and animated character model built with bender into an android game. The animations can be: idle, walk, run ...etc I've seen a related question but it's only about ...
499 views

### Rotating coordinate system

Lets say that you want to rotate simple cube around fixed point in center. Is it possible to use such coordinate system, that you need to use only sine and cosine in order to rotate? I have done ...
716 views

### Starting off with coordinate systems [closed]

Where is a good place to start with learning how to program custom coordinate systems in a 3d environment? Are there any good books on he topic of gaming coordinate systems? I would like to build a ...
34k views

### How can I convert a 3ds Max .max to a Cinema 4D .c4d and maintain the animation?

I have recently purchased this asset from the3dstudio.com: http://www.the3dstudio.com/product_details.aspx?id_product=193089 It has a corrupt .3ds file available, and a .max (as well as what appears ...
988 views

### Rendering Resolution Independent Text

I need a way to draw resolution independent text in my game. That is, I need to be able to zoom in on text and never see pixel artifacts. Can anyone make any suggestions on how I could go about it?
1k views

### What's a good way to check that a player has clicked on an object in a 3D game?

I'm programming a 3D game (using C++ and OpenGL), and I have a few 3D objects in the scene, we can say they are boxes for this example. I want to let the player click on those boxes to select them (ie....
18k views

### What are 3D textures?

Google has failed me, I could not find anything informative. So perhaps GameDev can :). What are 3D textures? When are they used? Performance costs? How are they stored? I have many vague ideas, ...
1k views

### Can one draw a cube using different method/drawing mode?

I've just started learning gamedev (in particular android EGL based) and have ran over a code from Pro Android Games 2 that looks as follows: /* * Copyright (C) 2007 Google Inc. * * Licensed ...
7k views

### Are high powered 3D game engines better at 2D games than engines made for 2D

I'm a software engineer that's new to game programming so forgive me if this is a dumb question as I don't know that much about game engines. If I was building a 2D game am I better off going with an ...
856 views

### Angular Velocity

Hey, I have a particle that is hit with a force F at a particular position on the ball P. How can I calculate the angular velocity of the X,Y and Z axis? The actual rotating of the object should be ...
1k views

### Physics timestep questions

I've got a projectile working perfectly using the code below: //initialised in loading screen 60 is the FPS - projectilEposition and velocity are Vector3 types gravity = new Vector3(0, -(float)9....
645 views

### Calculate the initial velocity of a 3D trajectory

I've got a 2D projectile code sample working, but would like to extend it to 3D. How would I calculate the initial velocity of the Z-axis? At the moment, I've got: initVel.X = (float)Math.Cos(45.0); ...
2k views

### Converting to and from local and world 3D coordinate spaces?

I've been following a guide I found here (http://knol.google.com/k/matrices-for-3d-applications-view-transformation) on constructing a matrix that will allow me to 3D coordinates to an object's local ...
19k views

To anyone who finds this question on Google or elsewhere 3 years after asking this question I've had a lot more experience with game design, and I have a good idea what I was lacking in understanding....
3k views

### Modelling photo-realistic grass in realtime

I see a number of tutorials on how to create good looking grasses when creating 3D renders but can't think how to model it for realtime/use in a game's scenery. Sure simple models with alpha cutouts ...