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

1
vote
0answers
30 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
15 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
110 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 ...
-1
votes
0answers
33 views

In 3D, how do I raycast to check for bullet hits?

I am developing a simple jet fighter game. I have x, y and z coordinates for both the shooter and target. How do I determine if a shot hits or misses an enemy object?
1
vote
0answers
36 views

Is there any stand alone tool, for creating animated models?

There was a program, called Character Shop(darkbasic), where you could load the 3D models, add skeletons, choose from the predefined movements (walk, run, shoot), and generate a keyframe-animated 3d ...
0
votes
0answers
22 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
21 views

problem with SCNTransaction in Scene Kit SWIFT

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
36 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
260 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 ...
1
vote
1answer
45 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
79 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
341 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 ...
-4
votes
0answers
50 views

OpenGL Designer Wall [duplicate]

I created a 3D room using a cube. Now I want to have something like this (only the wall, ignore the frame and bulbs) Right now I am getting something like this :
0
votes
0answers
42 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
108 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
65 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
64 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
59 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
215 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
367 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
64 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 ...
0
votes
1answer
39 views

XNA Rendering Blocks

I am currently building a little game in XNA and found something strange. I want to draw many blocks next to another (1x1x1 with a texture on the side) So what happens when I do it this lines ...
1
vote
1answer
168 views

Simulation of ball movement in a 3d landscape. The easiest way?

I have a landscape(generated via Perlin noise) and a ball. I want the ball to move along the geodesic(implementation of basic physics: gravitation, friction). I thought to do raycast around the ball ...
-2
votes
1answer
50 views

Unity skips menu screen and goes to next scene

