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

0
votes
2answers
216 views

Which optional features would you recommend for a raytracer? [closed]

I'm developing a basic triangle mesh raytracer on a short deadline. This means I can't implement every feature I come across, so I'm looking for some feedback about which features you think are most ...
2
votes
1answer
744 views

How can I import a .3ds file into JMonkeyEngine 3?

I am trying to import an animated character body (with skeleton) from 3D Studio Max to JMonkeyEngine 3, but while we succeeded at importing some animations, we cannot seem to export the skeleton to ...
4
votes
1answer
306 views

How to program a cutting tool for 3D model in game

I'm looking for a resource to figure out how to program a function to cut a 3d model in game. Example: Enemy/NPC is sliced into 2 pieces with a sword. His body is not hollow, you can see bloody ...
3
votes
2answers
4k views

How to render a retro-like pixel graphics from 3d models?

I was wondering if there's a possibility to render a retro-pixel-like graphics from 3d model in real time? I'm talking about the Starfarer-like graphics. I know it's hand drawn, and it's 2d. But if I ...
4
votes
1answer
203 views

What is the proper way to maintain the angle of a gun mounted on a car?

So I am making a simple game. I want to put a gun on top of a car. I want to be able to control the angle of the gun. Basically it can go forward all the way so that it is parallel to the ground ...
0
votes
1answer
314 views

How do I draw a 2d plane and rotate camara (To be a board) in a 3d XNA game?

I am trying to create a simple board game, but the 3d part of this is really killing me. From what I can gather I have created a plane, but it never moves even though I turn the camara, but that ...
4
votes
1answer
262 views

What is the purpose of mesh optimization functions?

I remember there is a specific function in Direct3D which optimizes a mesh or a 3D object in some way. What is the purpose of this function? How does it reorganize vertices to make it better?
0
votes
1answer
4k views

OpenGL ES 2.0 gluUnProject

I've spent more time than I should trying to get my ray picking program working. I'm pretty convinced my math is solid with respect to line plane intersection, but I believe the problem lies with the ...
5
votes
2answers
189 views

Are these non-standard applications of rendering practical in games?

I've recently got into 3D and I came up with a few different "tricky" rendering techniques. Unfortunately I don't have the time to work on this myself, but I'd like to know if these are known methods ...
9
votes
2answers
1k 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 ...
7
votes
1answer
148 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 ...
1
vote
1answer
316 views

Frustum culling with an octree: one AABB per bone or one AABB per object?

I've constructed an octree for use in frustum culling. The question is, should I insert an AABB for each bone of each object, or just the one AABB for the object?
3
votes
2answers
1k views

Static Meshes vs 3D models

What is the difference between static meshes and regular 3D models. I am very new to game development, and I am using UDK (Unreal Development Kit).
4
votes
1answer
2k views

How to create a 3D world with 2D sprites similar to Ragnorak online?

As far as I know Ragnorak Online is a 3D game world with 2D sprites overlayed. I would like to use this style in a game I am making in Unity, so I would like the player to be able to select little ...
1
vote
4answers
5k views

Transform coordinates from 3d to 2d without matrix or built in methods

Not to long ago i started to create a small 3D engine in javascript to combine this with an html5 canvas. One of the issues I run into is how can you transform 3d to 2d coords. Since I cannot use ...
6
votes
2answers
4k 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 ...
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 ...
3
votes
3answers
4k views

Collision detection in 3D space

I've got to write, what can be summed up as, a compelte 3D game from scratch this semester. Up untill now i have only programmed 2D games in my spare time, the transition doesn't seem tough, the ...
3
votes
4answers
179 views

Ray Triangle Intersection issue

I'm trying to perform ray triangle intersection on a mesh made of triangles. The below code seems to work fine but only about 50% of the time. The ray often gets into positions where no intersection ...
1
vote
1answer
408 views

help a 2D image onto a 3D cube

I am just diving into the Stage3D APIs for Flash Player 11. I am trying to figure out a simple way to display isometric 2D content that gets blitted from a sprite sheet onto a 3D cube. The idea ...
1
vote
2answers
2k views

3d bounding Box border xna

So, I'm trying to develop a 3d table tennis game, and I'm having problems when it comes to colliding the ball with the table. I have a bounding sphere for the ball and bounding box for the table, but ...
1
vote
3answers
2k views

3D XNA Tracking Camera

I'm trying to implement a camera that tracks a 3D model in my game. I've taken a look at this MSDN article on creating a 3rd person camera, as well as experimenting on my own; but I don't get the ...
6
votes
3answers
955 views

Arbitrary projection matrix from 6 arbitrary frustum planes

A projection matrix represent a tranformation from the camera view space to the rendering system clip space. In other words, it defines the transormation between a 6-sided frustum to the clip cube. ...
2
votes
1answer
337 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 ...
0
votes
1answer
322 views

flicker when drawing 4 models for the first time

i have some models that i only draw at a certain moment in the game (after some seconds since the game has started). The problem is that in that first second when i start to draw the models, i see a ...
2
votes
3answers
2k views

Can I use SpriteBatch when drawing sprites on a rotating 3D plane

I'd like to have my plane of sprites rotate similarly as in this game (YouTube Video). So basically, everything is drawn in 2D, but the 2D plane is then "rotated in 3D" (or camera is rotated). When ...
1
vote
1answer
541 views

What are the basics of 3D triangle/quad sorting?

I am really curious how any 3D engine or even the GPU sorts triangles and quads. Are they basically taking a "center" point of a particular triangle/quad/poly and then calculate a distance from a ...
-1
votes
1answer
450 views

Blender or 3Ds Max [closed]

I am starting a 3D video game project and I do not know whether I should use Blender or 3Ds max. Other sites say to use Blender because it has similar functionality and it is free, but I need to know ...
0
votes
1answer
213 views

general routine of creating real video games?

i'm new to game developement and i want to fill the missing spots in the proccess of creating games for PC. my intentions are for first person action games like "return to castle wolfenstein", ...
3
votes
1answer
437 views

Learning to code first game, few questions on basic game development and 3D

I've been programming for a while, and I'm concurrently learning how to make a basic game and slimdx, and wanted to talk to someone to hopefully get a few pointers. I've read that Tetris is the ...
-1
votes
1answer
144 views

Help me choosing a 3d modelling software for this project?

I'm making a video where I want to show a few scenarios of this game in 3d: http://desmond.imageshack.us/Himg156/scaled.php?server=156&filename=imagem3zy7.png&res=medium As you can see, it ...
1
vote
2answers
325 views

Intuitive way to handle dragging outside the Arc Ball?

So I'm writing a game (or toy, rather), which involves manipulating a 3d object with the mouse. I'm trying to get the most intuitive control that I can. I've implemented the "Arc Ball" mouse control. ...
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. ...
-1
votes
1answer
265 views

How to choose a 3d modeling software? [closed]

What should you be aware before making a choice?
0
votes
1answer
414 views

throw a 2D ball facing the target to simulate a 3D like effect

How would you update the state of a 2D object that is thrown forward(with an arc) facing a target to simulate a 3D(depth) like effect? var ball; //2D ball from a sprite sheet ball.x = 0; ball.y = 0; ...
3
votes
1answer
660 views

Perspective projection with 90 degrees between X-Y axis?

I'm trying to create a game that mimics Tibia's projection style: , As you can see, a 3d point is mapped to 2d like this: So I've downloaded Three.JS and a lib to create a Orthographic Camera. But ...
0
votes
2answers
2k views

How to move a 3d object in 3d coordinate space

How can I move a 3d object in a 3d coordinate space? I have a coordinate output from a text file like this: -0.420 , -0.329 , 2.953 -0.296 , -0.314 , 3.136 -0.296 , -0.314 , 3.136 -0.296 , -0.314 , ...
3
votes
1answer
2k views

How do you split indices and vertices if their quantity goes over the limit?

I try to draw a flat surface of 500x500 squares which are built out of four vertices by two triangles. There are 1,000,000 vertices and 1,500,000 indices. The Reach profile of xna, limits primitives ...
2
votes
2answers
774 views

How to interpolate a height-map with normals

My Task I want to interpolate a heightmap by using the normal of each nearby point of the heightmap which is calculated before. When having 4 Points before i gonna have 9 points after it. ( See this ...
2
votes
2answers
753 views

How to implement different weapons in player's hands?

What's the general approach to support variety of weapons in player's hands? I currently have a 3d model that has empty hands. Should I have separate weapon models that I will just create and render ...
2
votes
1answer
562 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 ...
2
votes
3answers
2k views

How to convert screen space into 3D world space?

I am trying to make a 3D model to look at the mouse position. Currently I have this code: MouseState mouseState = Mouse.GetState(); Matrix world = Matrix.CreateTranslation(0, 0, 0); Vector3 source ...
2
votes
2answers
1k views

Simulating a 3D body with a skeleton in iOS

I would like to make an iOS application that simulates a 3D body with joints and bones, but I am not sure how to do that. The aim of the app is that you can move its arms around and throw it around (x ...
5
votes
2answers
467 views

How to draw efficiently large number of objects with alpha blending?

In a 3D game i have large no. of trees with alpha value. What is the efficient way to draw all? What i tried is Taking every tree as a object and draw according to its z value and using billboarding. ...
0
votes
1answer
120 views

Support of multiple 3d formats in engine

What is the best practice to add support of loading models from multiple file formats (.obj, .3ds ...)? What class hierarchy should I use (now I have Mesh class( containing vertex, data ) and ...
4
votes
2answers
321 views

Box-box contact information

I have two colliding boxes, How i can calculate contact information like (contact normal, contact point and penetration) . Is there any simple algorithm . Note: i'm using XNA .
1
vote
1answer
420 views

Special Effects in a 3d game

I am creating a 3d game ( a car racing game) using opengl ES. i know the rendering concept and also using a physics engine for all the physics stuff. All modeling is done using 3d modeling softwares. ...
4
votes
1answer
354 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 ...
9
votes
1answer
5k views

Generate an endless 3D race track

How would I go about generating the track for this game I'm trying to prototype? http://www.youtube.com/watch?v=uQwn7Ufypqo It should be an endless tunnel that sweeps along a 3D spline, with some ...
1
vote
2answers
485 views

How to achieve graphics like those in Spy Mouse

I'm really interested in making a new application for iPhone, and I have some experience in objective-c. My main problem is the visual part. I want to have graphics like in Spy Mouse. Could this be ...