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

learn more… | top users | synonyms

1
vote
1answer
90 views

XNA4\ Monogame 3d Collision detection Help please

i have been trying to get 3d collision working for a while and i think(hope) you people can help me so for my project i have created a 'sprite3d' kinda class which is called ModelEntity and there ...
0
votes
0answers
11 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
0answers
20 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 ...
0
votes
0answers
65 views

Player character not moving

i am trying to make an fps game but my character won't move. i have tried different scripts for more than a week. Any help will be appreciated. Thanks! using UnityEngine; using System.Collections; ...
3
votes
1answer
47 views

Reflection areas on texture

I have a wheel model. It's use Reflected Diffuse shader and only one texture and only one material. So it should seen like that, right? But it's seen like that: I'm really curious about that. What ...
5
votes
1answer
431 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
32 views

How to remove terrain in 3d? [duplicate]

After the release of Minecraft I saw more and more rip offs of the game but some actually began to change it up a bit making the game have a organic look instead of the iconic blocky one that ...
4
votes
2answers
266 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. ...
4
votes
0answers
96 views

Implementing proportional navigation in 3D

Good afternoon guys, a = N * λ' * V is the formula for the commanded acceleration required to hit the target, where N is the proportionality constant, λ' is the change in line of sight and V is ...
1
vote
1answer
143 views

What causes still objects have lines in them when lighting is being changed? [duplicate]

First, here is what I'm talking about (I changed the contrast to make it more visable, since it's not really visible in still images): Ingore the chat box, I was spamming buttons to see which one ...
1
vote
0answers
35 views

Rotation of a point around axis using quaternions

I have a simple processing program to rotate a point around arbitrary axis but it stops after a bit. I'm trying to get full rotation of the point around the axis. import ...
0
votes
1answer
50 views

Game Modeling good practice regarding quads and ngons

I'm asking myself if using quads is really the better practice instead of using ngons (for flat surfaces!) when it comes to game modeling. I often read this and saw models that look like this (96 ...
0
votes
1answer
489 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 ...
0
votes
1answer
18 views

Have an object rotate on its Y axis towards mouse position [duplicate]

I've been looking at some other answers to similar cases but not every one used different methods, and a lot of them were not what i needed, so here's my question : What's the best/standard way to ...
0
votes
0answers
33 views

sphere to sphere interpolation

I am at the moment trying to come up with an scheme that interpolats between a current state and a desired state. Each state consist of an 3d coordinate and a rotation matrix, orienting an camera ...
-2
votes
8answers
11k views

Best open-source 3D game engine for a first person shooting game? [closed]

What is the best opensource 3D game engine suitable for 1st person shooting game? This engine should be script-able with lua.
0
votes
1answer
58 views

Unity 3d shooter tutorial animation

I'm following this tutorial. I cannot get even simple animations to work. Here's a very simple case that was supposed to work but did not: Add an animator component to the 'player' prefab Create an ...
15
votes
5answers
5k views

Where do I start if I want to independently learn game graphic design? [closed]

I want to learn how to create custom graphics, not use freely available resources. But I have been looking around for articles or tutorials on how to start with 2D game design in general, and I can't ...
1
vote
1answer
2k views

JMonkeyEngine in Eclipse

I wanted to try the JMonkey engine, so I downloaded the JMonkey sdk, but I don't want to work in the JME IDE, I would rather like to work with Eclipse, since I already started a game project there, ...
0
votes
1answer
40 views

Unity 3D Move Object with RigidBody

I have added RigidBody component as well as Mesh collider to an object moved with keyboard. I know that it the object will go through another (with RigidBody and Mesh collider too) if I use transform ...
0
votes
0answers
21 views

Extrude 3d polyline

Let's presume I have a 3d polyline, for sake of simplicity, constructed of 2 line segments, with given 3d coordrinates P0, P1 and P2. I need to extrude it by given thickness, which should result in ...
9
votes
3answers
185 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 ...
0
votes
1answer
64 views

Top down 2d orthogonal view with 3D elements (Unity)

I've decided to give Unity a go with my project. I want to create a 2d RPG perspective world, but with elements of 3D mixed in. So for instance, I think I might make trees and grass 3D, for this to ...
1
vote
1answer
37 views

Adding quaternions is useful?

I'm working with quaternions and matrices 4x4 and 3x3, and I have a doubt. I think that adding and multiplying quaternions is the same that converting the quaternion to a matrix, do the operation and ...
4
votes
2answers
175 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 ...
1
vote
1answer
65 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 ...
0
votes
0answers
20 views

How can I fix the face/normal direction of my 3d mesh in blender/UE4?

So I am playing around with UE4 to make some concept art for a game. I extracted the model I wanted to use from the game's files and imported it into blender. It's a tank with 4 parts: the hull, the ...
0
votes
1answer
31 views

