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

learn more… | top users | synonyms

0
votes
0answers
18 views

Unity detecting edge of mesh or end of mesh

I'm trying to create procedurally generated tiles and I've reached a point where I need to figure out the boundaries of the mesh or the outer vertices of the mesh. RaycastHit hit; if (...
-2
votes
0answers
33 views

Faster way of creating character animations [on hold]

We need to create a computer game for our Artificial Intelligence subject. I decided to choose 2D Fighting games because I thought it would be easy. As I continued researching about this game I found ...
3
votes
1answer
50 views

How to make one 3D object face another?

I'm writing a simple 3D engine myself and I cannot figure out how to make one object face another. The problem begins with identifying which direction the target object is in relation to the second. ...
1
vote
1answer
61 views

How do you render planets without distortion?

I've recently been working on a little spaceship flying sim in Unity and want to add planets. Up till now, I've been hand modeling them in Blender. But I want to have a way to generate large planets ...
1
vote
0answers
30 views

How to disable and enable a randomly generated prefab in an endless runner 3d

Hi all I have been experimenting the endless runner game for some time and needed to optimize it. I read some articles about optimizing my game and it says that once you instantiate the prefabs in the ...
37
votes
4answers
8k views

Why do modern games use a render-to-texture approach for mirrors?

When looking at old games like Mario64 or DukeNukem3D, all the mirrors in the game are essentially just holes in the wall with a mirrored copy of the geometry in front of the mirror put behind them. ...
1
vote
0answers
22 views

Advice on mapping tiles to a height map/3D world

I've been attempting to think of a way to map tiles to a height map. Where a grid can be either layered or integrated into the world data. However, since I am not using voxels I could use some advice ...
2
votes
0answers
22 views

Unity3d Isometric moving forwards

I am making an isometric game using unity 3d and 3d graphics. I have been able to figure out how to create and isometric camera that follows the player, and a basic isometric moving script for the ...
2
votes
0answers
15 views

Problem Rendering a Wireframe Cube and Grid with DirectX 11

I am trying to draw a 3D Wireframe (just the lines that connect each vertex) Cube and a 10x10 grid with D3D11. So far, this is my code //************************************************************ //...
0
votes
1answer
78 views

Is 3d game development advantageous/possible in SDL2? [duplicate]

I think this is not appropriate, but as the given video in the link, the youtuber name Bisqwit creates his own 3d engine from scratch in C and SDL2. How much is this advantageous is real 3d game ...
1
vote
1answer
40 views

Texture mapping artifacts on certain surfaces

I am currently working on a 3d game engine, but am complete stumped on a problem involving texture rendering. Here is the rundown. My game engine renders meshes of the OBJ wavefront type. I have ...
0
votes
0answers
19 views

Android virtual reality games using unreal [closed]

How to create a android virtual reality games using unreal engine especially for beginners using blueprints and is there any good tutorials for that
1
vote
1answer
127 views

Making Cave system in Unity 5

I know there are many threads about this but none of them seems to work for me and I spent like 2 days already on that problem. Things that I've checked: http://wiki.unity3d.com/index.php/...
3
votes
1answer
37 views

Is this process for generating an OpenGL perspective projection correct?

I have been programming OpenGL for a while now and I have successfully created a perspective camera, however, I can't help but shake the feeling that I am doing it wrong. The code I am using is below, ...
1
vote
1answer
28 views

How to map control key to a specific angle or orientation?

At the moment, I basically have built out a large hash table of various angles and what direction they map to, if the user would press right, up, down, left. This is needed, in my case, as I have a ...
0
votes
1answer
32 views

Z buffer for large vs small objects

Are there common, tried and tested techniques for making sure that when displaying very large and very small objects, in a 3D environment, those objects don't display in front or behind each other? ...
6
votes
2answers
136 views

How to orient a hexagonal tile on a geodesic sphere (Goldberg polyhedron)?

I've recently ported the hexasphere implementation by Rob Scanlon at https://github.com/arscan/hexasphere.js to objective-c for use in a project I'm exploring. As a port, it works very well, and I ...
0
votes
0answers
15 views

Hi! How do I do optimized raytracing on a ds_grid heightfield terrain?

I want to do optimized ray tracing, the terrain is a grid, each gridcell has 2 triangles with vartiable z. What's the most optimum way for raytracing collisions? This site has the answer but it won't ...
1
vote
1answer
62 views

manipulating camera with mouse

I am writing a OpenGL game engine and also an editor for the engine. In my editor, i can import 3d models from fbx/collada as a scenegraph. Now i want to implement the option for the user to rotate ...
1
vote
1answer
30 views

IgnoreCollision while Dodging & Colliding

I'm working on a mechanic to allow the player to dodge through enemies. However I'm running into the issue where the player is only able to dodge through enemies while their already dodging when they ...
1
vote
0answers
40 views

Having problems drawing entities the right way in my isometric game

I am making an isometric game where I have moving Entities's not bound to tiles, and a 3d ArrayList map which is populated by Block's which forms a tower-like structure in the middle of the map. My ...
1
vote
1answer
58 views

Quaternion based camera pitch freaking out, and Z-axis drift

This is the code I use to control my (first person) camera's movement and rotation. Translation successfully keeps orientation in mind, so that up and left and such are always in the expected ...
10
votes
1answer
181 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 slices) and theta (for stacks) ...
0
votes
1answer
150 views

