Ok, thank you. I’m quite new to all of this, Could you give me a bit more info on how I might do what you’re saying?
I’ve created a Jframe, and tried calling it with
[java]Jframe_main main_window = new Jframe_main();[/java]
Jframe_main being my Jframe class.
Which seems to do nothing (it continues to run, no warn or anything).
I’m not quite sure how to get the Jframe to display, let alone how to render the 3D world onto it. This is a niche sort of goal, and jMonkey is small so when I searched it not much relevant stuff came up (as said before, your thread did).
The only thing that jumps out at me is
[java] viewPort.attachScene(rootNode);
guiViewPort.attachScene(guiNode);[/java]
But I still don’t understand Java/jMonkey enough to know what is actually doing what (specifically rendering). I understand most of the basic logic, it’s when it comes to classes/constructors/methods is where I’m confused.
EDIT: I did find this in the wiki, but it’s a bit vaguely written on what goes where… oddly, that page is linked on this page despite one talking about nifty and the other talking about swing… unless they both can be used?
Doesn’t seem like something like resizing the window would be so complicated to do. Kinda frustrating, too, because 90% of games out there are like this and only allow for fixed resolutions, and not resizing the window properly (so you can’t have it maximized without fullscreen). Then there are games like Minecraft and Don’t Starve that just do it perfectly.
Of course, pretty much all regular applications work perfectly, too. But to be honest, I sort of want to make a regular application (basically a 3D modeling program) with jME…