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

2
votes
4answers
964 views

I'm a single developer making a game made of blocks. Can I make 3d characters made of blocks without looking like Minecraft?

I would like to differentiate the look as much as I can but yet it has to be within the limits of what is reasonable for a single programmer can do. I have alot of ideas that would make the game ...
0
votes
1answer
68 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 ...
1
vote
1answer
86 views

Mapping a 3D texture to a standard hollow-hull 3D model

I have 3D models which are typical hollow hulls. If such a model also had a 3D volumetric/voxel texture map then given a point P inside such a model, I'd like to be able to find its uvw coordinates ...
0
votes
0answers
23 views

Cannot change material color in unity

I'm having an issue where if I set the material color at runtime like so: gameObject.renderer.material.color = Color.black; The inspector shows me the new color but the gameview still shows me the ...
13
votes
5answers
2k views

Generated 3d tree meshes

I did not find a question on these lines yet, correct me if I'm wrong. Trees (and fauna in general) are common in games. Due to their nature, they are a good candidate for procedural generation. ...
0
votes
0answers
88 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 ...
1
vote
1answer
270 views

2D map/plane with nodes overlayed that supports panning, scaling and clicking on nodes

I'm trying my hand at Android development and seem to be running into an invisible ceiling in trying to get what I want accomplished. Basically I'm trying to create an app that renders a 2D surface ...
0
votes
0answers
18 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 ...
0
votes
1answer
312 views

Need help with a complex 3d scene (using Ogre and bullet)

In my setup there is a box with a hole on one side, and a freely movable "stick" (or bar, tube). This stick can be inserted/moved through the hole into the box. This hole is exactly as wide as the ...
10
votes
2answers
8k views

OpenGL ES 2.0 Point Sprites Size

I am trying to draw point sprites in OpenGL ES 2.0, but all my points end up with a size of 1 pixel...even when I set gl_PointSize to a high value in my vertex shader. How can I make my point sprites ...
-1
votes
0answers
28 views

How to get 3D objects using Visual C++ | OpenGL | SDL | Blender [closed]

How to get 3D objects using Visual C++ | OpenGL | SDL | Blender Hi, I have been searching for a tutorial(s) witch corresponds or my specific desire but I had no luck, any suggestions? Thanks.
1
vote
1answer
177 views

LWJGL SlickUtil Texture Binding

I am making a 3D game using LWJGL and I have a texture class with static variables so that I only need to load textures once, even if I need to use them more than once. I am using Slick Util for this. ...
1
vote
1answer
64 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
52 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
96 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 ...
2
votes
1answer
3k views

Should I use XNA or Unity to build a video game? [closed]

My friend and I are planning to make a video game (like Slender) where the character is stuck in a building, when lightning strikes, and the lights go out and your objective is to find the back-up ...
4
votes
3answers
182 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
2answers
74 views

Mouse Look Controls [closed]

Right now I am not happy with my mouse look controls for a 3d game I am making. I have it set up so that when the mouse is moved the displacement is calculated and applied to the camera etc then the ...
0
votes
1answer
82 views

In-game character creation

This is my first post here on the exchange. I have found many great and useful tips here, but there is one thing I have not been able to find a complete answer to, and it is nagging me... I would ...
0
votes
0answers
17 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 an animator to touch up. But they need it in a format they can use (Maya or... something else). All I have been able to find so ...
2
votes
0answers
92 views

How can I achieve a similar affect to Planetside's bullet tracing?

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 ...
0
votes
1answer
35 views

Android - 3d view with object picking, dynamid textures and camera changing [closed]

I need in an application to add a 3D viewport inside an activity, together with some other buttons. I need the viewport to allow object picking, so user can click on objects, dynamically changing ...
0
votes
0answers
21 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 ...
4
votes
2answers
200 views

What is the best methodology in mounting customizables to a 3d avatar in Unity?

Someone I know suggested just making every customizable on the model then just hide the non active ones. But that doesn't sound very efficient for me. So my question is what is the best method to use ...
0
votes
1answer
46 views

What is the best practice in importing models to Unity

