Questions tagged [jmonkeyengine]

A 3D game engine written in and for Java. Many features including collisions, particle systems, shaders, terrain system, renderer abstraction.

jMonkeyEngine (jME) is a game engine made especially for modern 3D development. The entire project is based on Java for high accessibility. Advanced graphics are supported through OpenGL 2 via LWJGL.

The technology is considered a low-level game development tool. As a collection of libraries, jMonkeyEngine hardly imposes any limitations on programmers, while increased user-friendliness and optional frameworks are applicable in use with the jMonkeyPlatform.

jME is a community-centric open source project released under the new BSD license. It is used by several commercial game studios and educational institutions.

Features

jMonkeyEngine is written 100% in Java, which sets it apart from the majority of other game engines. This makes for a unique target user group of Java game developers. The code requires minimal adaptations for cross-compatibility and can sit on top of any OpenGL 2-ready device running the Java Virtual Machine. The engine is built with a shader based architecture to comply with modern graphics standards.

The development philosophy behind the jME3 core is to bring all game development essentials straight out of the box, while every included library can just as well be replaced by another, creating a neat modular structure

261 questions
0
votes
0 answers

How to move around 3D object in 3D scene

I use the jme3 game engine and I have this update code for a space scenario. public void simpleUpdate(float tpf) { playtime = System.currentTimeMillis() - starttime; int speed = 25 * 80000; Vector3f camDir =…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
0
votes
1 answer

What can we use for rapid display and update of large numbers of simple objects?

We think there are potentially a number of technologies that might work for us - Java3D, Google Sketchup, JavaFX or gaming framework, and probably many we're not familiar with. We're getting ready to build an app that will need to be able to display…
Don Branson
  • 13,631
  • 10
  • 59
  • 101
0
votes
1 answer

Collision detection fails after updating vertex buffer

Using jMonkeyEngine, I am updating specific vertices of a mesh by modifying the vertexbuffer. That all works fine. However, I've noticed that collision detection no longer works on the moved bit of 'mesh' (mesh in quotes b/c although I am using…
eric_the_animal
  • 432
  • 9
  • 19
0
votes
1 answer

JmonkeyEngine gradlew build doesn't work

I am beginner in JMonkeyEngine. I cloned the repository JMonkeyEngine SDK based on Netbeans, then I ran ./ gradlew build in the terminal and returned this error: FAILURE: Build failed with an exception. * Where: Build file…
jjoselon
  • 2,641
  • 4
  • 23
  • 37
0
votes
1 answer

Can a .jme model be added to a GLCanvas(JOGL)?

I used jme to convert a Collada(.dae) model to .jme in order to to use it in an application. I get the model loaded but now I would like to use it in a JOGL application using GLCanvas. I have looked around to find out if it can be done to with no…
Hallinan13
  • 25
  • 1
  • 9
0
votes
1 answer

jmonkey shows blackscreen with blender models

So I build a model of a tank in blender which I implemented later on in jmonkey with a spatial. But when I gave the model texture, materials and morde detail, jmonkey responds with an error "NullPointerExeption" and closes the test application which…
Timf2000
  • 29
  • 4
0
votes
2 answers

How to find the intersection of two lines in a 3D space using jmonkeyengine3 (or possibly another library)?

At first I tried something like this: Ray ray1 = new Ray(); Vector3f originRay1 = new Vector3f(0, 0, 1); ray1.setOrigin(originRay1); Vector3f directionRay1 = new Vector3f(0, 0, -1); ray1.setDirection(directionRay1 ); Ray ray2 = new…
DPM
  • 1,960
  • 3
  • 26
  • 49
0
votes
0 answers

Is there are a way to add Multi Agent layer into a game development ?

I am hoping to build a RTS game for my final year project. Is there are a way to add Multi Agent layer into a game development ? I am hoping to use unity 3d or JMoneky
cs3115
  • 53
  • 1
  • 3
0
votes
0 answers

Java - Jmonkeyengine

when I copy code from this tutorial https://jmonkeyengine.github.io/wiki/jme3/beginner/hello_animation.html, everythink works correctly. But when I change the model from example to my, which I made in Blender, it writes error…
0
votes
1 answer

Putting JMEcanvas into JPanel SWING

I need to put a JME canvas into my app JPanel. In the class with JME I init this: public JmeCanvasContext ctx; public Dimension dim = new Dimension(800, 600); private void init() { AppSettings settings = new AppSettings(true); …
Transy
  • 59
  • 1
  • 1
  • 10
0
votes
1 answer

Google Tango Update Listener onXyzIjAvailable Callback never gets called

first: there are two topics in here which are pretty similar, but one ended with the device being faulty, others are on the C API... that's why a open a new question. I am using the Google Tango SDK with jMonkeyEngine for a scientific Augmented…
Gem
  • 53
  • 5
0
votes
1 answer

how can i project a camera onto a cube as a Texture in jMonkeyEngine 3?

how can i project a camera onto a cube as a Texture in JMonkeyEngine3? would you mind helping me? I try to do it by this piece of code but it dosent work: private void addCamera() { Camera c = new Camera(100, 100); c.setViewPort(0, 1, 0,…
RayanFar
  • 539
  • 11
  • 28
0
votes
1 answer

Get stabilized pitch and roll values

I want to get best pitch and roll values. I'm already using that code to get azimut value. Pitch and roll values seem not be good. @Override public void onSensorChanged(SensorEvent event) { switch (event.sensor.getType()) { …
0
votes
1 answer

how to rotate a spatial with physics control in JmonkeyEngine3?

I loaded a 3D model from asset Manager and add CharacterControl as a control. every thing was working correctly but when I tried to rotate the model it did`nt work. private CharacterControl player; private Spatial model; public static final…
RayanFar
  • 539
  • 11
  • 28
0
votes
1 answer

jMonkeyEngine: Take screenshots without displaying game?

I want to take screenshots of rendered scenes without displaying the game itself. The procedure I want to follow is: createScene(); for(i = 0; i < num_screenshots; i++) { moveCameraRandomly(); saveScreenshot(); } Basically, I want to…
Booley
  • 819
  • 1
  • 9
  • 25