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

JME3 Engine and nullPointerException

So this question is for those of you who are familiar with the jMonkey 3 Engine. I have this code withing my simpleUpdate() loop: @Override public void simpleUpdate(float lastTimePerFrame) { if (load) { if (frameCount == 1)…
1Poseidon3
  • 125
  • 1
  • 11
2
votes
2 answers

How to get an objects parameter with collision detection?

I started working on a game with jMonkey. I just created an object from the class "Entity" I made myself which holds an 3D Model, Physics and so on. Here is the code: package mygame.entities; import com.jme3.asset.AssetManager; import…
Dawesign
  • 643
  • 1
  • 7
  • 25
2
votes
0 answers

LWJGL Renderer Thread Error

Guys I have a trouble with jmonkeyengine. In jme3's forum I could not get any efficient help on my problem. Actually no one says what my problem is. Because I am new in lwjgl and jme3, I also do not know what happens. Simply I have created a…
Eray Tuncer
  • 707
  • 2
  • 11
  • 31
2
votes
1 answer

Swing in JmonkeyEngine (JME)

Is it possible to add Swing components in JME3 canvas? If it is possible please share the logic. I was able to achieve the other way round where I was able to integrate JME3 canvas in Swing.
sh_kh
  • 21
  • 4
2
votes
1 answer

jMonkey Quad with TriangleStrip cant change parameter

I am working with jMonkey for the first time. My intention was to create a quad made of one single triangle strip with different subdivisions. So I can say Subdivision x == 4; Subdivision y == 4; In this case there are 3 rows of triangles and 3…
LongRon
  • 73
  • 1
  • 9
2
votes
1 answer

Get pixel color from window of running app - JAVA

I am working on application in JAVA using jMonkeyEngine. If app is running, I need get a pixel color at a given coordinates. My app extends SimpleAplication. Robot does not work, the app window is smaller than the screen. I did not find something…
2
votes
2 answers

GLSL and OpenGL2 is required for the LWJGL renderer

I have a problem with my first JMonkeyEngine program. I am getting this: java.lang.UnsupportedOperationException: GLSL and OpenGL2 is required for the LWJGL renderer! at com.jme3.renderer.lwjgl.LwjglRenderer.initialize(LwjglRenderer.java:165) …
tckmn
  • 57,719
  • 27
  • 114
  • 156
2
votes
1 answer

jmonkey rotate and change forward direction?

How does one rotate a model and change the forward direction of it with the rotation? I rotate but it just rotates on the axis and the forward is still the same. This is probably a noob question but it's been kicking me buttocks.
Dr. Chocolate
  • 2,043
  • 4
  • 25
  • 45
2
votes
1 answer

How to return all points within a BoundingVolume

I'm experimenting jmonkeyengine and I've come across the need to return all points (from a predefined large set of points) that fall within a bounding volume. It's easy enough to create the volume itself but I'd like to get a map of all the…
Arjun Sol
  • 731
  • 5
  • 18
2
votes
1 answer

Jmonkey Collision Detection

I am new to Jmonkey programming and I would like to ask a question about collision interaction as my code seems to finds collisions possibly from the terrain and i do not know how to solve this out. My goal is player as a first person to be detected…
Reyko
  • 202
  • 3
  • 16
2
votes
0 answers

JME APPLET (browser can’t load library )

I created simple JME Applet but I’ve problem with natives libraries. When I run it I get error. This error disappear and all work fine when I move libraries to catalog which is showed in java console. The following example work good too:…
MagGGG
  • 19,198
  • 2
  • 29
  • 30
2
votes
1 answer

Choosing the correct engine in java

I need to make a program similar to a Lego designer (only for DNA parts instead of Lego). There are so many different options to choose from and I'm not sure whats the best one for my needs. JOGL, lwjgl, JMonkeyEngine and I'm sure there are others.…
Drau
  • 45
  • 5
2
votes
2 answers

Cube rendering: Textures displaying incorrectly

I am trying to render a wall by creating 4 cubes next to each other, the problem comes when applying the texture - JME3 does render the cube and applies the texture but i am seeing the inside of the cube. Is this some form of "View" which i can…
Aiden Strydom
  • 1,198
  • 2
  • 14
  • 43
2
votes
1 answer

Stretch jMonkey texture without anti-aliasing/blurring

In JME3, when a texture is loaded from an image, it stretches it to the size of the quad I put it on. But it also blurs it, and I don't want this (I'm making Minecraft style graphics), so how can I stop it? Also, I think it might have to do…
Jwosty
  • 3,497
  • 2
  • 22
  • 50
1
vote
2 answers

Obtaining the camera rotation in radians on the X, Y, and Z axis in OpenGL?

I'm trying to obtain the camera rotation on various axis in OpenGL (but using Java, LWJGL, and jME specifically). The camera object allows me to get the direction as a Vector3f, but this doesn't seem to work to get the componentised rotation; each…
Chris Dennett
  • 22,412
  • 8
  • 58
  • 84