How to “properly” display a 2d sprites in a 3d environment?

I would like to show "the classic" missile lock viewfinder (the target symbol) of a war aircraft. So the target symbol must follow the enemy, and became red when "lock" it. So i thought simply to ...
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 ...
0
votes
0answers
29 views

how do i drop a block into grid?

I am trying to drag a block and place it on a grid in unity5. The grid can be empty or already occupied. How do I handle the dropping of block ? I have a 2D array of blocks type, where: class ...
1
vote
1answer
110 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
0answers
33 views

Defining camera/view space

Im working on expanding my camera class, but having trouble defining camera/view space in the manner of this diagram: What Im trying to achieve is to define the camera as a true object much like a ...
0
votes
1answer
144 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 ...
0
votes
1answer
57 views

How do animation works with mesh?

I'm currently developing a game using OpenGL and my dev has run into a small problem. I'm having some problems understanding how "array of vectices works with animated object". For example, if we have ...
1
vote
1answer
20 views

How do I take 2D ballistic trajectory planning and apply it to 3D?

I am currently using this formula speed = sqrt((gravity.y*target.x^2)/(2*cos^2(angle)*(target.y - target.x*tan(angle))) provided by DMGregory as an answer for my question here to determine the ...
44
votes
5answers
7k views

What's the newest trend / method for terrain rendering? [closed]

The last time I checked in on terrain rendering, ROAM was the new hotness. Yes, that was a long time ago. I liked ROAM a lot, though, because it was extremely simple to program, and gave pretty ...
0
votes
1answer
45 views

Visual cues in a full 3D game to help the player to identify the location of each object

I am working on adding some visual cues to the player to help identify where each objects are in 3D. In many space games, there is usually an indicate on the edge of screen that reflects the direction ...
0
votes
0answers
23 views

Inverted FXAA Shader

I'm trying to use an existing FXAA shader which works but when I try to run it the filtered image is inverted. ...
0
votes
1answer
48 views

OpenGL: Generating a single square with a Quad Strip

I am currently trying to create a terrain generation system (for my 3D game) with OpenGL 2.1. The way I am doing it requires the creation of a massive 2D square that consists of multiple smaller ...
0
votes
1answer
30 views

Rotate smoothly object to angle (Y axis) of the collided object

Well, let's say I have two planes, one which I am moving, and another one that I collide with, that has a different y rotation. I want to make that, once both planes collide, the plane the user ...
0
votes
1answer
32 views

Send OpenGL video flux via UDP [closed]

It is possible to send the video flux of an OpenGL desktop app via UDP on Linux ? I looked up FBO and off-screen rendering but I still can't figure out how to extract the video flux and send it. I'm ...
3
votes
2answers
1k views

How check if an arbitrary given mesh is a single closed mesh?

I'm building a space game where it is allowed for the player to insert his own mesh to be his spaceship. The problem I'm facing is that a ship must be a Polygon Mesh. The player will then be able to ...
1
vote
1answer
53 views

Implementing black map in a 3d game

I am struggling with designing black map and fog of war in a 3d game. Black map is the area that player hasn't explored (completely unknown), while fog of war is the area that player has explored and ...
2
votes
3answers
8k views

How to disable play automatically on animation in Unity3d 4.5.1

Where is the option to disable the 'Play Automatically' function for animations in Unity3d 4.5.1. In previous versions, there was a button under the Animation tab to disable the play automatically: ...
63
votes
7answers
15k views

What to consider when deciding on 2D vs 3D for a game? [closed]

How much "harder" is 3D than 2D in terms of: Amount/complexity of the code Level of math skills required Time involved in making art assets Original title: How hard is 3D game development versus ...
0
votes
0answers
18 views

Change the player 3d model in runtime

Suppose I am playing a zombie game, and a zombie bites me on my arm. So, to stay alive, I have to cut off my arm, right? Or maybe you are playing a FPS and an enemy player shoots you at your hand. ...
1
vote
0answers
68 views

Texturing Cubes

How can I texture a cube that is able to rotate in x,y and z direction in pure Java? Here is what i have tried: package main; import java.awt.Color; import java.awt.Graphics; import ...
8
votes
2answers
871 views

Get water flow direction vector from water normal vector

Im stuck developing an important detail of my game water: Making it flow downwards! Considering a typical 3D world in wich water tends to go towards gravity g=(0,-1,0) , and having the normal of the ...
1
vote
1answer
92 views

In ROBLOX, how can I check what is in front of me?

In ROBLOX Studio I need to check what part is in front of the model Freddy. I need to set the variable called thingInFront to the part that is in front of the model Freddy so that I can decide ...
1
vote
0answers
28 views

Combining skydome and fog

I am developing a 3D game in DarkBASIC Professional, and I have a theoretical problem with the combination of skydomes and fog in general. My question is not specific to a programming language, so I ...