Refers to games or art assets built in a three-dimensional space, where all positions have X, Y and Z coordinates.

learn more… | top users | synonyms

8
votes
2answers
390 views

Render 3d object to 2d surface (embedded system)

i am working on an embedded system of a sort, and in some free time i would like to test its drawing capabilities. System in question is ARM Cortex M3 microcontroller attached to EasyMX Stellaris ...
8
votes
1answer
1k 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, ...
8
votes
2answers
515 views

Diagonal line of sight with two corners

Right now I'm using Bresenham's line algorithm for line of sight. The problem is I've found an edge case where players can look through walls. Occurs when the player looks between two corners of a ...
8
votes
4answers
2k 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 ...
8
votes
1answer
200 views

How to dynamically animate a part of a 3d model towards something

I'm curious about how this sort of animation is typically done code-wise. A few examples: A character picks something up - only hand is animated towards the target ...
8
votes
2answers
1k views

What are some ways to texture map a terrain?

I'm working with XNA on a 3D Game, and I'm trying to have a proper and nice environnement. I actually followed a tutorial to create a terrain from a heightmap. To texture it, I just apply a grass ...
8
votes
1answer
4k views

Is there any game engine capable of true binaural positional 3D audio? [closed]

I am by no means a game designer, so I apologise in advance if I fail to use the proper jargon. Feel free to correct my mistakes. My understanding is that, at the moment, in most if not all ...
7
votes
3answers
5k views

How much is java used in 2d/3d indie games? (before/after Minecraft) [closed]

I wonder for my own use and curiosity, how popular is Java in indie game development , in 2d and 3d? Are there any good open/closed source games done in java?
7
votes
5answers
2k views

Drawing very large slowly rotating planets

I'd like to draw very large (~500 px) graphics of planets slowly rotating. These graphics are meant to impress. What's the best way of doing this? I don't have experience with any particular 3D ...
7
votes
2answers
720 views

Data Structure (or algorithm) for fast distance-based entity lookups

For example, your game has 100 enemies (on different teams) running around and their AI wants to inspect the nearby entities to see which it should attack. What is a fast way to organize those ...
7
votes
3answers
457 views

Why doesn't light continuous on my model?

I created a basic textured cube model with Blender to practice modeling, and then I imported it into Unity. After I put up some lighting it looks pretty ugly. The light is not continuous on a row of ...
7
votes
1answer
25k views

How to merge two objects in Blender

What I've Done I created a Cube object with Subdivision Surface modifier in order to model a spehere. I created a cuboid object looking like a angled, longish baton. What I Want to Do I want to ...
7
votes
3answers
1k views

How difficult is it to implement 3D models in a 2D game?

Creating a full blown 3D game requires a lot more math for physics, but what if I just want to mix 3D models in a 2D game, such as in the New Super Mario Brothers? Would I be able to get the looks of ...
7
votes
3answers
940 views

3D collision-detection middleware