Is it better to shade a model inside the 3D modelling software or inside unity? as an example if I need to use a transparent model should it be made transparent inside the modelling application or ...
0
votes
1answer
34 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 ...
1
vote
0answers
56 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 ...
10
votes
6answers
21k views

Visual Studio 2012 and Game Development [closed]

Alright, I think it's a simple question, but I got difficulties to find some answers around. I already read that XNA wouldn't be in Visual Studio 2012. I recently learned to use XNA, but since I ...
0
votes
1answer
105 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
36 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
59 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 ...
2
votes
2answers
2k views

XNA: Rotating Bones

XNA 4.0 I am trying to learn how to rotate bones on a very simple tank model I made in Cinema 4D. It is rigged by 3 bones, Root -> Main -> Turret -> Barrel I have binded all of the objects to the ...
0
votes
3answers
348 views

SharpDX/D3D: How to implement and draw fonts/text

I am playing with SharpDX (Direct3D for .NET) without using "Toolkit", already finished with basic rendering 3D models. But now i am wondering how to program/create fonts for game (2D), or how to ...
1
vote
2answers
93 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 ...
0
votes
2answers
164 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
1answer
96 views

Resolution independent game world in 3D

I'm developing a game similar to Don't Starve - 2D billboards in a 3D world. Now I have encountered a problem with resolutions. I want the player to be able to change resolution, but I don't want to ...
1
vote
1answer
128 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 ...
2
votes
1answer
168 views

Procedural terrain generation

Currently I have a procedurally generated planet using multiple octaves of perlin noise. The thing is, that I don't generate heightmap, but rather get the values of perlin function and apply them ...
1
vote
0answers
39 views

XNA Library DrawPrimitives throwing primitiveCount error

I downloaded the project from here http://silverlight.bayprince.com/tutorials.php?tutorial=13 and tried adding a new OBJ file with a few thousand vertices listed. The classic teapot works but when I ...
1
vote
0answers
59 views

How would I warp a mesh with code?

I recently asked a question about putting a camera at the head of a 3D human model here and it worked out rather well and whatnot, but there is still a problem that bothers me: How would I ...
1
vote
2answers
109 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: ...
1
vote
0answers
22 views

LibGDX mesh silhouettes

How could I find out the silhouette edges of a mesh in libgdx? More specifically, how could I produce shadow volume geometry using the Mesh class of libgdx?
5
votes
1answer
128 views

Self colliding cloth physics

I've previously simulated cloth using Verlet integration but couldn't successfully get the cloth to collide with itself in an efficient way. The reason being is because I used a brute force algorithm ...
2
votes
2answers
94 views

Checking if a vector is contained inside a viewing frustum

I have a three dimensional pyramid given by four vectors a, b, c, d and want to test if a given vector x is inside that region or not. Here is an image: A related question can be found here: 2D ...
1
vote
2answers
73 views

How to determine the visibility of a single vertex, given a viewpoint?

I have a 3D triangle mesh, and I want to know, given a viewpoint (defined by a model, view and projection matrix), if a certain vertex is visible or not. My approach was to render the mesh using ...
1
vote
1answer
116 views

Should all primitives be GL_TRIANGLES in order to create large, unified batches?

Optimizing modern OpenGL relies on aggressive batching, which is done by calls like glMultiDrawElementsIndirect. Although glMultiDrawElementsIndirect can render a large number of different meshes, it ...
0
votes
0answers
18 views

Shader: vertex manipulation basics [duplicate]

I know this is a very noob question, but please bear with me I'm very new to graphics programming (I come from an iOS and web app development background). When you modify the position of a vertex ...
0
votes
1answer
61 views

Volumetric Lighting projects models

I've been trying to implement Volumetric Lighting using the code from this tutorial but I've run into some issues, even after basically copypasting the shader code. I'll just show you what's going ...
0
votes
0answers
19 views

Manual occlusion culling with glDrawElements [duplicate]

How should I go about doing occlusion culling with glDrawElements? I am dealing with voxel-like terrain. I want to avoid drawing the faces that are facing another block. I just don't know how to ...
0
votes
1answer
37 views

Should I avoid rescaling models when rendering?

I am quite new to game development and currently developing a simple 3D game with MonoGame and Blender. The game is basically a 3D version of Pong. At first I developed the models at a constant size ...