1
vote
1answer
53 views

How do I draw a line using jme3.scene.shape.Line in JMonkeyEngine 3.0?

I can successfully create the object, but it can't be attached to the rootNode. What can I do to make the line appear? I'll also would like to know how to reverse the effect(making it disappear) ...
0
votes
2answers
265 views

terrain not properly rendering

I'm extending the terrain quad with resources from various tutorials and have the following code: public class WorldTerrain extends TerrainQuad { public static final String NAME = "terrain"; ...
1
vote
1answer
99 views

Get the game state using Multithreading in Java Monkey Engine 3

I’ve been trying out Java Monkey’s multi threading recently via the wiki’s tutorial. Since I just wanted to test a prototype clinet, I made a program which creates some cubes using the ‘Cubes’ library ...
3
votes
1answer
198 views

What is wrong with my smooth shading code?

I am having trouble getting smooth lighting to work in Java Monkey Engine. My terrain is voxel-based, with an iso-surface generated via Marching Cubes over the data field. Up until now, I have been ...
4
votes
1answer
248 views

How do I make a cube move by rolling?

I am learning jMonkeyEngine by making some small games with it. I have a simple rectangular cube that I want the player to be able to roll around the game world. When he presses the arrow keys, the ...
1
vote
2answers
139 views

What caused rotation in exported blender model to jMonkey? (OGRE)

First off, I am very new to jMonkeyEngine 3 and still learning. Not exactly sure what could be causing my snowman to have already been rotated before import. I created him in blender and it was facing ...
2
votes
1answer
82 views

How can I extract the Geometry from a j3o file?

I created a blender file and then converted it into the j3o file. The only way to load the 3d structure in the game is through a Spacial object: Spatial towerModel = ...
2
votes
2answers
482 views

How can I move an object towards another along a straight line

How can I move an object (like a cube) towards another object? Let's say that we have a red cube in the center of a floor, and a blue cube in another location, there aren't objects between this two, ...
0
votes
1answer
261 views

How can I draw a single line using JMonkeyEngine?

I need draw a line between two boxes using their respective positions. I've created the Line object but I don't know how to show it in the scene. Line ray = new Line(box1.getLocalTranslation(), ...
0
votes
3answers
119 views

JME3 Transparent Image Shows Geometries Behind

I'm using jME3 (JMonkeyEngine). I’m setting a geometry (a box with a bullet hole material/texture) to show transparency using material.getAdditionalRenderState().setBlendMode(BlendMode.Alpha); ...
2
votes
1answer
473 views

jMonkeyEngine Pros and Cons

I want to know some good reasons to use jMonkeyEngine for a Java 3d game development tool instead of just creating a game with LWJGL myself? I want to know a good reason I should choose this tool. ...
1
vote
2answers
255 views

Endless terrain in jMonkey using TerrainGrid fails to render

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 ...
1
vote
1answer
888 views

JMonkey - Create health bar?

How can I create a health bar in JMonkey? Is there some documentation that can help? I am working on a game, specifically “Battleship”, using the JMonkey Engine (JME3). I want to add health bars on ...
3
votes
3answers
3k views

How do I export my Blender model to OGRE XML format for jMonkeyEngine 3?

I'm an amateur software engineer with several simple 2D-game projects under my belt. I'v recently turned my attention towards creating a basic 3D game, nothing too fancy, just to get a grip on things. ...
2
votes
2answers
275 views

Convenience of mySQL over xml

Currently I use XML to store specific information to correctly load a few things such as a list of specfied characters, scenes and music, Once more I use JAXB in combination with standard ...
-4
votes
1answer
2k views

How to make NPC AI for my jme3 ninja game

My scene has a main character who is a ninja and an enemy which is a goblin and one monster but the monster has no animation so we can wait with him: How can I make the goblin actually move instead ...
6
votes
1answer
2k views

How to invert background pixel's color

I'm writing a game and map editor using Java and jMonkeyEngine. In the map editor, I've got a brush done by wireframed sphere. My problem is: I want to make it visible everywhere, so I want to invert ...
2
votes
2answers
507 views

jMonkey Quest Database

I am building a game in jMonkey (Java) and I have so far only used default quest text. But now I need to start populating a lot of quests with text. My design requires A LOT of quests texts. What is ...
1
vote
0answers
212 views

When attaching AI to a vehicle should I define all steps or try Line of Sight?

This problem is related to an intersection simulation I am building for university. I will try to make it as general as possible. I am trying to assign AI to a vehicle using the JMonkeyEngine ...
0
votes
3answers
1k views

How can I get rid of the diagonal wires in wireframe boxes?

I create a box with a material and set that material to be wire framed. Box b1 = new Box(new Vector3f(1.0f, -2.0f, 1.0f), 1.0f, 1.0f, 1.0f); Geometry geom1 = new Geometry("Box", b1); Material mat1 = ...
6
votes
1answer
938 views

Method of terrain in a 3d RPG

I am working on a RPG using the JMonkey engine. While I was conceptualizing the map, I realized I would have a problem with the terrain. My problem is this: I want to have a click to move interface, ...
8
votes
4answers
3k views

Looking for JMonkeyEngine tutorials and documentation

I'm looking for tutorials and documentation for JMonkeyEngine, beside the material on the official website. Any clue?