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
3answers
45 views

Mathematics behind Phong shading and additive blending

I'm confused about the mathematics behind additive blending used in conjunction with Phong shading. Intuitively, it seems like you would need to use a floating-point framebuffer and some sort of ...
0
votes
0answers
25 views

How can I do a weighted cascade down a path in a 3D environment?

I am trying to perform a weighted cascade down a path in a 3D environment. Now, what I am trying to do is have one object(a cube) in the environment scan from its coords 1 in every direction for ...
0
votes
0answers
18 views

Unity3d wheelcollider falling through terrain

I have created simple project with 3D car and terrain. I have added 4 Wheel Colliders on model wheels. But when I run project wheels falling through terrain. Before run: After run: I am sure that ...
0
votes
2answers
74 views

Quaternion Rotation Help

So I'm making a little engine with DirectX 11 and C++. (Some other help from other API's as well) DirectX has this function XMMatrixRotationQuaternion(XMVECTOR quaternion). I know nothing about this ...
-1
votes
0answers
39 views

What are the different parts to make a 3D game? [on hold]

This question may sound stupid, but please answer it: My question is what kind of separate parts are needed to make a (real-time) online multiplayer 3D game There are different parts to combine to ...
1
vote
0answers
25 views

XNA: Working with primitives and tessellation [on hold]

I was working with primitives in XNA (since I have limited knowledge with 3D and modelling), and I have 3 similar questions below: Question 1 I was reading up on terrain tessellation in an article ...
-1
votes
0answers
50 views

Elite-on the NES [closed]

I'm not from a programming background, i am from a 3D animation back ground and i like to know how things work. So now onto my question, the 3D wireframe game Elite, there is a version for it for the ...
0
votes
1answer
93 views

Finding a vector perpendicular to a current vector

Assume, that we have a player that has a vector direction. We have an enemy, that is shooting a player. And the task is to find out from which side the enemy is shooting. I know the algorithm, how to ...
0
votes
1answer
41 views

Mouse interface for 3d environment with camera [closed]

I'm programming a 3d environment with a camera, and need to decide what the mouse will do. There are several possibilities e.g. Rotate the camera Move the camera Move an object Rotate the ...
0
votes
0answers
55 views

X, Y, Z rotation around camera

I'm making a 3d orthogonal-projected, game using painters' algorithm in java. I'm able to rotate the objects with incremental rotations (e.g. rotate all objects 10 degrees) using affine ...
0
votes
1answer
72 views

More vertices vs more textures

I'm currently working on a dynamic 'door' creator, and I'm trying to decide which is more efficient. Not much experience with 3D render speeds, so I'm asking before I choose which direction to go ...
2
votes
1answer
59 views

Colision detection of disc (Maximum Material Condition aka “Flatness”)

I have a 3D-laser scanner which gives me a series of points of a real-world object. The points are related by a common origin. I know I can derive the equation of a plane from 3 points and that the ...
3
votes
3answers
116 views

2 component unit vector

Is it possible to store a 3d unit length vector with only 2 components, for example as coordinates on a unit sphere? It seems possible but I have never seen anyone do this. Would this be at all ...
1
vote
2answers
96 views

Unity plane that is normal to Z axis

I want to create a plane that will be normal to the Z axis, but I am having difficulty visualizing what rotation it needs to have. I want to have a top-down view upon the plane such that I can use ...
0
votes
2answers
68 views

Vertical Collision Detection, Falling Through Ground

After much work trying to learn collision system theory and apply it, I've got my collision system working for the most part. The player can collide horizontally with no issue, sliding against walls, ...
1
vote
0answers
13 views

Best practice for saving content-dependent metadata? [closed]

What is the best practice (compliant with the 3D pipeline) for saving content-dependent metadata, such as barycentre? I don't want to render the metadata, but I want to inform the users about it. I ...
0
votes
0answers
38 views

Multiple Body Code?

I've been working on one game, 3D RPG with Ogre graphic engine and I wondered if there is a code for multiple bodies? Currently there is only one body model and if I want to add a new one, the ...
0
votes
0answers
23 views

