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

Camera2 callback equivalent

I got a RA application using Camera API and I want to integrate Camera2. Is an equivalent exists to get each preview frame in order to sent it to JMonkeyEngine ? Here is my code using Camera API : public void onResume() { mStopPreview = false; …
Florian Mac Langlade
  • 1,863
  • 7
  • 28
  • 57
3
votes
2 answers

Oriented Bounding Box

I am using jmonkeyengine 3 and i have been struggling for days to implement a collision detection for a moving plane/box with other spatials. Finally i read in the collision_and_intersection tutorial (jme hub) that the BoundingBox does’t rotate and…
Neos
  • 53
  • 5
3
votes
3 answers

Can I use jMonkeyEngine for Android Devices?

I am trying to make a simple 3D game for Android, and I want to use jMonkeyEngine. Can I do this? How? Can someone show me an example? Thanks!
Ralf
  • 133
  • 1
  • 2
  • 5
3
votes
1 answer

Is it possible to create a flat terrain in Java Monkey Engine?

As a beginner using the JME engine, I was wondering whether it is possible to create flat terrain? I have played with the TerrainBlock and created a somewhat bumpy terrain using MidPointHeightMap, but can't seem to get it perfectly flat. Thanks in…
AdrianM103
  • 51
  • 3
3
votes
0 answers

What are units for mouse analog listener in jME3?

The application below shows, that mouse X coordinates, returned by inputManager.getCursorPosition() are probably pixels. Simultaneously, the accumulated value from analogListener is not measured in pixels, and varies from 0 to 0.6. What are units…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
3
votes
3 answers

jMonkeyEngine: BetterCharacterControl always bouncing

I create 2 Spartials and set one as RigidBodyControl, second as BetterCharacterControl. Both are boxes of sizes = (10f, 1f, 10f) and (0.5f,0.5f,0.5f). floor = createFloor(); CollisionShape sceneShape =…
EMP
  • 31
  • 3
3
votes
1 answer

Threads in jMonkey and Nifty?

I have recently learnt that jMonkey operates on only a single thread which is its openGL render thread. However I'm not able to understand it completely. I can understand that it executes all update and initialize() calls on a single update loop but…
simar
  • 544
  • 2
  • 7
  • 15
3
votes
1 answer

jme3 - UV map misplaced on model exported from Blender

I created a simple model of a barrel (.zip) in Blender 2.69. Then I created a UV map in Blender and made a UV mapped texture out of it (its in the archive, too). Then I imported my texture in Blender, now the mapping matches: In Blender the model…
maxdev
  • 2,491
  • 1
  • 25
  • 50
3
votes
1 answer

How can I draw a straight line in the JMonkey Engine library

I'm trying to draw straight lines between 3D vertices that I specify using the JMonkey Engine 3D graphics library. JMonkey is of course optimised for importing models but I understand it can be used to create custom shapes "internally" as well. So…
Richard Tingle
  • 16,906
  • 5
  • 52
  • 77
3
votes
1 answer

Small Java exception that I can't understand

Can you help me resolve this? Exception in thread "main" com.jme3.asset.AssetNotFoundException: Interface/splash.png at com.jme3.system.JmeDesktopSystem.showSettingsDialog(JmeDesktopSystem.java:112) at…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
3
votes
1 answer

How to make my character walk properly?

I'm making a small 3D scene and the character can walk by pressing the WASD buttons but the animations that are playing are not correct and the character turns around so it looks like he is moonwalking when moving. The control code for the buttons…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
2
votes
1 answer

jMonkeyEngine camera follow

I'm testing something with jMonkeyEngine and I'm attempting to have the camera follow a box spatial. I followed official instructions here: http://jmonkeyengine.org/wiki/doku.php/jme3:advanced:making_the_camera_follow_a_character When applying, what…
Tõnis Ojandu
  • 3,486
  • 4
  • 20
  • 28
2
votes
2 answers

How to get a screen shot in jmonkey3

I am a newbie with jmonkey. I have a simple app that i built following the jmonkey tutorials. How can i grab a screenshot of what jmonkey is displaying. If i could select what of the nodes on the screen would be in the image that would be even…
Daniel
  • 2,331
  • 3
  • 26
  • 35
2
votes
2 answers

jMonkeyEngine apply Material inside Mesh?

I'm using jMonkeyEngine to develop a desktop PC game. It's still in early stages (always starting, never finishing, eh?). With no physics (just moving the camera), faces disappear when you enter the inside of a Geometry model. So my question is, how…
Snailer
  • 3,777
  • 3
  • 35
  • 46
2
votes
2 answers

"Lambda expressions are not supported in -source 7, use -source 8 to enable lambda expressions"

So I have been programming a bit with java for a while, and I started on making games, as I'm not super experienced with it I decided to make a simple 2D game. It was going pretty good until I met a problem: (can't embed pictures yet, but basically…
1 2
3
17 18