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

learn more… | top users | synonyms

1
vote
1answer
86 views

How can I render a texture to a polygon in SDL2? A fake 3D problem

I am working on a fake 3D game recently. The game is based on the perspective principle and using angular perspective. Here is a screen shot: But the problem is that the walls and floor displayed ...
0
votes
2answers
50 views

Roofs not appearing in Unity

My buildings are fine until I import them to Unity. None of the formats I've come across( FBX, DAE, 3DS Max, Blender Files, any of the Autocad formats, OBJ, PRJ, WRL etc.), have roofs when importing ...
6
votes
1answer
1k 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 ...
6
votes
2answers
589 views

Making holes in 3D objects (Unity)

How can I make a hole in an object with Unity 3D? I've something like this object and I want to make a hole in it.
2
votes
2answers
212 views

Using bone joints

I am trying to save bone joints to a file, and am using this format. I was wondering if anyone could clear up a few questions I have why do I need to provide rotation data for the bone, if I already ...
1
vote
1answer
110 views

What algorithm is used to select a voxel (from a player's perspective)?

In first-person voxel games (like Minecraft, shown below) you can select voxels by going over them. What kind of algorithm is used to select a voxel? I haven't implemented it in my voxel ...
-1
votes
1answer
186 views

Record new animation in Motion Builder

I was rigged a 3d character model using MotionBuilder software. now i want to record my own animation for this 3d model. im new for the motion builder and i was unable to find a good reference for ...
7
votes
2answers
259 views

Procedural rock algorithm

I'm looking to create some procedural low poly rocks and boulders for a game. I haven't found much interesting information on the internet other than 3D software articles. Not sure what way to go.
2
votes
4answers
6k views

2D camera perspective projection from 3D coordinates — HOW?

I am developing a camera for a 2D game with a top-down view that has depth. It's almost a 3D camera. Basically, every object has a Z even though it is in 2D, and similarly to parallax layers their ...
15
votes
4answers
6k views

What are the pros/cons of using a 3d engine for 2d games? [closed]

What pros or cons should a beginner be aware of when deciding between a 2d game engine (like Slick2D/Flixel/FlashPunk) and a 3d engine (like Unity) for 2d game development? I am just getting started ...
3
votes
1answer
455 views

masking with 3d object in unity

I have a 3d plane in my scene and some 3d objects behind that plane. So, i want to render only the part behind the 3d plane. So how should I do this, should I have to use custom shaders, plz help.
5
votes
3answers
1k views

Creating a highlight halo around a selected object

I'm looking to create a halo highlight around the selected objects in my game screen. The main platform is android, but I am writing an iOS version as well, updating it whenever I successfully add the ...
0
votes
2answers
69 views

How are animations specified by an artist but implicitly understood by the game engine?

I'm trying to understand the relationships between 3D models (files) and the games that load and use them. As a software engineer, I'm willing to make the few following assumptions: I would assume ...
0
votes
2answers
136 views

How To Make My First Person Controller turn left and right in unity 5

I want my first person controller to turn left and right instead of just moving straight on that axis. i have a 3d environment setup in "unity 5" and i am working with the "first person controller" ...
0
votes
2answers
115 views

Best way to draw 2D shapes on a 3D flat object

I want to draw shapes (arcs, circles, lines) on a table, which is in 3D space. The table top is at Y=0 level and oriented so it points to (0, 1, 0). There are some other 3D objects on the table, so ...
0
votes
0answers
17 views

How to decide the divisor for an HRTF algorithm FIR Filter output?

I am currently working on a program which plays 3-D sound in a virtual world using HRTF algorithm. For the sake of quality and freedom, I don't want to use OpenAL or DirectSound3D. What I have done is ...
0
votes
0answers
37 views

How to split or divide a polygon face in 3DS Max

I have previously used the Cut and Slice tools in 3DS Max. Recently I wanted to divide a selection of polygon faces into a specific number of faces. For example split each face into 2 equal halves, or ...
2
votes
2answers
53 views

Strange behavior with transformation matrix

I'm fairly new to transformation matrices. I'm using them to translate and rotate nodes and their child nodes. The following code works when applied once, but shows strange behavior when applied many ...
5
votes
2answers
133 views

Drawing circles at the background of a 3D scene and updating their size

So, here is what I am trying to do in Unity 5 (using C#). I want to draw a a 2D circle at the background of a 3D scene and apply a texture/image to fill it. Just like it would be if the circle was in ...
1
vote
0answers
124 views

Recognize pattern in 3D building environment

I'm currently developing 3rd person building game (as bacheleor thesis). I need to recognize constructed patterns co I can mark corresponding structure as some building (so player can start using that ...
0
votes
1answer
109 views

How could we use trigonometry for moving around a 3D World?

Well I have a question about geometry and 3-Dimensional player movement in general. I'm using Java, OpenGL and LWJGL. This is basically what I got: currentFrontSpeed: Is a float that contains the ...
3
votes
2answers
89 views

Putting items into a 3D space

Imagine a fridge and a bunch of random foods. I want to take one food item, automatically put it somewhere in the fridge, and repeat. I can stop at any time. Basically, the filled fridge should look ...
1
vote
1answer
37 views

picking 3D objects rendered using instancing

i have a peice of code that renders a 3D image, say a cube. I require 3 cubes in in different locations, this is done using instancing and i am able to render the cube in 3 different locations. ...
0
votes
1answer
72 views

How does UV mapping work for the spaces between vertices?

In UV mapping each vertex has a UV coordinate, but wouldn't that just make 1 pixel for every vertex? How do you find out the texture coordinate for the spaces in between the vertices? Am I not ...
0
votes
1answer
28 views

Is there a 3D format that supports instanced components? [closed]

I am looking for a 3D file format that supports instanced components/objects. That is, there is one geometry declaration and then it is instanced in numerous places. Open formats are very much ...
2
votes
2answers
3k views

How to create a walkable 3D terrain

I want to make a terrain for a RPG game that I'm developing. I started modeling the surface and implementing it to my game, but now I realized that i might be doing everything wrong. So I would like ...
8
votes
0answers
145 views

3D collision avoidance: finding the updated velocity vector (outside the “collision-velocities” cones)

I am trying to understand and implement the mechanism of a fully 3D collision avoidance (steering behavior) system for flight movement (six degrees of freedom), currently focusing on circumventing ...
6
votes
1answer
179 views

How can I extrude a regular, grid-based 2D shape to 3D?

I have a list of vertex coordinates which encircle several 2D areas. Orthogonal lines only, but not necessarily convex areas... similar to PCB traces of conductive copper areas. I want to draw them ...
1
vote
1answer
50 views

How can I fade in 3D foliage smoothly?

Take a look at this picture: This is a picture of me diving down from a high height. As you can see, the world is a simple world with grass, snow, trees, etc. The problem here is the 3D foliage. If ...
2
votes
1answer
64 views

How to make the inside of a cube accessible

I have a cube, it is made up of smaller cubes each making the big cube 8x8x8. The cube is the map. The player of the game needs to be able to appraise the entire map and understand it without having ...
2
votes
1answer
696 views

LWJGL SlickUtil Texture Binding

I am making a 3D game using LWJGL and I have a texture class with static variables so that I only need to load textures once, even if I need to use them more than once. I am using Slick Util for this. ...
0
votes
1answer
147 views

GLES2 rendering performance for different iPad generations

I'm using C++/GLES2 for iPad only (no iPhone). The only device I own is an iPad2 and I do not plan to support iPad 1. Can anyone help me understand realistic goals/limits on iPad 2/3/4 in terms of ...
1
vote
1answer
269 views

problem with SCNTransaction in Scene Kit

I'm trying to move an object over a period of ten seconds from y coordinate 0 to y coordinate 10. the object is created at y coordinate 0. The problem is when the animation starts, the object pops ...
1
vote
1answer
41 views

How can I implement “quality levels” for models and textures?

I'm preparing to build a 3D game without an engine and am wanting to know how I could implement graphic detail levels for my models. To do this, are the models made in the highest quality level and ...
0
votes
0answers
30 views

3D Level Navigation Map for a 2D Mobile Game

I am currently making a game in which I want to create a level screen map. The Map doesn’t have to do anything with the game logic and stuff but I just want to add it to include a bit of richness. ...
2
votes
1answer
82 views

Finding pitch/yaw values from lookat vector

I have a camera class that contains a position, a pitch, and a yaw (the pitch and the yaw correspond to y and x rotation values). I want to implement a lookAt function that takes a vector and the ...
8
votes
2answers
4k 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. ...
0
votes
3answers
83 views

Show 3D elements on 2D background

I'll make a navigation menu in my game and had the good idee to this the enemies to start games or go to the gun store. The problem is when I look in game mode, the enemy named ZomBear in hierarchy ...
6
votes
1answer
7k views

OpenGL ES 2.0: Understanding Perspective Projection Matrix

Setting the Perspective projection matrix in Open GL (including OpenGL ES 2.0) has the following general format: glm::mat4 perspective(float fovy, float aspect, float zNear, float zFar); Notice the ...
2
votes
1answer
60 views

Creating or saving model (.fbx or .stl) file in XNA

I have drawn a 3-D Sphere in XNA with the help of vertices (without fbx file). Now I want create a .fbx file or .stl file of this 3D sphere from XNA, is there any way to do this? or how can I save ...
1
vote
1answer
149 views

Configurable Joint, linear limit range

I am working on a physics driven pressable button, but I cannot seem to tackle the minimum and maximum limits. This is the rig I have set up for the button (as it looks when pressed down). 2D view: ...
0
votes
1answer
73 views

What is the most efficient method of creating a detailed 3d tileset in a 3d game that uses a grid? [closed]

Well, the most efficient method might be with how minecraft does the terrain by using a single block for a single grid, but one thing I am concerned about is that the method minecraft uses is poorly ...
0
votes
1answer
46 views

Generate objects on playground on random location

How can I generate an object on my play ground? Note that there are some locations where the new generated item can't be placed. (Click on image to see the real size) I was following a tutorial on ...
1
vote
1answer
55 views

add random walls with an array in 3D xna 4

I'm trying to add walls to my 3D game. I created a wall entity and added model array public Walls() { modelArray = new Model[10]; } public void Initialize(ContentManager contentManager) { for ...
4
votes
1answer
559 views

UDK: Animating characters with weapons

I imported a custom character and a pistol model to UDK and both work, but the pistol doesn't appear with the animation of the pistol when I shoot or reload... Also, the character doesn't change its ...
0
votes
2answers
146 views

Supersampling - Pixel color average calculation

I am currently trying to understand Supersampling. Wikipedia says (or at least Wikipedia tells me) that multiple color samples are taken from one pixel to calculate the final result. But to my mind ...
11
votes
3answers
1k 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 ...
0
votes
0answers
43 views

Conversion from .dae to XML for 3D Models in Unity BuildR

My partner and I are trying to import .dae files from Sketchup as well as 3DS Max into Unity's BuildR extension. Collada a.k.a. .dae files have an XML-based schema so we incorrectly assumed they would ...
1
vote
2answers
111 views

Object orbiting a 3d sphere

I'm developing in libgdx java/android but not using any high-level environment like Unity. I have a sphere at [0,0,0], with a PerspectiveCamera looking at it. Through the main game loop I have ...
0
votes
0answers
17 views

Is it possible to Change the vertex format of a Model from line list to Triangle strip using DirectX

So I have a DirectX game library and using DirectX models in a game I am developing. All the models I am using have a Triangle Strip topology and thats fine as ID3DXMesh uses triangle strips for ...