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
1answer
12 views

glm Z coordinates are flipped

I am trying to render a 3D model using OpenGL. And for the projection and transformation matrices, I am using glm. I've got my model on the screen and it works just like I intended it to; except one ...
1
vote
2answers
45 views

Unity 3D - Confine a gun rotation within certain degrees

I am having troubles making my gun rotate up and down, and have limits, for example, I want the down limit to be 0 degrees, and the up limit to be 90 degrees. Currently I can't figure out how to ...
0
votes
0answers
22 views

Bounding Box for 3dModel

I've tried using the code from this post How do i create bounding boxes with XNA 4.0? to create a bounding box for a 3d model, but my bounding box is way smaller than my model. My model isn't scaled ...
1
vote
1answer
36 views

Efficient dynamic character shadows [SW Rasterizer]

I am working on a SW rasterizer for a quarter-century old console (think sub-100 MHz RISC CPU, no dedicated 3D HW, couple megs of RAM) and am approaching a stage where I will be adding dynamic ...
2
votes
3answers
48 views

Unity - Check if object is facing Vector3 coordinates

I am having a hard time figuring this out, I want to have objects that move around randomly, and when they get new coordinates to move towards, face them, and then move. Here's explained: Target ...
1
vote
2answers
54 views

How can i handle collision response in a voxel game?

I'm making a voxel game with cubes - like in minecraft - and I have figured out how to check wether the player is colliding with a voxel, I have just done it by checking wether the player is within a ...
0
votes
0answers
18 views

How do you make a game load a custom 3d model for example after i load a games 3d model in 3ds max how do i export it to its original format [on hold]

for example after i load a games 3d model in 3ds max how do i export it to its original format
0
votes
0answers
23 views

build 3D object ingame [closed]

I would like to know if this techique has a name and how it works: https://www.youtube.com/watch?v=epwcLfqHnS0 I saw it in several games, where object are automatically aligned near other objects. ...
-4
votes
0answers
17 views

9d cinema game/movie development [closed]

I'm into this project of making a tourist movie/film(3-5 minutes)of Aruba and link it to the 9d cinema giving it all the effect we would make in this film, can you guys give me any suggestion or ...
-2
votes
0answers
38 views

Best technology to use for 3D molecule renderer [closed]

Not completely sure if it's the correct choice to write in Game development but the problem I have is related to 3D graphics thus it's a place where I'm going to get the best suggestions. I'm looking ...
7
votes
1answer
148 views

Tiling perlin noise seamlessly, but without repeating to generate an infinite 3D world

I have been working on a 3D game in java using LWJGL for a while now. I am trying to make procedurally generated infinite 3D terrain that is generated around the player. So far I have: 3D terrain ...
0
votes
1answer
26 views

Pool Game Physics General Settings in Unity

this question might have been asked before, not sure. I want to create a pool game using unity. I added the spheres as playballs and cubes as the walls. I added a rigidbody to all objects and Im ...
1
vote
1answer
44 views

DX11 Mixing 2D and 3D

So I am somewhat new to working with DirectX rendering, and I have done some 2d and 3d work. I am planning on working on a new application where I will be rendering a bunch of 3d scenery, and then ...
2
votes
2answers
53 views

Unity3D Get collision without having Rigidbody

I am trying to detect a collision between 2 objects, each one of them has a Collider component. In the script I have the method OnCollisionEnter(Collision other) where I want to check if the collided ...
0
votes
1answer
34 views

Unity3D Get object size in order to be used in Vector3 coordinates

I have a plane in Unity in 3D project, and I want to get its boundaries so I can use them in random function for getting Vector3 coordinates. Currently I am trying like this GameObject ground; void ...
0
votes
0answers
32 views

3D Picking: Doesn't Work Consistently

I'm trying to implement a 3D picking function that at the moment simply calculates the ray being sent from the camera after the user clicks the mouse on the window. It kind of works well when the ...
2
votes
0answers
37 views

How do I create a half-ortho half-perspective projection matrix

