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
1
vote
1 answer

JMonkey, model not visible

Why isn't my model visible in the scene? I'm working through the JMonkey tutorial and trying to use a .j3o model I loaded. When I double click the model in the file manager, it opens in an editor window and is visible when I turn on the light. When…
Gene
  • 91
  • 1
  • 2
  • 9
1
vote
0 answers

How to simulate JME3 bullet physics as fast as possible

I am working on a car simulation using bullet physics and I want to be able to speed up the simulation - even to be able to run the physics simulation as fast as possible. I tried to call pSpace.update(1/60, 1) (which calls directly…
1
vote
0 answers

How to place an object so that it does not run into walls of my scene in jMonkey

In my game, the user has to click at a point to place an object (mesh). I can cast a ray and find the horizontal point where the object can be translated and then attached to rootNode to display it. However the problem is that if the user click too…
1
vote
1 answer

What is the difference between a JMonkeyEngine rotation and quaternion?

What is the difference between rotating a geometry in JMonkeyEngine using the rotate method: float r = FastMath.DEG_TO_RAD * 45f; // convert degrees to radians geom.rotate(r, 0.0f, 0.0f); // rotate the geometry around the x-axis by 45 degrees and…
coffeeNcode
  • 327
  • 1
  • 4
  • 16
1
vote
1 answer

Endless terrain in jMonkey using TerrainGrid

I have started to learn game development using jMonkey engine. I am able to create single tile of terrain using TerrainQuad but as the next step i m stuck at making it infinite. I have gone through the wiki and want to use the TerrainGrid class but…
nightcrawler23
  • 2,056
  • 1
  • 14
  • 22
1
vote
1 answer

Jmonkey engine 3.0 Drawing points

How can I draw a 3D-point (or point sprite) in 3D space? There is no documentation for drawing a point in JMonkey Engine site or anywhere else. Just a single point. Then updating the coordinates. No color, just a dot in 3D space.
huseyin tugrul buyukisik
  • 11,469
  • 4
  • 45
  • 97
1
vote
0 answers

Acknowledged receipt of canvas death jme3

I am using JmonkeyEngine SDk 3 to develop a software simulation program. To cut the story short, I created a canvas in an internal frame inside a swing Jframe object. when I close the internal frame I remove all its components, then I get that…
1
vote
1 answer

Mixing with Akka Actor trait clashes with base class

I am using the Akka framework together with jMonkeyEngine (jME3) for my little scala/java game. By adapting some Akka dispatcher magic I managed to run a dedicated actor in the same thread as jME3's main loop thread. For the actor to have access to…
gsimard
  • 643
  • 8
  • 24
1
vote
1 answer

How to detect the intersections between 2 nodes in jMonkey

I'm working on a java project; "car game" and I want to detect collisions between the car and any object ("Node"); such as cones on the road. Similar to this tutorial; http://jmonkeyengine.org/wiki/doku.php/jme3:beginner:hello_picking The tutorial…
1
vote
1 answer

Not able to visible image using assetManager.registerLocator (Jmonkey)

i am trying to run examples from this tutorial. I downloaded town.zip and placed in my folder .. .. When try to run .. its showing blank screen. Then i added this following line DirectionalLight sun = new DirectionalLight(); …
JohnRaja
  • 2,377
  • 6
  • 26
  • 47
1
vote
1 answer

jmonkey doesn't run in my computer

Today I decided to start developing a 3D game , I googled and found JMonkey. I installed it and it successfully installed but when run, I can't create a project rather it is continuously showing this two message in message…
1
vote
1 answer

Java jMonkey bug, out.write inside if loop

I have a small jMonkey program with balls bouncing around. I want to record the 3d vectors of each ball every second. When I run my code: @Override public void simpleUpdate(float tpf) { if(getTimer().getTimeInSeconds() >= 1) { …
caleb.breckon
  • 1,336
  • 18
  • 42
1
vote
1 answer

Nifty GUI Layout

I am new to JME3 game engine but I know Android XML GUI layouts pretty good. I have a simple layout here and I cant figure out what is wrong. Here is my XML code:
Jason Crosby
  • 3,533
  • 4
  • 28
  • 49
1
vote
1 answer

Only ambient light works reliably in jME

I've just started working with jME and I've created a 3d model in blender, and exported it to .obj and imported it in my jME application. Ambient light works fine, but the direct light I'm using, only lights up few faces, but instead of lighting up…
Kristoffer Dorph
  • 1,233
  • 10
  • 18
1
vote
1 answer

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

At the moment we have a bunch of 3d blocks (think cubes) that are imported in a JMonkey 2 canvas. I need to find an intersection of these blocks with a 3D surface that is imported by the user. The problem is that I have no idea how to do this in…
Denis Rosca
  • 3,409
  • 19
  • 38