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

learn more… | top users | synonyms

2
votes
1answer
170 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 ...
-4
votes
0answers
32 views

How would i go about making rain in unity 5? [on hold]

how would i go about making some light rain in unity 5? I want to know how to have some light rain in my scene in unity 5?
0
votes
2answers
50 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
40 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" ...
3
votes
2answers
69 views

How do I induce collision events in LibGDX 3D?

In the code below I've put an example of something I want to do. I have the camera and I want it to stop moving whenever it hits one of the boxes, how do I do this? public class Main extends ...
0
votes
2answers
82 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
7 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
12 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 ...
1
vote
1answer
44 views

Multitexturing depending on given variables?

Im having trouble with rendering multiple textures. Using XNA gamestudio: working with 3D meshes and texturing. Effect.fx HLSL I do have a map/level that loads from a heightmap. - This works I have ...
2
votes
2answers
51 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
140 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.
3
votes
2answers
1k views

Matrix rotation wrong orientation LibGDX

I'm having a problem with matrix rotation in libgdx. I rotate it using the method matrix.rotate(Vector3 axis, float angle) but the rotation happens in the model orientation and I need it happens in ...
5
votes
2answers
75 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
94 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 ...
1
vote
1answer
58 views

How to fix my camera collision, C# XNA

I am having some weird issues with my camera. I am trying to make it so it is a first person camera, that when the user presses the W or Up key, it moves towards where the camera is looking. My issue ...
0
votes
1answer
79 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 ...
0
votes
0answers
45 views

3D Noise for Terrain in Chunks

I'm trying to create a voxel engine that uses marching cubes to create smoothed terrain. I have most of it implemented, but: I'm struggling with how I should create a noise function in ...
3
votes
2answers
84 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

Recap on how a camera works in 3d Space?

This may be marked as a duplicate, but I have been trouble thinking about a camera. I understand that there is a "camera transform," or view matrix. However, this is multiplied with every vertex in ...
0
votes
1answer
28 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
61 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
26 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
2k 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 ...
6
votes
0answers
75 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
136 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
47 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 ...
0
votes
1answer
411 views

3d Wall sliding collision

I'm working on collision for walls in my game and the way I currently have it I get stuck walking into a wall. I'm trying to make my character slide on the walls but still collide. My character moves ...
1
vote
1answer
199 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
89 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 ...
4
votes
1answer
388 views

OpenGL Fast-Object Instancing Error

I have some code that loops through a set of objects and renders instances of those objects. The list of objects that needs to be rendered is stored as a std::map>, where an object of class ...
0
votes
1answer
170 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 ...
2
votes
1answer
55 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 ...
4
votes
2answers
198 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. ...
2
votes
1answer
672 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
144 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 ...
0
votes
0answers
8 views

3D boolean operations in java [migrated]

I am looking for libraries that provide 3D boolean operations in java, to use in a game. If possible, they should have performance and provide textures support at the dynamically generated meshes. ...
1
vote
1answer
215 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
36 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
13 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
39 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
60 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
6k 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
41 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
59 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
53 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
26 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 ...
6
votes
2answers
441 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.
1
vote
1answer
51 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 ...