-1
votes
1answer
89 views

Generating a grid of cubes in 3D space [closed]

I am trying to generate a grid of cubes in 3D space and It aint workin... All im doing is for looping YXZ (in that order) (nested for loops) then im doing cubes[x][y][z] = ... (new Location(x,y,z)) ...
-1
votes
0answers
50 views

LWJGL - Switching from 3D to 2D to render text with NO external librarys [closed]

I want to render 2D quads on my screen by switching to a 2D scene then switching back to 3D. I dont want to use any external librarys besides LWJGL. This is what I got so far: private static void ...
4
votes
2answers
155 views

3D models on 2D tilemap perspective when scrolling

I am creating a small top-down game, where the player traverses a 2D tilemap, with an illusion of depth provided by 3D models for things like buildings or trees. Having gotten to the point where I ...
-2
votes
1answer
90 views

3d objects in binary files

Currently I have 11 3d spheres created at runtime in my application. The application runs well as it is, but I'm anticipating some garbage collection hiccups due to camera panning. Would performance ...
2
votes
0answers
65 views

Pitch (X-axis) rotation problem [closed]

Situation: From a first person perspective (camera position) I want to be able to grab an object and have it fixed to the center center of the screen while looking up-down (pitch) and looking ...
0
votes
1answer
155 views

Changing Yaw, Pitch And Roll OpenGL

I'm using LWJGL and OpenGL 1.1 at this time and I was wondering what command is used to change the yaw, pitch and roll?
0
votes
0answers
229 views

3d game Android development libraries? [closed]

Are there any good solutions such as libraries and add on's for developing a 3D Android game in Java, neither of these are designed with 3D Gaming in mind obviously.
0
votes
0answers
84 views

Drawing Projected Vertices/Faces In Order

I recently created a 3d engine, and have gotten to what is (as I've found) the hardest part so far. I need to sort the objects and then draw them. I've looked at sorting algorithms, but my case is ...
1
vote
1answer
103 views

Keeping Track of Position OpenGL

I have a sphere in my 3D world located at the origin. I have models orbiting it and I need to keep track of each models' position (x, y, x coordinates) as well as update their bounding boxes for ...
1
vote
1answer
120 views

Terrain square loading

Games like Skyrim, Morrowind, and more are using quads or square to divide the terrain if im correct. The player is always at #5 1 | 2 | 3 4 | 5 | 6 7 | 8 | 9 So whenever you cross the border you ...
1
vote
1answer
144 views

Java game object pool management

Currently I am using arrays to handle all of my game objects in the game I am making, and I know how terrible this is for performance. My question is what is the best way to handle game objects and ...
3
votes
1answer
234 views

Best way to Draw a cube for 3D Picking on a specific face

Currently I am drawing a cube for a game that I am making and the cube draw method is below. My question is, what is the best way to draw a cube and to be able to easily find the face that the cursor ...
0
votes
0answers
76 views

java find intersection of a block with a surface in 3D space

This question is a copy of the following question on SO. I posted it here after a suggestion from guys at SO. Hi, At the moment we have a bunch of 3d blocks (think cubes) that are imported in a ...
-4
votes
1answer
333 views

Making the AI for a goblin

My scene has a main character who is a ninja and an enemy which is a goblin and one monster but the monster has no animation so we can wait with him: How can I make the goblin actually move instead ...
2
votes
2answers
228 views

Ray Picking: how can I find which copy of model to pick, if they share the same vertices, but each one is translated before being drawn?

I have a scene, in which I am drawing few different objects - each one has the same vertices and each one is translated to proper place before being drawn. While using libgdx (but I think that this ...

1 2 3
15 30 50 per page