Refers to games or art assets built in a three-dimensional space, where all positions have X, Y and Z coordinates.
10
votes
5answers
2k views
Working with lots of cubes. Improving performance?
Edit: To sum the question up, I have a voxel based world (Minecraft style (Thanks Communist Duck)) which is suffering from poor performance. I am not positive on the source but would like any possible ...
4
votes
3answers
2k views
Getting started at 3D modelling and animation
I'm looking for book or a guide that will direct me to 3D modelling/animation for gaming. Most tutorials will go for lengths about things I don't really need for games and I want to get to the chops ...
2
votes
1answer
658 views
Converting 2D Physics to 3D
I'm new to game physics and I am trying to adapt a simple 2D ball simulation for a 3D simulation with the Java3D library. I have this problem:
Two things:
1) I noted down the values generated by the ...
1
vote
2answers
329 views
Languages for creating 3d / 2.5d enviroments [closed]
I want to pick up a language that will allow me to create 2d/3d game environments. I come from web development using PHP, JS, XML and ideally I want to be able to integrate with those languages. I ...
5
votes
4answers
251 views
detecting the coordinates where a bullet hits a mesh
I have a lot of complex objects in a scene and I'm looking for an efficient way to find which object a fired bullet hits, and to find the hit coordinates.
It would be best if there was a lightweight ...
1
vote
1answer
2k views
OpenGL 3D Camera
And here I am again, looking for help with my OpenGL camera once again. This is starting to get embarrassing. Anyway, here's the deal: I think my OpenGL First Person free roaming camera is starting ...
3
votes
2answers
944 views
Need Ideas for Game [closed]
I've been through a year of programming and have the tools to create a cool, simple 3d game using Java.
The biggest problem I have is ideas. When you have no idea how programming works, you want to ...
6
votes
2answers
424 views
Perspective in early pseudo-3d games
Please take a look at the screenshot below, from the old classic Space Harrier. My question regards the curved perspective on the chequerboard 'ground'. It's got a strangely curved geometry (I ...
12
votes
4answers
5k views
How to load 3D models into Java?
Using LWJGL what is the easiest way to load a 3D model to be drawn on screen?
I know LWJGL doesn't have built in loading support so I am looking for a small library that would help to load ...
2
votes
2answers
2k views
Change 3ds max mesh local origin pivot point
I'm developing a 3D videogame in C# with XNA, my problem comes when I load my model done in 3ds max, and I try to rotate a mesh of it, because the pivot point isn't exported so it takes the local ...
0
votes
1answer
303 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 ...
11
votes
3answers
470 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 ...
3
votes
2answers
586 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 ...
0
votes
1answer
562 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 ...
2
votes
2answers
777 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 ...
3
votes
1answer
333 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 ...
2
votes
2answers
835 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 ...
11
votes
6answers
3k views
Math topics for 3D graphics programming
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 ...
4
votes
3answers
732 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 ...
8
votes
2answers
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 ...
0
votes
0answers
266 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 ...
0
votes
3answers
1k 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 ...
3
votes
1answer
201 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 ...
9
votes
2answers
6k 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 ...
5
votes
2answers
453 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 ...
9
votes
4answers
349 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 ...
10
votes
3answers
2k 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 ...
0
votes
1answer
879 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 ...
5
votes
3answers
581 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 ...
1
vote
2answers
380 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, ...
6
votes
4answers
2k views
What good 3D graphic rendering engines are out there?
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 ...
1
vote
1answer
421 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 ...
-4
votes
2answers
754 views
5
votes
2answers
505 views
Linux OgreXML model viewer
Is there an OgreXML model viewer for Linux? I know about OgreMax but apparently that's Windows only.
2
votes
1answer
226 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 ...
9
votes
3answers
10k 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 ...
2
votes
8answers
5k 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 ...
3
votes
3answers
549 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 ...
8
votes
5answers
618 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 ...
5
votes
1answer
784 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, ...
3
votes
1answer
412 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];
...
6
votes
4answers
835 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 ...
5
votes
3answers
952 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 ...
3
votes
3answers
8k 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 ...
1
vote
2answers
427 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 ...
1
vote
3answers
417 views
Starting off with coordinate systems
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 ...
3
votes
1answer
14k 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 ...
9
votes
4answers
744 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?
4
votes
3answers
614 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 ...
13
votes
3answers
4k 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, ...