I've been trying to make a formula for the projection matrix where your vertical axis is projected orthographically but your horizontal axis will have perspective to it. So the view frustum would ...
0
votes
0answers
15 views

UV texture mapping with perspective correction works for 50%

So, I've been trying to get the UV texture mapping down with perspective correction. The triangle rasterization seems to work. The interpolation seems to work too. It's just the perspective ...
1
vote
0answers
32 views

Cutting a 3D mesh with a 2D shape

I have a 2D image that i want to use to cut into a 3D mesh while leaving it closed (basically cut straight through it, and close it by generating vertices in both places it cut, front and back, to ...
0
votes
1answer
41 views

How to understand kind of matrix/world from implemented math operations?

i'm a newbie in 3d programming, and i approach for the first time this argument. I try to make some changes to an existing 3d object viewer, to better suite my needs. This object viewer is jsc3d. I ...
0
votes
1answer
103 views

What is the correct approach to implement multiplayer in a game? [duplicate]

I'm developing a game and it is intended to be a multiplayer game. I have experience in writing servers and clients in Java, but the game is written in C++. The server will be written in Java for ...
0
votes
0answers
36 views

How to apply transform matrices retrieved from FBX

I'm trying to import a skeletal animation using FBX SDK. I followed this article, managing to load all the needed data, but when I try to display the animation the mesh falls apart. My knowledge of ...
0
votes
0answers
37 views

Rotate model to face direction it's traveling in 3d with scenekit and swift - Boids implementation

I am implementing a boids simulation using Swift and Scenekit. Implementing the simulation itself has been fairly straight forward however I have been unable to make my models faces the direction they ...
2
votes
0answers
155 views

Texturing Objects in OpenGL

Using OpenGL tutorials found here, I constructed an .obj file loader as well as a texture file loader using SOIL. I have an issue with drawing a textured object. (Shown here) Assuming I created the ...
0
votes
0answers
32 views

Broken UVs for Maya/Mudbox model

I have tried using the automatic mapping in Mudbox and Maya, neither worked sufficiently, I was still experiencing polygon overlap. I tried mapping separate limbs but I came to the same problem, this ...
-4
votes
1answer
44 views

How to I Create My own 3d modals in unity5? [closed]

How to I Create My own 3D modals in unity 5? Actually,I don't know how to create a 3d modals in unity 5.If anyone is know, PLZ tell me...!
-1
votes
1answer
38 views

Perspective projection? [closed]

I am trying to write an elite like game and I kind of understand the maths behind it but it would be really helpful if someone could explain it.
1
vote
1answer
49 views

Does triangle-plane clipping in 3D always produce a triangle?

When you clip a triangle against a plane, will you always get a triangle out? Are there perhaps cases where you don't get a triangle out of clipping it against a plane?
1
vote
0answers
78 views

How do I create this type of mixed 2D/3D character model?

I'm interested in how this little Lively Hamster Flash game's character is modelled and animated. The head seems 3D. The back always shows a black outline, so I assume it is 2D. Is this a ...
0
votes
1answer
77 views

glDrawElements and Texture Coordinate

I just move on from Immediate Mode and try Vertex Array method using glDrawElements and I got the texture is mess. How to draw the texture correctly? This is a piece of my render code ...
2
votes
1answer
44 views

Track two objects on the screen at the same time

I want to keep two objects visible at the same time. My current idea is to calculate a bounding box that contains the two objects and then zoom and rotate the camera so the whole box is visible, is ...
1
vote
0answers
50 views

Can I render 3D objects in Ray Casting engines?

I was gathering some information on the glorious Ray Casting technique. As far as I've understood it's not a complete 3D rendering, and that's why objects and NPC's are often displayed as simple ...
0
votes
0answers
31 views

Export as .dae, but retain color (all for Unity)

So, I was trying to learn some basic Unity stuff (I am a noob in all respects), and in my early research, I discovered something amazing: I can import 3D meshes that I make into Unity! So, I ...
2
votes
2answers
169 views

Lasers in 3D space game

I am creating this little 3d space shooter and am somewhat unsure on how to implement the laser beams. I'm thinking about something along Star Wars and the like where mostly you shoot rather short ...
0
votes
0answers
63 views

Building levels for use in LibGDX

I'm working on a 3D shooter game using LibGDX and was winding how I would go about building levels that I could import into my game easily. I'm using Blender as my modeling software and I've heard of ...
0
votes
1answer
72 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 ...
0
votes
1answer
64 views

How to draw 2d above 3d scene?

I have an OpenGL(3.3)+GLEW application. I want to draw a black vertical rectangle at the left side of the window for writing some information on it, like fps (I use GLEW function for drawing text). ...
3
votes
4answers
287 views

How to enter a level when touching an object

I am working on a project in Unity 4.6.1f1 and I was wondering how can I make a cube touch another cube to go to the next level (the image below)? ! EDIT: I made a script and put it on the purple ...
0
votes
0answers
10 views

My translations are not working correctly in 3D space [duplicate]

Here is part of my code. The main thing I want to do is make the world rotate properly around my camera in 3D space (which it does), and I want to have the world translate around my camera correctly ...
2
votes
1answer
89 views

Unity 3D - Rotating an object in relation to its velocity

I am currently trying out Unity 3D and I've run into a problem. The problem is I have a car that moves along a road and then when it reaches a corner I would like it to turn the corner and have the ...
1
vote
1answer
189 views

Unity3d - move 3d object in an AR scene

I have an AR scene that has one AR camera, an image target and a 3D object as below. I want to move the AR object to the position of the mouse click. I have tried taking the Input.mouseposition ...
3
votes
2answers
398 views

Pathfinding in 3d voxel: waypoints?

I have an application where I have a 3d collision voxel space (passable or non-passable at each point) and I want to plot a short unobstructed path between two points. There are no gravity ...
0
votes
0answers
44 views

Creating Lighting effect in openGL [duplicate]

I am trying to make my wall have the same color and shade as the walls shown in the picture (Please ignore the frame and the bulbs). I can create a a cube and view it from inside but how can we give ...
0
votes
0answers
113 views

What type of 3D engine is the original Quake engine?

What type of 3D engine is the original ID Software Quake engine (1996)? What is the correct terminology? Is there a particular simple term that describes this type of engine? E.g. the original ...
1
vote
0answers
72 views

Transformed Vertices have wrong Z Axis

For quite some time I've been working on my open 3D game engine, to learn how this stuff works. You can see the full codebase relating to my problem here on GitHub. I'm using an OpenGL 3.3 Core ...
1
vote
1answer
74 views

Turn the front wheels of a car according to the car's bezier path

I have a 3D car which follows a predefined 3D Bezier path. I want the car's front wheels' rotation to match the car's changing direction. I had the idea to match the wheel's orientation to the ...
0
votes
0answers
96 views

Implementing wall-sliding physics in THREE.js

Yo, Basically I want to make a 3D environment where the player can walk around a 3D world, and collides with objects / terrain like any other 3rd person / 1st person game. The world can contain any ...
2
votes
3answers
287 views

In a 2D top-down game, how can I create projectiles that have a height?

A 2D game called Deer Hunter has projectiles like this: Are the projectiles 2D or 3D models? How could I implement something similar?
7
votes
2answers
762 views

In Unity, why is adding a Vector2 and a Vector3 ambiguous but assigning isn't?

Given the following two vectors: Vector3 v3 = Vector3.one; Vector2 v2 = Vector2.one; This line is ambiguous: v3 += v2; // Unity reports dimension ambiguity whilst this assignment isn't: v3 = ...
0
votes
1answer
81 views

Calculate 3D “up” vector to align ship to an arbitrary axis

I'm writing a script to control the movement of a 3D ship in a game. Given the ship's position and the coordinates of the destination, I've successfully calculated the Yaw and Pitch necessary to aim ...