How do I create the terrain mentioned in GPU Gems 3

So, i want to create this style of terrain: http://http.developer.nvidia.com/GPUGems3/gpugems3_ch01.html However, as much as I scour the web trying to find ways to implement this inside Unity, I can'...
1
vote
2answers
101 views

FBX animation works in 3DSMax but not with Assimp [closed]

I have an FBX file that represent a plane with an animation of the gear opening. In my editor 3DSMax or in the Unity editor, the file and animation seem good, but when I use Open 3D Model(the official ...
0
votes
2answers
162 views

Trying to make 3D game look like 2D

I'm making a 2D dungeon crawler. The problem I found, it is that trying to animate the movement through the dungeon it is hard as hell. Then I thought that maybe a 3D dungeon will be better for this, ...
2
votes
1answer
58 views

How do you solve where the camera should be on a bezier curve depending on player? (camera on rail)

I am writing a game where I require a camera on rail; That is, the camera's path is fixed and follows a bezier curve. However, I cannot find any resources online for solving the closest point on a ...
1
vote
2answers
78 views

How to create Half hemisphere 3D model

I already have an hemisphere.obj 3D model. But I'm trying to build a half-hemisphere (quarter sphere) model. How can I do that? What is the easiest way to do that? Generally, is there any easy way to ...
0
votes
0answers
49 views

Simulating a rope in 3D

I want to simulate a rope in 3D. My aim is to code everything myself using Unity 5. I think it will be easier to implement a 2D rope first and then move on to the 3D version. I have read many ...
1
vote
0answers
78 views

Map video texture to a half sphere in Unity

I'm new to unity3D. and am trying to play a 360-degree video. But instead of mapping the whole 360-degree (equirectangular) video to the whole sphere, I need to map the half-video to a half-sphere ...
0
votes
0answers
22 views

(3D) Parabola jump with given start and end

I have a start point and and endpoint given. I'd like to lerp the position from start to end via parabola i.e. over an arch. -(x-x0)(x-x1) won't work if one of the points isn't zero. Someone has a ...
0
votes
0answers
14 views

Free for use 3d models / meshes for use in UE4 [duplicate]

Does anyone know a good place where I can get free 3d models or/and meshes that work with UE4? because so far i can't find any good sites that are free.
0
votes
0answers
39 views

Is it possible to create a third party program that simplifies game graphics?

As someone familiar with the lifestyle of low-end gaming, I am interested in finding some sort of third-party solution that could enable individuals with lower-end hardware to play more graphics ...
3
votes
1answer
59 views

OpenGL cube map is always black

When creating and rendering a skybox with a cube map texture, the skybox is black. Here is how I create the cube map texture: GLuint loadCubemap(std::vector<std::string> faces) { GLuint ...
1
vote
1answer
42 views

Handling movement on sloped surfaces - clamping character to sloped surface

I've noticed that a lot of people seem to have this issue but I've yet to find an actual working solution - when a rigidbody-based character controller (I'm not using Unity's character controller) ...
1
vote
1answer
55 views

Unity Vector3.Angle() direction

I have a space fighter AI. I need to determine how to pitch, yaw and roll the craft to aim at the target. My current solution: To obtain the Yaw angle to position the target above the fighter, ...
0
votes
0answers
10 views

Unity Make a 3d object intersect pass through 2d UI

I'm trying to make a 3d object appear as if its approaching a 2d object. As So: The sprite is 3d and it should pass through the 2d button. Since the hand above can move freely I can't put it on a ...
0
votes
1answer
131 views

How to make texture size correctly in THREE.js?

I'm new to THREE.js and I have a frustrating problem. I can't get my grass texture to size "normally" on the terrain. I get it, the terrain is steep, but that doesn't mean the grass should be ...
2
votes
1answer
124 views

How to add constant force to player with sperical gravity planet.?

I have a planet and character. My player move perfect around planet with pressing key like 'w','s','a and 'D'. I want to move my player on every frame with same force around sphere. I try plane ...
0
votes
1answer
27 views

Animation inside a .obj file?

Ok, so yesterday I understood that "rigging (bone and joints)" are things that are use inside a 3D animation software like maya. By that I mean that those bones and joints are not inside the .obj file ...
0
votes
0answers
21 views

How can I simulate a tilt switch with gravity?

I need to build a simple 3D simulation of a tilt switch, ie. a hollow cylinder with a sphere in it which can move from on end to the other according to the position of the cylinder (gravity). The only ...
0
votes
0answers
27 views

How do I get/extract 3D models of monsters from the game Etherlords 2?

I was playing the game Etherlords 2 since yesterday and I am really like the game. I was thinking about making wiki-like site for the game since the game's community is pretty much dead. The site idea ...
1
vote
0answers
22 views

Is there a more useful “inverse” alternative to portal rendering than antiportal rendering?

I'm in the process of sketching out the design of a 3D rendering engine as I'm learning my way around the subject. (Preemptively: yes, I have my reasons for rolling one from scratch, not least the ...
0
votes
1answer
54 views

How can i show all edges in monogame?

I am using Monogame 3.5 and i have simple model of cube. I use BasicEffect to draw it. I want it transparent so i use effect.Alpha = 0.5f. Is it possible to show all edges something like on picture?
-1
votes
1answer
67 views

Increment int in array - int i is out of scope? [closed]

This is my scenario: I have a 3D model of a house, and an autonomously moving robot moving through the house picking up multiple objects. I have an array of 3 objects I want it to pick up, but I don'...
0
votes
2answers
37 views

Autonomous robot - moving from 1 object to the next object

This question falls in line with my last question: Unity 3D - create autonomous moving robot in house + first person camera movement What I have I have a 3D model of a house; a first-person camera ...
0
votes
0answers
25 views

Finding minimum horizontal offset to disjoin two objects in 3D

This is an extension of sorts of the question asked here: Allowing a player to walk up and down slopes without resistance I am using the Separating Axis Theorem to determine the minimum translation ...
0
votes
1answer
77 views

Unity 3D - create autonomous moving robot in house + first person camera movement

I have very, very little knowledge about programming or Unity. I have done some basic tutorials, but I want to try something harder. The thing is, I don't know where to start. If you find the time to ...
0
votes
0answers
35 views

Mesh Collider in Monogame

I try to implement a few complex objects and want to achieve that they collide based on everything the player is able to see. Therefore I am not able to use the basic BoundingSpheres. Has anybody an ...
0
votes
1answer
33 views

What is the best way to animate a jumping motion in Unity 3D?

I am creating a a simple 3D game in Unity with a character who runs, walks, jumps, swims, shoots etc. I am pretty satisfied with my results in all the motions except jump. I need to know at what ...