JMonkeyEngine display a spatial in a Nifty GUI interface

Posted by Yanick Rochon on Game Development See other posts from Game Development or by Yanick Rochon
Published on 2012-04-04T12:36:21Z Indexed on 2012/04/04 17:43 UTC
Read the original article Hit count: 304

Filed under:

I want to display a spatial (or the rendering of a spatial/scene) in my HUD interface. I'm really not sure how to go with this. I have search the documentation, but all the queries I search yields no result, and all I could find about images is that one can specify one with the setBackgroundImage method in the builder and setImage from the ImageRenderer class. The latter takes a String or a NiftyImage, but I'm not sure how to create one without loading an image file.

Any help to understand this (if even possible) is appreciated. Thanks!

© Game Development or respective owner

Related posts about jmonkeyengine