GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jvm-graphics-labs/hello-triangle: Simple sample showing a complete rendering of a triangle, in Java and Kotlin

BranchesTags
Open more actions menu

Latest commit

 

History

84 Commits
84 Commits

Folders and files

NameName
Last commit message
Last commit date
gradle/wrapper
gradle/wrapper
 
 
screenshots
screenshots
 
 
src/main
src/main
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

Content:

  • OpenGL 4:

    • Hello Triangle:

      • Simple Java using pure plain JOGL, without additional libraries
      • Java
      • Kotlin
    • Hello Globe:

      • Java
      • Kotlin
  • OpenGL 3:

    • Hello Triangle:

      • Simple Java using pure plain JOGL, without additional libraries
      • Java
      • Kotlin
    • Hello Texture:

      • Java
      • Kotlin
    • GL injection: shows how to inject GL commands into a GL fifo from another thread (like the input listener):

      • Java
      • Kotlin
    • Input into rendering: shows how to use a fifo stack to pipe events from the EDT (listener) into the rendering loop:

      • Java
      • Kotlin

Quick start:

  • clone & sync Gradle
  • run it and enjoy the OpenGL acceleration on Java 😎 (or even better, on Kotlin 😱)

If you don't know how to use Gradle, follow this simple tutorial

If you have any problem/question/doubt do not hesitate asking on the jogl forums or StackOverflow or open an issue here

In case you find the above samples too complex or difficult to understand, I strongly suggest you to start from scratch with a jogl tutorial, such as modern-jogl-examples. The original C tutorial it's ported from, it's one of the best, if not the best, out there.

About

Simple sample showing a complete rendering of a triangle, in Java and Kotlin

Topics

globejavajoglkotlinopengltexturetriangle

Resources

Readme
MIT license
Activity
Custom properties

Stars

46 stars

Watchers

5 watching

Forks

14 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.