Wall Collision on a model

I am building a model of a house in XNA and made a collision system so that when the player goes into the wall they stop. Also I made it so if the player is pressing the key 'up' and collides into the ...
0
votes
1answer
54 views

Is the rendering of distorted point clouds more complex?

I have two point clouds of n points: A dense ball-shape point cloud with many points inside A spherical point cloud with points on its surface. Is there (really) any difference between rendering ...
0
votes
1answer
69 views

How to calculate “real” distance between cursor and away object?

I don't really know how to formulate the title, but the problem is the following: I'm using a scripting language called "SQF" which has been created by a company named "Bohemia Interactive" (no, I do ...
2
votes
1answer
58 views

Impact of object's statistics on the rendering

Consider two 3D objects with n points and n triangles. One of the objects has a smooth surface such as a ball or a box, and the other object is like a fuzzy onion-layered object with large ...
4
votes
1answer
110 views

Utility of submesh class in a 3d game engine?

I've read somewhere that we use sub mesh for being able to give different materials to one mesh. But why not simply do this with scenegraph ? I mean you have a car mesh, and instead of using ...
1
vote
1answer
50 views

Problems with texture orientation in space

I am currently drawing texture in 3D space and have some problems with it's orientation. I'd like me textures always to be oriented with front face to user. My desirable result looks like ...
3
votes
3answers
198 views

How can I create straight, glowing lines?

What techniques are used in this style? What steps would be required to recreate it? (Screenshot of this app: https://play.google.com/store/apps/details?id=com.dkeesto.holographlw)
1
vote
1answer
60 views

Align tetrahedrons

I'm currently generating tetrahedron meshes in Unity When a player clicks the side of a mesh, a new one spawns aligned with it, like this. I'm not sure how nor can I find any information on ...
1
vote
0answers
31 views

XNA HLSL UV Mapping

I was testing my hlsl lighting shader, I've copied it from a tutorial and it works perfectly, but all the meshes in the model needs to have texture coordinate, I guess this is because this part: ...
0
votes
1answer
103 views

How do I find the angle between two 3D angles represented in this form?

I have two 3D angles, represented by [a1,a2] [a1,a2] where the a2 is < 180. My coordinates are represented as [X,Y,Z], where X,Y,Z are 64 bit ints (longs in my lang). My direction angles are ...
3
votes
1answer
369 views

What is deferred lighting?

There is plenty of information on what deferred rendering is but there is a lack when it comes to deferred lighting and the information that there is there is not clear. My question is simple, what ...
0
votes
0answers
16 views

Maya shatter collision without interpenetration

I'm a newbie in Maya and after days of Googling I still cannot find the answer to my question. I'm making a solid shatter in Maya, as expected, the rigidbodies interpenetrate with each other. And the ...
0
votes
1answer
109 views

Surface creation algorithm using points cloud

I am looking for a realtime algorithm to create a 2D mesh using points. But I am quite confused. It seems that Delaunay triangulation can help me create mesh using point clouds, but Meta-balls seems ...
0
votes
2answers
76 views

A*Pathfinding lose target after spawning from script?

I have been using A*Path finding to enable object tracking. It works fine if I have both objects on the scene at the same time. However, if I were to use a script to spawn the seeking object ...
0
votes
1answer
84 views

Find world matrix

I'm making my first 3D-game with XNA (MonoGame) and have come to a point where I wish to add a crosshair for the player. To do this I need the on-screen coordinates of the location where my fighter ...
0
votes
0answers
127 views

How do I structure my models for 3D animation?

I have a question about implementing a 3D animation system in my engine. The following is how I am attempting to model the render / animation systems. (Note: I am using Haskell for the pseudo-code ...
0
votes
0answers
22 views

how do I know what blocks to draw in a lightweight Minecraft style game [duplicate]

I am creating a lightweight minecraft style test game in C++ using opengl es. I have come upon a problem while planning it though - what is the most efficient way to render blocks? I know about back ...
2
votes
1answer
75 views

Work flow for modelling a city(open world)

This seems like a massive task, do each individual building/object have to be modeled individually. If so are the model imported into the world editor and places accordingly. Or are other techniques ...
1
vote
0answers
53 views

Is it possible to reverse perspective projection with simple scale and translate? [duplicate]

Basically I'm asking this question (which seems to have gone un-answered): How to do perspective projection “parallax” but without changing the scale or offset of objects? I'm using perspective ...
0
votes
2answers
111 views

Why do we say things are rotated around the z-axis in a space graph?

I've embarked on a journey of game development. I need to learn lots of 3D terminology, since I want to make 3D games. I learned that X is to the right, Y is up, and Z is towards you. Then why when a ...
0
votes
1answer
170 views

How to approach in-game character creation system alike Sims [closed]

I would like to implement an in-game character creation similar to the Wii/Mii system or The Sims using Blender and Unity. In what ways is this possible, other than (or in conjunction with) using ...
0
votes
1answer
64 views

Can I export animated models from Unity? Into what formats?

I have an animated 3D model from the Unity Asset Store that I would like a new animator to touch up (the license allows this). But they need it in a format they can use (in Maya or... something ...
2
votes
1answer
148 views

How can I achieve a bullet tracing effect similar to the one in Planetside?

I've noticed that bullet tracers in Planetside 2 don't show up close -- every time I see them, it came from a barrel a ways away. I don't believe Planetside traces every bullet either, because then ...
4
votes
3answers
216 views

How do I resolve a sphere-triangle collision in a given direction?

I am trying my hand at game physics. I understand that the basic way to pull back a sphere when it collided is to negate the penetration distance: // If collided... // `distance`: distance form ...
0
votes
0answers
34 views

JMonkey scrolling 3D text

I need to make a scrolling 3D text, which is not a gui. I have a 3d box display over which I should render a long scrolling text. I can render and move text, but how do I cut/make invisible the part ...
1
vote
2answers
77 views

Should I shade models before or after importing them into Unity?

Is it better to shade a model inside the 3D modeling software or inside Unity? As an example, if I need to use a transparent model, should it be made transparent inside the modeling application or ...
0
votes
1answer
37 views

Picking a local origin as the centroid of given three points in 3D

Given three points non-collinear P, Q, R in 3D, I need a generic method to generate x', y', z' unit vectors that behave like origin of local coordinate system. x' and y' vectos should be on the plane ...
5
votes
1answer
143 views

How to implement translation, scale, rotation gizmos for manipulating 3D object's transforms?

I am in the process of developing a basic 3D editor. It uses OpenGL for rendering a 3D world. Right now my scene is just a few boxes of different sizes and I am at the stage where I want to be able to ...
0
votes
1answer
118 views

How do you create a 2d world then view it in 3d?

I have been learning OpenGL for a while now and have a pretty good understanding so far. What I would like to know is if I create a 2D game in Orthographic Projection, is it possible to switch to a ...
0
votes
0answers
49 views

How can I find the collision response between a moving sphere and cube?

I'm implementing my own algorithm for sphere and cube collision response. So far I'm able to only test if both of them overlap. My problem is: A cube is rotating around its axes i.e x and z axes. And ...
0
votes
0answers
63 views

Closest distance from 3D point to vector line

First let's have a look at my little drawing: I have an origin point p1 defined by x, y and z co-ordinates, and a vector v given by x, y and z magnitude. I also have an arbitrary point, p2, given ...
0
votes
2answers
184 views

Simulating 3D height in 2D scene (also shadows)

I recently stumbled across this http://vimeo.com/99118680 video and was stunned by the beautiful painted art and colors. But mostly I couldn't believe how everything appeared to have three dimensions ...
1
vote
2answers
103 views

Find point in 3D plane

I have four points in a 3D space, example: (0,0,1) (1,0,1) (1,0,2) (0,0,2) Then I have a 2D position on that square plane: x = 0.5 y = 0.5 I need to find out the 3D space point of that position in ...