Skip to content

joliver82/jME3-GLES-wireframe

Repository files navigation

jME GLES Wireframe render sample application

About

This is an android jme3 project showing two different wireframe rendering methods GLES:

  • Geometry shader implementation: Using this method requires openGLES >= 3.2 and Android API level 24 (Android 7) or newer.
  • Barycentric coordinates implementation: This method is available to any openGLES version without API level limitation.

The app requires API level 24 (Android 7) or newer, this could be lowered if removing the code making use of Wireframe.j3md

This application demonstrate the functionality of https://github.com/joliver82/jme3-wireframe for inner details go to the library page

Usage

Just load the project with latest Android Studio (Tested using 4.1.2) and run

The sample app shows four spheres from left to right, top to bottom: jME3 default wireframe mode (will render solid on android), Barycentric coordinates approach mimicing jME3's default, Geometry shader approach and Barycentric coordinates approach mimicing geometry shader approach.

Desktop screenshot: Alt text

Android screenshot: Alt text

The sample app has been updated to show 6 spheres including both reserved buffer (center spheres) and normal buffer (right spheres) based

Alt text

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages