Questions tagged [3d]

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

Filter by
Sorted by
Tagged with
15
votes
1answer
6k views

Creating a 3D map for XNA?

Is anyone aware of a nice 3D map tutorial (how to import and use the map) using XNA without any engine but not limited to an external application (like Tiled for 2D maps) ? I did a search arund here ...
15
votes
2answers
3k views

Toon/cel shading with variable line width?

I see a few broad approaches out there to doing cel shading: Duplication & enlargement of model with flipped normals (not an option for me) Sobel filter / fragment shader approaches to edge ...
15
votes
1answer
977 views

Keystone Correction using 3D-Points of Kinect

With XNA, I am displaying a simple rectangle which is projected onto the floor. The projector can be placed at an arbitrary position. Obviously, the projected rectangle gets distorted according to the ...
14
votes
4answers
3k views

Prevent players from wallhacking in an online FPS?

Why do we still complain about wallhackers in multiplayer first-person shooters? Isn't it possible to perform occlusion culling for all players server-side? For example, send player xyz information ...
14
votes
3answers
2k views

Is it clever to use some engine to start game developing? [closed]

I started C# programming, in order to later develop games with XNA. I read a good game development book for C#. Since I already knew other languages, I could quickly learn C# features and syntax code. ...
14
votes
4answers
12k views

Should I learn 2d game development before 3d? [closed]

I'm an iPhone app developer. I want to get into iOS gaming. The question is-should I start with learning 2D like Cocos 2D or Corona SDK before learning 3D gaming like Unity? I'm more interested in 3D ...
14
votes
3answers
2k views

What caused “falling out of the world” and what fixed it?

A lot of early 3D games had the problem where you'd be trundling merrily along and suddenly everything was black, with an island of what looked like the hollow facade shell of the scene you'd been ...
14
votes
3answers
17k 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 ...
14
votes
6answers
10k 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 ...
14
votes
4answers
23k 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 ...
14
votes
2answers
2k views

How to gain accurate results with Painter's algorithm?

A while ago I asked how to determine when a face is overlapping another. The advice was to use a Z-buffer. However, I cannot use a Z-buffer in my current project and hence I would like to use the ...
14
votes
2answers
2k views

Resources of realistic water simulation?

I want to study water simulation, with a a demo with source code which using physically-based methods(Eulerian approaches or Lagrangian approaches). How can I get some examples?
14
votes
2answers
6k views

Why is 90° horz / 60° vert the default FPS Field of View?

As far as I understand it, vertical Field of View should be adjusted to: fov = 2 * arctan(0.5*screenHeight / distanceEyeScreen); That is, Field of View should ...
13
votes
5answers
7k views

Pro's and Con's of Various 3D Game Engines [closed]

I normally code my admittedly simple games by hand in either Assembly or C but I'm looking to go a little more high level. I also want to build more modern skills so I'm looking at UDK. What are the ...
13
votes
3answers
912 views

Are the first three values that describe a 3D plane actually a 3D vector?

A 3d plane is typically defined as a,b,c,d. Are a,b,c actually the x,y,z coordinates of a 3d ...
13
votes
8answers
31k views

Love2D engine for Lua; What about 3D? [closed]

Lua has been really awesome to learn, it's so simple. I really enjoy scripting languages, and I had an equally enjoyable time learning Python. The Love engine, http://love2d.org/, is really awesome, ...
12
votes
5answers
5k 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 ...
12
votes
4answers
845 views

How much extra power is required for a stereoscopic 3D game?

If we use Cryengine 3 for game development and make the game 3D compatible. Because 3D sends out two pictures, will this mean that you need a computer with twice the "power"? So if you get 30 fps when ...
12
votes
2answers
10k views

Most common 3D model format for opengl

I'm a novice that is starting to play with OpenGL ES on Android devices. To practice OpenGL I wanted to create a small game engine and so I was wondering what the best 3D model file format would be. ...
12
votes
2answers
17k views

Open-source 3D models easily usable in OGRE3D/jMonkeyEngine [closed]

I'm looking for a source of 3D models (cars, game characters, furnitures etc.) which are usable in an open-source 3D game. I found various website with free/opensource ...
12
votes
5answers
83k views

How can I get started making textures for 3D games? [closed]

Just wondering where to find good tutorials on making textures for 3D games? Also, is it common practice to take photographs and convert them into game textures or do designers draw the textures ...
11
votes
3answers
2k views

Algorithm to see if two voxels are interconnected

I'm looking for a good algorithms for the following problem: Given a 3D grid of voxels (which may be either empty or filled), if I pick two non-adjacent voxels, I want to know if they are connected to ...
11
votes
2answers
4k views

How to properly implement alpha blending in a complex 3D scene?

I know this question might sound a bit easy to answer but It's driving me crazy. There are too many possible situations that a good alpha blending mechanism should handle, and for each Algorithm I can ...
11
votes
2answers
1k views