I am using Unity 4.6.1 and I am working on a game project. I created a JS script with Application.LoadLevel to go to the next scene. Here is my code for OnGUI: function OnGUI () { { ...
0
votes
1answer
30 views

Given a ray-intersect position on morphed mesh, how to compute that position at each morph target?

I'm working on an annotation system that allows a user to click on a mesh to attach a pin with a label hanging off it. It must be possible to pin an annotation on an object that's being morphed with ...
2
votes
2answers
193 views

How to customize a character with new objects (clothes, body parts) in a 3D game?

how do we customize a character in a game by adding, for example, a different clothing? The character has an armature, made in Blender, if I add a new object with the game engine, I would have to copy ...
2
votes
1answer
111 views

Simple Doom style engine question

I've just started making a 'raycast' engine, a pseudo 3D FPS engine similar to Wolfenstein/Doom. I haven't done much reading so my implementation is likely very naive. My current working prototype ...
0
votes
1answer
212 views

How do 3D games create the illusion of depth?

How do libraries like OpenGL convert three dimensional coordinates into the two dimensional pixels we see on our screens? I'm not talking about the 3DS or games that require 3D glasses, but rather the ...
1
vote
1answer
81 views

My .FBX model is not picking the .TGA texture file

I'm at a complete loss. An artist has sent me a 3D model so I can test it in Unity. This is exactly what I got: - Guy.fbx - Guy_DIF_512.tga Alright. So I move the folder into the Unity ...
1
vote
1answer
66 views

How to make a textured tree model outside of unity that can be used in unity

So I am trying to make a 3d model of a tree that is textured that can be used in unity. So far I have tried two separate ways to do this and they both didn't work. The first time I used blender's tree ...
5
votes
1answer
133 views

What direction is forward when the rotation is (0, 0, 0)?

I'm representing the rotations of my actors (or gameobjects) with euler angles (one float for each axis). And I've always considered the vector (1,0,0) (x,y,z) to be the actor's direction if all ...
2
votes
0answers
68 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. ...
1
vote
1answer
78 views

Position and rotate a 2D point array into a 3D world

I have a set of 2D points (defining a flat 2D 'connect the dots' shape). I want to calculate the 3D positions for these 2D points at a specific 3D position and rotation. For example, say I have five ...
1
vote
1answer
89 views

DirectX 11 vertex shader incorrectly sending <0, 0, 0> normal vector to pixel shader

I'm following the Rastertek tutorials. I'm unable to get diffuse lighting working from http://www.rastertek.com/dx11tut06.html. I think the NaNs in the following screenshots is just from stuff ...
1
vote
2answers
165 views

Create a continuous flight path on a Bezier Curve in Unity3d

I am working on a game in which a butterfly is flying along some path. What I am trying to do currently is create a Bezier curve starting from the butterfly's position(previous curves end point) and ...
0
votes
0answers
70 views

Modern OpenGL, rendering multiple obj objects not working

I am currently working on a 3D Game Engine that loads a level from an OBJ file and renders it with OpenGL. My problem is related to understanding how to render each object individually when i have ...
3
votes
1answer
149 views

How to render a pseudo-3D view like in the game Biosys (1999)? [closed]

Biosys is a PC game released in 1999, where navigation through its environments is done by clicking an "exit" on a scene, taking the player to a new scene. The player can't move in a scene, and ...
1
vote
1answer
128 views

Creating a 3D mushroom cloud [closed]

Hi I am trying to create a mushroom cloud animation for my strategy game. Something like this. I have been looking at info for creating explosions in general, and the way to go seems to be using 2D ...
0
votes
2answers
136 views

How to stop 3D model from reflecting light like plastic

I was browsing SketchFab and found a 3D model I decided to try in Unity. This is how the model looks in SketchFab's viewer: When I put it in Unity, I used a Directional Light object: As you can ...
0
votes
0answers
90 views

Insert 3d text to the front face of a cube GameObject

I want to add a text to a cube in Unity. I have a cube which has a 3d text as a child. I am using the below javascript to write on the 3d text: #pragma strict function Start () { } var countdown : ...
1
vote
0answers
90 views

How do I implement realistic recovery from weapon recoil?

I want to create an equation determining how fast a gun recovers back to its center after it has fired. I have a weapon system functioning based on constants (recoil amount, bullet spread, etc.) ...
1
vote
1answer
148 views

Creating a 2d look sprite sheet and textures out of 3d models [duplicate]

I'm trying to make a 2d game (rpg top down), and I've got no 2d artists help me out making 2d characters and textures, but I have one who can make 3d stuff (using Blender and 3d Max), I was wondering ...
0
votes
0answers
29 views

Rotating between two coordinate frames

I have two coordinate frames, A and B. I want to create the rotation matrix RAB which takes you from A to B. A is a right-handed system, and B is a left-handed system. Furthermore, after moving from a ...
4
votes
2answers
328 views

How can I achieve a pseudo-3D camera effect like this?

I am trying to achieve a pseudo-3D camera effect similar to this: I have gotten the following results using a 3D camera and billboards: I am now running into the following problems: In the ...
1
vote
0answers
46 views

Find the largest empty space inside a cube populated with a point cloud?

Lets say we have a set of points (x, y, z) where we know 0 < x < 1 (same for y and z). Now that 3d space is populated with monsters, players or what not. The points represent their location. We ...
0
votes
0answers
37 views

possible way to bring canvas 2d animation in canvas webgl context

when added 2d animation canvas in 3d webgl canvas as texture, 2d animation and 3d animation both stopped working. Any reference for this.
1
vote
2answers
225 views

Does PBR mean only one, right technique to view 3D scenes?

For example if I call Unity 5 render pipeline a PBR (Physically-Based Rendering) and Unreal Engine 4 render pipeline as well PBR, does it mean that the same model with the same PB textures will be ...
1
vote
0answers
31 views

Zoom to Mouse on a Globe using a Perspective Projection

I am trying to create a strategy game that takes place on a globe (i.e. a textured sphere). I would like to be able to zoom to mouse like on google maps. My camera always points towards the center of ...
0
votes
0answers
31 views

Check if an axis aligned cube intersects with a 3d triangle?

Check if a point is inside a cube: def is_point_in_cube(point, cube): return ( p.x > c.x and p.x < c.x + c.size and p.y > c.y and p.y < c.y + c.size and p.z > c.z and p.z ...