Hello I’m new to the jME community
I looked into the jMonkeyEngine3 and want to use it for my Master’s Thesis if it is possible to achieve what I’m planning to do. I allready did some Tutorials and have set up a game with a basic Scene (flat terrain and house on it).
Basically I want to put a 3rd Party Avatar (it’s an application, not a model) into that game. The API of that Avatar provides a method to embedd the avatar into an AWT-Container
[java]//Adds the given JARP view canvas to its container.
void embedInContainer(java.awt.Component jarpcanvas)[/java]
(see /javadoc-jarpb/player/JACanvasEmbedder.html and implementation of it in BareSiGMLPlayer.java which you can find in the use-jarp-source under the provided developer-documentation-link below).
My question to you is which way is the best practice to achieve this ?
I see two different ways
1. Embedd the jME3-Canvas in a Swing?!-GUI and overlay the Avatar on new Pane. (or maybe embedd the jME canvas directly into the Avatar-GUI)
2. Use Nifty-GUI and create a new layer to which the Avatar will be overlayed.
In both cases I don’t know if this will work. What’s your suggestions ?
I wanted to use the jME3 because of the advantages of a game engine. Or do you think the described approaches will be to difficult to implement and i should just stick to given Avatar GUI, paint a background (not that important to me) and implement all the needed game engine stuff by myself (jme3 appstates could be helpful for example).
My experience with the avatar-system is mostly based on the BareSiGMLPlayer.java and not much successful attempts to modify it to my needs.
Should I use the jarp-api to build up my avatar classes from skretch?
Here are some more Information about the Avatar System I want to use:
Current-Release (Online Applets using the Avatar)
Local installation guide for current-release
Developer documentation (API and example Code)
I hope you can understand my Problem and help me with it