Questions tagged [3d]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

android game using bullet and libgdx

i'm developing a android project for school and i'm currently using libgdx for rendering. It performs quite well, but it lacks a 3d physics library. So i searched and found that Bullet physics engine ...
2
votes
1answer
944 views

Inaccurate 3D model collision using XNA

I am creating a classic game in 3D that deals with asteriods and you have to shoot them and avoid being hit from them. I can generate the asteroids just fine and the ship can shoot bullets just fine. ...
5
votes
2answers
650 views

Linux OgreXML model viewer

Is there an OgreXML model viewer for Linux? I know about OgreMax but apparently that's Windows only.
1
vote
2answers
410 views

Intuitive way to handle dragging outside the Arc Ball?

So I'm writing a game (or toy, rather), which involves manipulating a 3d object with the mouse. I'm trying to get the most intuitive control that I can. I've implemented the "Arc Ball" mouse control. ...
5
votes
2answers
347 views

How are 3D images drawn?

When A computer is to draw a 3d model, does it use maths similar to vector projection? Like when a 3d model is drawn and rotated, does it use vectors/and maybe some other math to know where to draw ...
-1
votes
1answer
315 views

How to choose a 3d modeling software? [closed]

What should you be aware before making a choice?
2
votes
2answers
2k views

Simulating a 3D body with a skeleton in iOS

