Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

jvm-graphics-labs/hello-triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • OpenGL 4:

  • OpenGL 3:

    • Hello Triangle:

    • Hello Texture:

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

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

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 simpletutorial

If you have any problem/question/doubt do not hesitate asking on thejogl forums orStackOverflow or open anissue 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 asmodern-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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp