Tagged Questions
1
vote
1answer
97 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
95 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
119 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
48 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
227 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
160 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
vote
0answers
85 views
OGL lighting issues
All that seems to be working is ambient light. My room is just dark with no lights in it. I'm not sure if it's relevant, but I'm using LWJGL. Here's my code:
glEnable(GL_LIGHT0);
...
0
votes
1answer
89 views
How do I import Motionbuilder animation into my game?
I have an animation sequence for a 3D model built in Autodesk Motionbuilder. How would import the data for the sequence into my java game for my model? Is there any tutorial on how to accomplish this? ...
2
votes
2answers
138 views
Get all triangles that are < N dist from you?
Does anyone know of a way I could add a radius to this code for p? Like basically saying "this is true if the triangle is < N dist from the point"
public boolean isPointInTriangle( Vector3f p, ...
0
votes
0answers
116 views
way to do if(x > x2) x = x2 with rotation?
Alright, so I got this walking code, and some collision detection, now the collision detection returns a Vector3f of the closest point on the triangle that the projected position is at (pos + move), ...
0
votes
1answer
110 views
Better way to go up/down slope based on yaw?
Alright, so I got a bit of movement code and I'm thinking I'm going to need to manually input when to go up/down a slope. All I got to work with is the slope's normal, and vector, and My current and ...
0
votes
2answers
147 views
Matrix loading problems with jbullet and lwjgl
The following code does not load the matrix correctly from jbullet.
//box is a RigidBody
Transform trans = new Transform();
trans = box.getMotionState().getWorldTransform(trans);
float[] matrix = new ...
2
votes
2answers
252 views
AI: Updating AI use a lot of CPU
Let's say I got 100 Orcs in my 3D world. They all have the goal to kill each other.
That means For 1 Orc I have to check collision with the 99 others. That will give me the number 99^2 which is about ...
-5
votes
2answers
123 views
Advice on OpenGL 2.1 [closed]
I'm looking to finally get into OpenGL to bring some game ideas of mine to life! As I want to aim for lower class systems I'm probably looking at OpenGL 2.0/2.1 using JOGL (as I know Java the best).
...
0
votes
2answers
392 views
3D: First Person Movement
I've searched and searched for a solution today but haven't found one.
I have a Camera with Vector3 and also the camera has an angle.
If I use this:
hero.position.x += speedX;
hero.position.z += ...
1
vote
0answers
72 views
Ardor3D creating items such as guns…?
I am using Ardor3D as a game engine, but I can't seem to find anything anywhere about creating items that the player holds. My game is in first person. I want to make a gun that is always visible on ...
1
vote
0answers
311 views
A simple 3D code for java eclipse? [closed]
any codes i just want 3D codes so i can make a first person shoter or simething like that or a website that can teach me things like that.
3
votes
3answers
300 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
699 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
137 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 ...
-3
votes
1answer
228 views
programming light sources in java
I was making a game and I wanted to program light sources but I don't know how to. every where I search it comes up with lightweight java. Can any one offer any help. Its a birds eye view mmorpg. Can ...
2
votes
3answers
452 views
How do I calculate the exit vectors of colliding projectiles?
I'm trying to create projectiles which bounce/ricochet off one another when they collide in mid-air.
All projectiles are spherical and have identical size, mass, and speed. Each has two vectors: one ...
-6
votes
1answer
3k views
Can you make a 3d game in eclipse java? [closed]
Hello can you make a 3d game like minecraft using java?
2
votes
2answers
1k views
Java 2D Game looks like 3D
i have fair experience with java game programming,
i already made a simple mario game (side-Scrolling)
i'm wondering how can i make a "Java" Game like that
...
2
votes
1answer
603 views
Converting 2D Physics to 3D
I'm new to game physics and I am trying to adapt a simple 2D ball simulation for a 3D simulation with the Java3D library. I have this problem:
Two things:
1) I noted down the values generated by the ...
3
votes
2answers
780 views
Need Ideas for Game [closed]
I've been through a year of programming and have the tools to create a cool, simple 3d game using Java.
The biggest problem I have is ideas. When you have no idea how programming works, you want to ...
12
votes
4answers
3k views
How to load 3D models into Java?
Using LWJGL what is the easiest way to load a 3D model to be drawn on screen?
I know LWJGL doesn't have built in loading support so I am looking for a small library that would help to load ...
5
votes
1answer
718 views
Method of terrain in a 3d RPG
I am working on a RPG using the JMonkey engine. While I was conceptualizing the map, I realized I would have a problem with the terrain.
My problem is this: I want to have a click to move interface, ...
2
votes
2answers
817 views
Can one draw a cube using different method/drawing mode?
I've just started learning gamedev (in particular android EGL based) and have ran over a code from Pro Android Games 2 that looks as follows:
/* * Copyright (C) 2007 Google Inc.
* * Licensed ...
6
votes
3answers
2k views
How much is java used in 2d/3d indie games? (before/after Minecraft)
I wonder for my own use and curiosity, how popular is Java in indie game development ,
in 2d and 3d? Are there any good open/closed source games done in java?
3
votes
2answers
271 views
How do I get started with fog type effects in a first person game?
Hey guys, I'm currently using JME3 to learn 3d game development in java, and I have run into a situation. I would like to add fog effects to my games, but I don't even know where to start to implement ...
4
votes
3answers
1k views
Java and Eclipse setup properly, how do I install JOGL or LWJGL?
I have my Java environment installed alongside Eclipse, and I was successfully able to create and run a new project (simple System.out.println("Yay I work!");
I have the OpenGL SuperBible, and I ...
5
votes
4answers
2k views
Killer Game Programming [Java 3D] outdated?
I'm thinking of picking up the book Killer Game Programming by Andrew Davidson, but its pretty old now. I know Java, and I've been messing with jMonkeyEngine for a few days now, but I'm curious to see ...
2
votes
3answers
751 views
What's the best open source physics engine to use with JOGL?
I have a past with jbullet but the existing jogl compatible sources and demos seems uncompleted. I have managed to implement it to an extent but still looking for a better documented engine with more ...
4
votes
1answer
111 views
Where can I obtain the latest stable aggregated builds of JOGL?
I have checked many different sites including jogamp but couldn't manage to find any zipped,rared or jared collection of builds and javadocs.
3
votes
1answer
110 views
Need some advice on a java api to use for a 'presentation display board' - based on game 2d/3d tech
As part of the project i am working on I am looking to produce some software that works on a LCD display (think call center info boards) and displays various graphs (the bars grow etc in realtime, so ...