I would like to make an iOS application that simulates a 3D body with joints and bones, but I am not sure how to do that. The aim of the app is that you can move its arms around and throw it around (x ...
0
votes
1answer
788 views

throw a 2D ball facing the target to simulate a 3D like effect

How would you update the state of a 2D object that is thrown forward(with an arc) facing a target to simulate a 3D(depth) like effect? ...
2
votes
2answers
2k views

How to interpolate a height-map with normals

My Task I want to interpolate a heightmap by using the normal of each nearby point of the heightmap which is calculated before. When having 4 Points before i gonna have 9 points after it. ( See this ...
0
votes
2answers
3k views

How to move a 3d object in 3d coordinate space

How can I move a 3d object in a 3d coordinate space? I have a coordinate output from a text file like this: ...
0
votes
3answers
477 views

Should there be a limit to how many in game models there is for a 3d MMORPG?

I was considering building a character creator/customizer program that would enable a player to create their own 3d model based off of a series of preset body parts. i.e. A player could choose to add ...
3
votes
1answer
3k views

Can a 4x4 matrix describe a camera's perspective?

I'm working with a closed-source 3D engine, and it only allows you to set the view projection via a 4x4 matrix. Can this matrix describe the camera's translation, rotation & perspective? I turned ...
14
votes
2answers
2k views

Resources of realistic water simulation?

I want to study water simulation, with a a demo with source code which using physically-based methods(Eulerian approaches or Lagrangian approaches). How can I get some examples?
2
votes
2answers
1k views

How to implement different weapons in player's hands?

What's the general approach to support variety of weapons in player's hands? I currently have a 3d model that has empty hands. Should I have separate weapon models that I will just create and render ...
3
votes
3answers
7k views

How to convert screen space into 3D world space?

I am trying to make a 3D model to look at the mouse position. Currently I have this code: ...
2
votes
1answer
939 views

COLLADA, loading, the modelling/animation process?

So, we're making a game in C++ using SDL - a TDS. It was originally intended to be 2D, but our lead programmer wanted to redo the engine and make it 3D. And, now, we really don't know how to go about ...
5
votes
2answers
788 views

How to draw efficiently large number of objects with alpha blending?

In a 3D game i have large no. of trees with alpha value. What is the efficient way to draw all? What i tried is Taking every tree as a object and draw according to its z value and using billboarding. ...
0
votes
1answer
133 views

Support of multiple 3d formats in engine

What is the best practice to add support of loading models from multiple file formats (.obj, .3ds ...)? What class hierarchy should I use (now I have Mesh class( containing vertex, data ) and ...
2
votes
1answer
468 views

Special Effects in a 3d game

I am creating a 3d game ( a car racing game) using opengl ES. i know the rendering concept and also using a physics engine for all the physics stuff. All modeling is done using 3d modeling softwares. ...
6
votes
1answer
469 views

Running geometry shader only once

(Unfortunately couldn't find the answer myself) Does a neat way to cache the geometry shader results in Direct3D10 or OpenGL ...
17
votes
3answers
8k views

How would I implement an endless road the player runs down?

I want to create the illusion that a man is running down a long road i.e. this pic http://camlinecambridgelimited.web.officelive.com/images/road%20graphic1.jpg If you have played Temple Run on the ...
0
votes
2answers
530 views

Languages for creating 3d / 2.5d enviroments [closed]

I want to pick up a language that will allow me to create 2d/3d game environments. I come from web development using PHP, JS, XML and ideally I want to be able to integrate with those languages. I ...
4
votes
2answers
9k views

How can I check for Shader Model 3 support?

Currently I am working on a 3D visualization app. A requirement of my app is that host's graphics card supports Shader Model 3. How can I check for Shader Model 3 support? I know that these versions ...
2
votes
2answers
1k views

Why is my quaternion camera rotating around strange axes?

I can't get it to work for the life of me. Its rotating the camera in the global coordinate system, or some other random coordinate system, not the camera local coordinate system. WASDEC work ...
5
votes
1answer
1k views

Creating a Model out of Math primitives

Here is a litte sample that I drew in Blender to visualize what I am planing to create: Cone with spheres sample I already have the code to generate the cone and the spheres as mentioned in my ...
-2
votes
1answer
2k views

Simple example of 3D world in OpenGl

I'm writing a simulation program and now I'd like to visualize the results in 3D. All I need is N tetrahedrons moving inside rectangular cuboid. I have already calculated coordinates of tetrahedrons ...
9
votes
2answers
5k views

How to resolve penetration of two colliding bodies

I've implemented simple 3D game physics engine. I already have decent collision detection in place, now I'm trying to figure out the collision response part. I'm using impulse based method to ...
5
votes
1answer
1k views

Cross-Sections of 3D Rendered Objects

I am currently trying to look into techniques that allow the calculation of arbitrary cross-sections of a 3D object or rendered volume. However, I have been unable to find much on the topic. I know of ...
7
votes
1answer
592 views

Display Lists in OpenGL

I heard that there was a faster method of displaying vertices, rather than recreating the GL_TRIANGLES, each time the scene is drawn. I thought I read somewhere that this method was obselete. Why ...
3
votes
2answers
541 views

Rotating a planet around a ships axis

I have a planet rotating around its own axis (like regular planets, and Pluto) and a spaceship that can fly around in space. The idea is to lock the player (ship) in a deadzone "above" the planet and ...
2
votes
1answer
2k views

Ball bouncing and throwing, how to?

I was given a task to make a 3D game for Android, but since I never programmed games and opengl until now I'm totally lost on how and where to start. Right now I'm using libgdx framework to ease my ...
5
votes
1answer
2k views

How to fix odd artifacts at the edges of textures in DirectX 11?

In my DirectX 11 project, when I have textures they have odd artifacts at the edges. I've seen it before and searched online, but I can't find any DirectX examples that I can get to work. You can ...
5
votes
4answers
5k views

How to draw only visible models of the game?

Suppose I have an array of models, each having it’s own “position” in the world space (scale*translation matrix). And I have an orthogonal camera. How can I test if model is “visible”, i.e. is in the ...
0
votes
2answers
753 views

Moving along a flat plane with accordance to camera view

I'm making a 3D game, and I'm stuck on a little experiment. I currently have a flat plane with a free camera running around, and a sphere (really, a light approximated as a sphere) that rests above ...
3
votes
1answer
2k views

Fitting a cap for a hollow object in blender

I have a thin-walled hollow object that I made by extruding a closed path that formed an outline. So the objecft is like a hollow pipe with a 1mm-thick wall (but the cross-section isn't a simple ...
5
votes
2answers
1k views

What is road map for Windows 3D game development in C#

I used WPF 3D to make a demo program a while ago. I'm now want to give some other things a shot but find working in WPF 3D ... confining. I have looked at Managed Direct3D but read that it's dead. I ...
3
votes
1answer
2k views

How do you triangulate a 3D point from a pair of stereo images?

I'm working with a stereo pair of photos, and trying to obtain a set of 3D points from matching points on these 2 images. How exactly is the point triangulated? Do you throw a ray from the camera ...
-1
votes
1answer
4k views

How to create a map by coding in OpenGL

I have a very good knowledge about Java, C++, Qt, C# etc... and I wanted to start making a game... most the engine that the game per se since I don't like the "design" part of making a game.. I have ...
2
votes
1answer
3k views

Graphics Pipeline, how exactly it works and how graphics card interprets it?

I've looked at this Wikipedia's link, http://en.wikipedia.org/wiki/Graphics_pipeline, but the article lacks in-depth explanation. The only thing, I suppose, I understand and can expand upon, is, ...
1
vote
1answer
6k views

How to go orthographic instead of perspective view in XNA with CreateOrthographicOffCenter?

Using these view and projection values: ...
1
vote
2answers
5k views

XNA: draw a sprite in 3d, is that possible?

since now I always used sprited to draw in 2D: spriteBatch.Draw(myTexture, rectangle, color); (I suppose the texture is binded internally to 2 triangles and then ...
3
votes
3answers
599 views

3d platformer with 2d point of view

I made my first 2d platformer game using java + swing. Now I want to achieve the same gameplay adding 1 dimension. I think this will require opengl knowledge. I know the basics but i don't ...
1
vote
1answer
2k views

How to install java 3d in ubuntu

I'd recently asked a question for getting started in game development from where I was suggested for the book "Killer Game Programming-Java". On the page there is a java 3d program which needs to ...
1
vote
1answer
154 views

3D Location Handling

I am thinking about making a simulator type game that will involve having lots of small objects in a 3D space. What is the typical solution for handling these objects? The first thing that comes to ...
4
votes
1answer
724 views

3D models overlapping each other

I have a problem at the moment when I draw some models to teach me more about 3D game programming. The models at the moment overlaps each other from some angles witch makes sense since the game at the ...
2
votes
2answers
387 views

View Frustum Alternative

I am working on a simulation project that requires me to have entities walking around in a 3D world. I have all that working, matrix transformations, etc. I'm at the point where I need what is ...
2
votes
1answer
315 views

Translating an object along its heading

Solved! I was not applying the transformations in the proper order. I am working on a simulation that requires me to have several objects moving around in 3D space (text output of their current ...
2
votes
1answer
652 views

Smooth Camera Rotation around 90 degrees

I'm developing a third person 3D platformer in XNA. My problem is when I try to rotate the camera around the player. I would like to rotate (and animate) the camera 90 degrees around the player. So ...
4
votes
2answers
2k views

What should I do to get my Blender models into my iOS game?

I am working on a 3D OpenGL|ES game for iPad. All the models are created in Blender. How should I go about getting my models into my game? I have the following requirements of my models: One ...
9
votes
1answer
26k views

How to calculate a 3x3 rotation matrix from 2 direction vectors?

I've got 2 direction vectors, for the X axis and the Y axis of the object. How do I calculate the rotation matrix of the object using these?

1 29 30 31 32 33 35