# Tagged Questions

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

410 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.
128 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 ...
148 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 ...
133 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 ...
201 views

### How can I generate 3D noise in chunks for terrain?

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 three dimensions....
139 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 ...
47 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. ...
60 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 ...
34 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 ...
77 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 ...
59 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 ...
215 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 ...
76 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 ...
46 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 ...
38 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. ...
153 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 ...
390 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: ...
54 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 ...
797 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.
96 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 ...
67 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 ...
24 views

### XNA 2 3D Objects Depth Convergence Error

Gah! I have a scene with 2 3D objects - a plane and a sphere; the plane sits on the xy axis with a depth if -100 and diameter of 200; the sphere diameter is 32 and sits on the xyz = 0 position; ...
137 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 ...
18 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 ...
208 views

### Dual Contouring - what is it and how to use it?

I'm having trouble understanding Dual Contouring yet and I need some explanations from someone who has first hand experience. I searched all I could before writing this question. I've already read: ...
242 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 ...
293 views

### Why there are no 3D games which allow you to move? [closed]

I've tried many 3D augmented reality games animations vs. all of them were based on this concept: your head is on one reference point, standing still, they only allow you to turn your head and look ...
66 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 ...
85 views

### Point Light shows black box & rect (PointLight not working) - libgdx 3D

I am creating a 3d scene currently a box and rect, and trying to enable lighting. When i create a PointLight and add it to Environment everything turns to black color? all i want to do is ...
93 views

### Rotations of a Rubik's cube

I made a Rubik's cube by arranging smaller cubes. Now I want to apply animations to it. For that I am choosing to use the Rotate class and set the angle of rotation and the axis of rotation,like this ...
62 views

### Rotation of a cube

I came across the statement "rotation about a pivot and an axis" in javafx. The axis is defined byPoint3D and the pivotX, pivotY and pivotZ are of double type. I could not form a relation about what ...
143 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 ...
225 views

### The Power of 2D Engines vs Modern 3D Games [closed]

I'm toying around a lot with Game Maker. I really like it. GML is very simple and with its nearly object oriented design you could create anything in 2D you can think of. However there is a limit. ...
230 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 ...
22 views

### Maya users; how can I create my own particle emitter in Maya?

(Originally posted in the Programmers Stack Exchange, but was told to ask here instead. Whoops.) Before you answer this with "well, use the built-in particle emitter", read further. For one of my ...
70 views

### World Space Normals Are Black

My world space normals appear fine for most of a mesh. However, some of the normals are black. I was wondering if anyone had any ideas why this is. This happens for any mesh, not just this sphere. ...
69 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 ...
91 views

### Display mesh in front of camera

Im trying to display a mesh in front of the camera and FACING the camera ( I'm developing an small editor in wpf using helix3d). Pretty much something like this question I load my mesh into a ...
207 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 ...
94 views

### Strange artifacting with textures (Pseudo 3D)

I'm using SFML to make a pseudo 3d engine (Technically not software rendered since SFML uses OpenGL) and things are going rather swimmingly, but then I tried to make another wall, the picture says ...
113 views

### How to calculate a vector for multi-axis rotations from sphere coordinates?

I'm working on a SceneKit project in iOS, trying to rotate a sphere (representing a planet) so that a point at a given longitude/latitude coordinate is facing "forward" (i.e. that point moves to the {...
347 views

### Hierachical Z-Buffering for occlusion culling

I'm reading the Occlusion Culling section in Real-Time Rendering 3rd Edition and I couldn't understand how it works. Some questions: How does having a "Z-pyramid" contribute? Why do we need multiple ...
107 views

### How do I get into 3D Java game development? [closed]

I have learned how to make a 2D game in Java using Eclipse and processing but I am not sure how to do 3D game development. I have tried looking up examples of how to do this but I have not found any ...
36 views

### Matrix stack from direction vector chain

I've implemented an IK system for a grabber arm based on several straight segments, starting from a fixed point. The IK is based on a mass-spring simulation, which eventually rests. What I'm left with ...
94 views

### Is it ok to use polymorphism as a way of “interfacing” with objects in a scene? [closed]

I'm designing a class that holds values representing a 3D scene. This includes lights, cameras, meshes, materials, etc. The way how I'm setting it up is that each "thing" has a name. A camera has a ...
151 views

### How can I optimize block rendering in an OpenGL game?

I am working on a game with blocky graphics -- similar to Minecraft. My world generation algorithm is similar to the Diamond-Square algorithm. The terrain was initially too rough and uneven, so I ...
57 views

### When making 3D model for building, is it better to split it or combine it? [closed]

As the title say, when making 3d model for building (example: school, office, etc). Used for FPS game so it must have detail and texture must be vary so it won't look like repeating/reused. Is it ...
85 views

### Tweening back from arbitrary 3D rotation in javascript

I'm using a 3D javascript library to rotate the vertex of a 3D object with a classic 3x3 matrix, to an arbitrary angle in the 3D space, as depicted in the image below. For example, a first ...