(I've split this question into two. For 2D, see: http://gamedev.stackexchange.com/questions/3431/) Are there any recommendable middleware available for 3D collision detection? I believe I've heard ...
7
votes
2answers
770 views

In Unity, why is adding a Vector2 and a Vector3 ambiguous but assigning isn't?

Given the following two vectors: Vector3 v3 = Vector3.one; Vector2 v2 = Vector2.one; This line is ambiguous: v3 += v2; // Unity reports dimension ambiguity whilst this assignment isn't: v3 = ...
7
votes
3answers
2k views

Optimizing Octree Rendering

Say I have an octree and at a certain level I store VBOs in that octree. I know the dimensions of of the nodes that own the vbo so I can do basic frustum culling. That works nicely because everything ...
7
votes
3answers
9k views

Maya 3D model to iOS OpenGL ES

I need to display, rotate, and zoom a 3D model in OpenGL ES (iPhone/iPad). The 3D graphic artists are using Maya (on OS/X). What export format should I be looking at to use their 3D models in the ...
7
votes
3answers
664 views

How do I target a tank turret with an offset barrel?

I have a tank model consisting of multiple parts, a body, a turret and the barrel of the gun. The turret is offset from the body origin and can rotate around the Y axis(up). The barrel is connected to ...
7
votes
2answers
682 views

How to define areas filled with water?

I would like to enhance my little game engine with nice looking water simulation. To start working on that I need to find a proper way to represent water in the game. Unfortunately I don't know much ...
7
votes
2answers
528 views

How do I convert a 2D movement (from mouse) to a displacement along a 3d axis?

I'm making a small 3D scene editor (that only allow to modify objects positions). Each object is draw with a 3d X/Y/Z axis : How it works : user choose an axis (X, Y or Z) by left clicking on it, ...
7
votes
1answer
156 views

Shadowmap granularity

I thought that we could re-use the same shadowmap for every light. But I've seen an industry article suggesting that you can't re-use shadowmaps between lights, and have to use separate surfaces. Do ...
7
votes
2answers
3k views

How does an AAA graphical workflow look like?

So this is how I understand it: An artist models the thing in Zbrush or Mudbox. It now has 10+ million polygon. He exports it in Zbrush as a normal map + low poly model. (this works?) The model now ...
7
votes
2answers
2k views

How to resolve penetration of two colliding bodies

I've implemented simple 3D game physics engine. I already have decent collision detection in place, now I'm trying to figure out the collision response part. I'm using impulse based method to ...
7
votes
3answers
425 views

Sort Polygons in order - not working?

I'm fairly new to programming in a 3d world. I'm trying to create a canvas where all the objects are drawn in order of furthest-to-closest and from bottom to top - so they don't overlap each other, ...
7
votes
1answer
3k 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. ...
7
votes
1answer
150 views

Tiling perlin noise seamlessly, but without repeating to generate an infinite 3D world

I have been working on a 3D game in java using LWJGL for a while now. I am trying to make procedurally generated infinite 3D terrain that is generated around the player. So far I have: 3D terrain ...
7
votes
1answer
975 views

How to make a 3d beam effect with XNA 4.0?

Do you know any demo or tutorial to learn to make a 3D Beam effect? I have learn to make a 2D laser by simply using a texture and moving it thru screen. But I am a little bit lost while trying to do ...
6
votes
5answers
36k views

Is there a free and open source 3D engine for Android? [closed]

Is there a free and unlimited open source 3D engine for Android? Something that is a direct, thin layer to the NDK? I have only found two engines: Unity and Shiva 3D. But no free or open source ones. ...
6
votes
5answers
1k views

What is the simplest 3D file format to parse? [closed]

I want to parse Blender-Made Files directly into my homemade Lisp program. I've been pulling data out of .X3D files manually. Is this the best format to focus on writing a parser for? Thanks!
6
votes
4answers
2k views

What is the simplest way to calculate distance in a 3D environment?

What is the simplest way to programmatically calculate difference between two points in a 3D game environment? I am trying to sort a list of light sources by how close they are to an entity, so that ...
6
votes
6answers
7k views

Most efficient 3d depth sorting for isometric 3d in AS3?

I am not using the built in 3d MovieClips, and I am storing the 3d location my way. I have read a few different articles on sorting depths, but most of them seem in efficient. I had a really ...
6
votes
3answers
5k views

Why / how does XNA's right-handed coordinate system effect anything if you can specify near/far Z values?

I am told repeatedly that XNA Game Studio uses a right-handed coordinate system, and I understand the difference between a right-handed and left-handed coordinate system. But given that you can use a ...
6
votes
3answers
2k views

Character Animation Architecture

Can anyone explain the general architecture typically used for 3D character animation? Are movements like walking and falling scripted against the skelton, and simply executed on input? If so, is ...
6
votes
2answers
5k views

Where and how to check if game was developed with bought Unity3D licence (not cracked app)?

We hired an external team from Eastern country. They built our mobile game app using Unity3d which we paid a lot of $K. We asked them to only use the software with bought license, not cracked one, and ...
6
votes
1answer
1k views

In very simple 3d racing games, how are collisions handled?

I was wondering how collisions in some simple 3d car racing games are done (especially in games like Outrun 2/Motoracer). In classic car racing games with complex environment (open world), I guess ...
6
votes
4answers
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 ...
6
votes
2answers
580 views

What will AMD Fusion or likewise hybrid CPU/GPU will change for the 3D programmer ? Are they potentially faster?

Since the early days of accelerated graphics, programmers were obligated to use hardware-supported libraries like directX or OpenGL. If we wanted to explain someone what happened by introducing a ...
6
votes
5answers
4k views

Killer Game Programming [Java 3D] outdated?

I'm thinking of picking up the book Killer Game Programming by Andrew Davidson, but its pretty old now. I know Java, and I've been messing with jMonkeyEngine for a few days now, but I'm curious to see ...
6
votes
3answers
2k views

What are the big advantages of shaders ? What is doable with them, and what can't be done without them?

I don't really know when vertex and/or pixel shaders became available for consoles and computers, but what could we do without them ? I don't really understand what is achievable with shaders and what ...
6
votes
2answers
633 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 ...
6
votes
3answers
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 ...
6
votes
2answers
276 views

Self-righting agents that have fallen over

I need insect-like agents that have fallen/rolled on their back/side to naturally re-orient themselves. The agents are modeled as simple cuboids in the physics engine (Bullet) to approximate an ...
6
votes
2answers
989 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 ...
6
votes
1answer
10k views

How to calculate a 3x3 rotation matrix from 2 direction vectors?

I've got 2 direction vectors, for the X axis and the Y axis of the object. How do I calculate the rotation matrix of the object using these?
6
votes
1answer
10k views

Blender - exporting .obj with texture coords

I'm writing a game which uses obj files. I created an object in blender and I applied texture without UV coordinates and my question is: how to export this object to obj file, but with texture ...
6
votes
5answers
4k views

How to rotate an object around world aligned axes?

I have a Vector3 which has an euler angle for each axis. Usually, when I want to create a rotation matrix I will use functions such as D3DXMatrixRotationX passing the respective angle from my ...
6
votes
3answers
1k views

How difficult and expensive would be to obtain 3D models for my game? [closed]

So, basically I'm looking for a way to get some 3D models and animations for my game. I know this is kind of vague, but I don't need a precise answer, the details would be like this: The 3D models ...
6
votes
3answers
663 views

Is Frustum Culling by itself enough for Consoles and Mobiles?

Software occlusion culling is often expensive, especially for smaller and older devices. Is frustum culling alone adequate on systems that can optimally display 10k triangles at most? If not, are ...
6
votes
2answers
6k views

Where to attach global scripts in Unity?

As far as Iknow in Unity, every script must be attached to an object. But what is the case with global scripts? For example in a tetris-like game to which object should I attach the element spawner ...
6
votes
1answer
382 views

Running geometry shader only once

(Unfortunately couldn't find the answer myself) Does a neat way to cache the geometry shader results in Direct3D10 or OpenGL exist? (preferably Direct3D10). I'm building my geometry based on texture ...