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

jMonkeyEngine 3: Missing "Basic Game" Template for New Project?

I'm trying to create a new project in jme3 (on OSX) but the Basic Game template has disappeared from my menu. That is, I had it before because I definitely used the Basic Game template before, but now I can't find it anymore. It should be under File…
Booley
  • 819
  • 1
  • 9
  • 25
0
votes
1 answer

Jmonkey: Make RigidBodyControl React to Gravity

I am trying my best to make an object fall, and so far I can't even come close. Here is the code i am trying. BulletAppState bulletAppState = new BulletAppState(); cubemesh = new Box(1f,1f,1f); Geometry something = new Geometry("cube",…
user2999815
  • 101
  • 3
0
votes
1 answer

Model created in Blender, imported to JME3, not visualizable in SceneComposer

I followed these instruction to create the Blender model, the output shown below: https://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/UV_Map_Basics https://i.stack.imgur.com/piXv9.png I import the blender file, it shows up fine in the Import…
user2380153
  • 173
  • 1
  • 8
0
votes
1 answer

String/byte efficiency and memory behavior

I have a 2D map in this format: (x,y,type,index) Which is fed into jmonkeyengine renderer from a Swing app. I used: String map_array[10000][1000]; Example: map_array[100][200]="E8"; Which means in position x=100 and y=200 there is an Enemy ("E")…
user5131171
0
votes
1 answer

Java for loop not running full loop

I'm not sure if this is an issue with my for loop, or the rectangle position, but I have set a breakpoint and used a debug draw to draw the rectangles and they appear to be correct. public void onAction(String name, boolean value, float tpf) { …
0
votes
1 answer

Strange shadows on a blender model with subdivision surface

Placing a blender model in the scene with shadows applied produces the following result. The filters used are a DirectionalLightShadowFilter, SSAOFilter and BloomFilter. The model is exported using the OgreXML exporter. The strange thing is that…
cdMinix
  • 655
  • 1
  • 7
  • 29
0
votes
1 answer

JMonkey Filter Shader - get World Position of Fragment

I'm implementing Warcraft/Age of Empires-style "Fog of War" by writing a Filter class and the appropriate JME material definition with vertex and fragment shaders. I was able to figure that out very easily, I can now tint the entire screen for…
Petter Thowsen
  • 1,697
  • 1
  • 19
  • 24
0
votes
1 answer

Why will my geometry not appear? (jMonkeyEngine)

I'm just now picking up jMonkeyEngine and I've encountered an issue I can't seem to solve. In the simpleInitApp method in the main class, I can use the following code to successfully render a box: Box playerBase = new…
Bassinator
  • 1,682
  • 3
  • 23
  • 50
0
votes
1 answer

How to make continuous MotionPath?

I've build a MotionPath for my Spatial by adding waypoints. It is working fine when I do something like this path.addWayPoint(new Vector3f(0, 0, 0)); path.addWayPoint(new Vector3f(2, 0, 0)); path.addWayPoint(new Vector3f(4, 0,…
Fixus
  • 4,631
  • 10
  • 38
  • 67
0
votes
1 answer

JMonkey Endless Terrain Example: How to change the render distance

The Jmoneky Engine gives example code for endless randomly generated Terrain. My Problem is, the code has no comments or indicators to edit the View distance. I am trying to use this example code to build a game, but it looks really bad if the…
fftk4323
  • 130
  • 1
  • 12
0
votes
0 answers

smooth translation combined with compas

I'm building augmented reality app for android and I'm using jMonkey as my 3D engine. I want to do simple thing. Move object from left side of screen to right (X axis) by changing the azimuth of view (I got it from compass). I can calculate where…
Fixus
  • 4,631
  • 10
  • 38
  • 67
0
votes
1 answer

jmonkeyengine platform does not start/launch

I need help on this please.. I have installed JME sdk 3 in windows 7 professional 32 bit system I have jdk also already installed. When i try to start JME platform using the icon in start menu or the the jmonkeyplatform.exe file in program…
0
votes
1 answer

How can I resolve my build error?

I can build the project on Windows 8.1. When trying with Ubuntu I get this error message Description Resource Path Location Type The method interpolateLocal(Vector2f, Vector2f, float) is undefined for the type Vector2f …
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
0
votes
1 answer

How do you include the JMonkey test data jar on a Gradle project?

I've followed the instructions to creating a Gradle project using JMonkey but I have been unable to get any of the assets to load as stated in the tutorial: http://wiki.jmonkeyengine.org/doku.php/jme3:beginner:hello_asset My build.gradle looks like…
lordoku
  • 908
  • 8
  • 22
0
votes
1 answer

Runnable concurrency

I am playing around with JMonkeyEngine. While doing this i play JavaFX MediaPlayer. This MediaPlayer takes a Runnable to handle what's to do, when the media finished: mp.setOnEndOfMedia(new Runnable() { @Override public void run() { }} I want to…