How do I prevent raycast car wheels sliding sideways?

I've been writing a non-realistic car physics engine as a learning exercise, using this article as a reference. I have a car that correctly collides with a terrain and applies the correct suspension ...
11
votes
2answers
10k views

Shadows in deferred rendering

I've read some material about deferred rendering, and I think I get the gist of it. But what I don't understand is how it accomplishes shadows. The G-buffer, as far as I'm aware, does not involve ...
11
votes
2answers
8k 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: ...
11
votes
3answers
602 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 ...
11
votes
1answer
563 views

Breathing for game/movie characters

Breathing (the movement of chest and face features): I'd like to ask if it is hard to model and whether it is computationaly expensive. I recently noticed the great effect it has in Madagascar 3 movie,...
11
votes
4answers
1k 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?
11
votes
3answers
1k views

RTS on a 3D map e.g. a globe

How can you 'tile' a 3D globe if your existing artwork and maps are simple 2D grids? Are there approaches that can re-use much of the artwork and such?
11
votes
2answers
4k views

How to implement translation, scale, rotation gizmos for manipulating 3D object's transforms?

I am in the process of developing a basic 3D editor. It uses OpenGL for rendering a 3D world. Right now my scene is just a few boxes of different sizes and I am at the stage where I want to be able to ...
10
votes
6answers
23k views

Visual Studio 2012 and Game Development [closed]

Alright, I think it's a simple question, but I got difficulties to find some answers around. I already read that XNA wouldn't be in Visual Studio 2012. I recently learned to use XNA, but since I ...
10
votes
6answers
5k views

3D Illusion of a 2D Planet Texture

Several years ago I overheard a technique that gives the user the illusion of a rotating planet by using a 2D texture. Given that the user isn't able to change its position or viewport. What's the ...
10
votes
1answer
28k views

Best practices of texture size

I wanted to know how should I determine a good texture size ? Currently, I always create UV texture that are 1024x1024px but if I create for example, a big house with a 1024px texture size, it will ...
10
votes
5answers
16k views

Graphics for non-Graphics Designers [closed]

Are there resources for programmers with little to no graphics design talent, but still want to make good-enough graphics for their own programs? I'm interested in both 2d and 3d computer generated ...
10
votes
4answers
476 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
2answers
875 views

Boat passing under a bridge in a 2D tile based RTS

I'm writing a 2D tile based RTS. And I want to add a 'pseudo 3D' feature to it - bridges over the rivers. I havent't start any coding yet, just trying to think how it fits the collision detection ...
10
votes
1answer
4k 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 ...
10
votes
3answers
6k views

How to implement mouselook in the browser?

I am currently creating a 3D first-person shooter game in the browser using WebGL. How would I implement mouselook/free look for such a game?
10
votes
1answer
6k 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, ...
10
votes
2answers
3k views

How to remove floating terrain when generated with 3D Perlin Noise?

I'm currently using 3D Perlin Noise to generate random terrain in combination with Marching Cubes. My issue seems to lie in scaling the noise function to get reasonable heights in my terrain. If ...
10
votes
1answer
2k views

What are the common character animation techniques used in tile based hack&slash games?

I wonder what kind of animation techniques are used for creature and character animation in modern hack&slash type tile based games? Keyframing for different actions may be one option. Skeletal ...
10
votes
2answers
5k 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 ...
10
votes
2answers
4k views

Unity Occlusion Portals: What and How?

(Here I eat my words on Meta about posting Unity questions on Unity Answers... since that site is less responsive than this one.) Unity provides cell-based Occlusion Culling (via Umbra, I believe). ...
10
votes
1answer
320 views

Is there a way of using XNA+Xbox 360 with the current generation of 3D televisions?

I'm interested in playing around with 3D on a new Sony 3D television (polarized light rather than red/green/blue anaglyph glasses). Is this possible with XNA on the current XBox 360? Alternatively, ...
10
votes
1answer
1k views

Draw the middle half of a sphere programmatically

I'm trying to create the middle half of a sphere. Basically to create a sphere, stack numbers and slice numbers are given, and there are two variables phi (for ...
10
votes
2answers
639 views

Rotating a 3rd person camera toward a target

I have a 3rd person camera that doesn't look directly at the player but somewhere in front of him. When the user enter shooting mode, I want the camera to turn around the player to face the target. ...
9
votes
4answers
9k views

How do 3D game engines render 3D environments to a 2D screen?

For 2D sprite games, I can understand that sprites move on the X and Y axis. However, for 3D games, how do game engines calculate how to render a 3D environment on to a flat 2D computer monitor?
9
votes
5answers
64k 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.
9
votes
2answers
3k views

Geometry System of Populous: The Beginning [closed]

I want to to develop a game like Populous: The Beginning with my friend. But we could not find out what type of geometry they have used for the world. We know that - all tiles have the same size - ...