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
0 answers

Non-square TerrainQuad

I am trying to create a game in which there is a tabletop that users can manipulate: they can change the height of vertices to create hills. I am using JME3 (JMonkeyEngine) for this. I am trying to use TerrainQuad see here. Because of certain…
Munchhausen
  • 442
  • 4
  • 16
1
vote
1 answer

I want to add random vector to an array that has n elements.HoweverI want a distance between a new random Vertor and elements in the array>4f

Here is my code, apparently it doesn't correct? Is there any other way to create object in random location without overlap? Thanks for your time. public ArrayList getVector3f() { boolean lessThan = false; // create first random vector &…
Tigon
  • 13
  • 3
1
vote
0 answers

Texturing bug in Jmonkey

To my immense surprise, it seems impossible to find any other people having this problem -- I can use Jmonkey to import a mesh (in my case a gear), but it doesn't properly map the texture (which is supposed to look like wood), only texturing a few…
Liverwurst
  • 55
  • 5
1
vote
2 answers

Check if a vector is between two others

I have a "box" made out of two three-dimensional vectors. One for the front-lower-left corner and one for the back-upper-right corner. Are there any simple way to check if a third three-dimensional vector is anywhere inside this "box"? First i wrote…
EClaesson
  • 1,568
  • 2
  • 15
  • 26
1
vote
1 answer

jMonkeyEngine: flyCam and inputManager both return NULL

I've got a trouble: suddenly flyCam and inputManager inside simpleInitApp() both became equal to NULL. I don't understand what happened! They are ALWAYS NULL! public void simpleInitApp() { Box b = new Box(1, 1, 1); …
Mitrakov Artem
  • 1,355
  • 2
  • 14
  • 22
1
vote
2 answers

Suitable platform for a 2D simulator using java

I have to do my final year project and I'm planning to use a visual simulator to simulate it. So I have to create a basic simulator and the program would be run in java. But I have a problem as to what to use to create the simulator. Should I use…
rocker
  • 13
  • 4
1
vote
1 answer

Jmonkey Nifty. detect if user stops sliding

Is there a way to detect if a user stopped slyding? Maybe bij mouse input check or something. I tried mouse isButton0Release and hasFocus in the onSliderChange event to check if the user stopped sliding, but this doesn't work. What i got so…
Zeebats
  • 480
  • 7
  • 22
1
vote
1 answer

cant play movie file with JME3-JFX

I am trying to play an flv file using JME3X-JFX and i use the demo class and can play their file via the http url method. I can also download their flv and play it with the flv method. But i cant seem to play my own flv file (downloaded after using…
jsky
  • 2,225
  • 5
  • 38
  • 54
1
vote
1 answer

Nifty GUI "onClickRepeat" not working in "controlDefinition" in JME3

I'm trying to make an image button in Nifty GUI in JME3 but my interact events are not working. I'm running my app in android. The button seem to be drawing but the events are not working. Here is my control:
serge
  • 1,590
  • 2
  • 26
  • 49
1
vote
1 answer

Setting up a Native Library on JMonkey IDE

How to set a Native Library (*.dll) location of a jar file in JMonkey IDE? I'm trying to connect Leap Motion with JMonkey engine. Therefore I need to put LeapJava.jar in build path. As the native library is not set,(coz I don't know how to)…
1
vote
1 answer

Combine jMonkeyEngine and Vuforia: Geometry doesn't remain at the center of the target

I am trying to combine Vuforia SDK and jMonkeyEngine. The cube is placed on the target (ImageTarget) so far. But when I move the camera the cube moves a little bit too. I want that the cube remains at the center of the target (like the teapot in…
Aleana
  • 11
  • 1
1
vote
1 answer

jMonkeyEngine - automatically mark others radio buttons

I want to create method who get radio button and marked this when other radio button will be marked. Here is my nifty gui example menu:
1
vote
0 answers

jMonkey: How to have in game Terrain Modification

I'm working on programming a game, and the game environment is going to be near complete environmental control. Part of that is going to have a player dig/mine and modify the terrain in the Game.I was looking at a bloxel type environment, however I…
fftk4323
  • 130
  • 1
  • 12
1
vote
1 answer

How to add .obj model to JME

For some reason I am having a hard time figuring out how to add obj models to JME. I am new to JME and have not imported models before (other than the sample assets tutorial). I created a basic model in Blender and exported it as an obj. I added…
1
vote
0 answers

rotate 3D Object (Spatial) with compass

I've generated 3D overlay using jMonkey in my Android app. Everything works fine - my ninja model is walking in loop. Awsome ! Now I want to rotate camera according to direction of the phone. I thought compass is the best way BUT unfortunatly I have…
Fixus
  • 4,631
  • 10
  • 38
  • 67