Hello, how can I render jme Rendering contents into a custom GLSurfaceView in Android. I don’t want to use AndroidHarness because it renders full-screen but i don’t want to render in full screen i want to render it into a specific dp (like 300dp height and width) GLSurfaceView.
I hope you guys understand what I mean to say.
Thanks in advance for helping me.
@Ubuntu_Twenty JmeSurfaceView utilizes an android GlSurfaceView internally outside of an activity context, so you can embed jme renderer as an android native UI component, if that is your target then, there are a lot of examples in addition to the one linked by @Ali_RS.
But, JmeSurfaceView uses a SimpleApplication, so you have to learn jme to create your game.
One thing to note, that JmeSurfaceView has a package migration on jme-3.6.0 from com.jme3.app.jmeSurfaceVIew.JmeSurfaceView to com.jme3.view.surfaceview.JmeSurfaceView (the examples linked above are updated with the snapshot version from my local disk, you need to change 3.4.0-SNAPSHOT to 3.6.0-beta1).