Questions tagged [jmonkeyengine]
jMonkeyEngine is a 3D game engine written in and for Java.
69 questions
0
votes
0
answers
45
views
How can I make the material edges smoother on a PBR terrain?
I'm using HillHeightMap to generate a heightmap. I found a way to generate an alphamap based on a heightmap.
This is how I create the material
...
1
vote
0
answers
56
views
How to specify font size in nifty GUI when using ttf fonts
I'm trying to use a font with a larger size in a ttf file using nifty GUI. All questions and answers I've seen are concerned with making fonts in fnt fonts in a different size, but the size I want to ...
0
votes
1
answer
153
views
Trying to get events to work for drag and drop
So I’m playing around with drag and drop with Nifty and I have the drag working. I don’t have a drop set up yet as I’m just trying to get the dragging working at the moment.
For the purposes of my ...
0
votes
2
answers
158
views
Limiting GIF animation rate to its frame delay in JME3
I've figured out how to render a GIF image using this library as follows:
...
0
votes
2
answers
129
views
Nifty TextRenderer object is null
Im new to nifty and Im trying to change text control using nifty in JME application following this tutorial.
Below is my TextRenderer code:
...
0
votes
1
answer
103
views
Cannot find declaration of element nifty JME
I'm new to nifty. I am trying to learn how to create nifty GUI in JMonkey Engine game. I'm going through tutorials and tried to run project. Project runs fine but I get following error when I tried to ...
1
vote
2
answers
523
views
Clamp view direction vector to nearest axis
In JMonkeyEngine, given any view direction Vector3f instance, I'd like to get a new vector facing the nearest x or z axis (positive or negative), with y set to 0.
For example
...
0
votes
1
answer
405
views
AI for Minesweeper like game
I am currently developing a Puzzle/RPG game which works a little bit like Minesweeper.
You have a Field of Tiles and 2, 3 or 4 different colors from which you can choose. Now you have to uncover tiles ...
3
votes
1
answer
264
views
My "puck" model object falls right through the "table" model in jMonkeyEngine
So I am trying to learn jMonkey, I have understood everything so far, and I thought I understood how to make objects solid, so things can't go through each other. When I create my Collision shapes, I ...
0
votes
0
answers
97
views
manipulate textures in real time using GPU
I'm looking for some way (tutorial, library or build in option) to draw texture on JMonkey in real time. So I have 2 images one a normal texture that is fairly big(4000x4000) and another much smaller ...
1
vote
2
answers
141
views
How to determine this kind of vector?
Take a look at the picture.
I've got a camera(brown) and its ray(red). As I know ray has a direction and unlimited length(if you don't set it yourself). But now I need to determine ray's vector that ...
1
vote
1
answer
2k
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) ...
1
vote
0
answers
211
views
JMonkey scrolling 3D text
I need to make a scrolling 3D text, which is not a gui. I have a 3d box display over which I should render a long scrolling text. I can render and move text, but how do I cut/make invisible the part ...
2
votes
1
answer
449
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 ...
4
votes
1
answer
1k
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
3
answers
549
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
1
answer
271
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:
...
0
votes
1
answer
1k
views
Apply a texture on a Box - jMonkeyEngine
How can i wrap a texture (for ex a 4x4 pixels) on a box (1x1x1) in such a way that the texture is repeated and not enlarged to cover all the surface.
...
2
votes
1
answer
1k
views
Can I use jMonkeyEngine to make a closed source game?
Can I just share the jMonkeyEngine code and keep my code closed or would I have to make my game open as well? Sorry if this is a noob question.
0
votes
1
answer
241
views
How to place an object so that it does not overlap the objects in my scene?
In my game, the user has to click at a point to place an object (mesh). I can cast a ray and find the horizontal point where the object can be translated and then attached to rootNode to display it. ...
2
votes
2
answers
897
views
How do I render endless terrain using TerrainGrid?
I have started to learn game development, using the jMonkey engine. I am able to create single tile of terrain using TerrainQuad, but in the next step, I'm stuck at ...
6
votes
2
answers
907
views
Best practise for representing large spaces in a scene graph
I'm attempting to represent a procedurally generated world in a scene graph, specifically in the Jmonkey engine (Jme3). To make this managable I have broken up the world into smaller chunks. Each ...
1
vote
0
answers
430
views
Moving an object (pong paddle) along the x,y axis in 3d-space with mouse/touch
First of all: Sorry, my English isn't quiet good, I'm very new in 3D and I'am using JMonkeyEngine.
What I would like to do?:
A 3d pong game and I want to control the paddle with the mousecursor and/...
2
votes
1
answer
886
views
How do I properly center Nifty GUI elements on screen?
I am new to JME3 game engine but I know Android XML GUI layouts pretty good. I have a simple layout here and I cant figure out what is wrong. Here is my XML code:
...
2
votes
2
answers
379
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 compression/...