LWJGL
OpenTK
Our great sponsors
LWJGL | OpenTK | |
---|---|---|
72 | 20 | |
4,583 | 3,088 | |
1.4% | 1.8% | |
8.9 | 8.5 | |
4 months ago | 4 days ago | |
Java | C# | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LWJGL
-
Building a Game Engine Using Java with LWJGL
Download the latest LWJGL binaries from the official website.
-
My Game won't start :(
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
-
Game crashes starting 1.5.2
229 recipes 27 achievements 2023-11-15 18:45:08 [CLIENT] [INFO] Setting user: aleislost (Session ID is token:0:) 2023-11-15 18:45:08 [CLIENT] [INFO] LWJGL Version: 2.9.4 Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffd49392ee7, pid=5988, tid=0x0000000000002188 # # JRE version: OpenJDK Runtime Environment (8.0_392-b08) (build 1.8.0_392-b08) # Java VM: OpenJDK 64-Bit Server VM (25.392-b08 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [ig7icd64.dll+0x22ee7] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:\Users\Ale\AppData\Roaming\PollyMC\instances\1.5.2\.minecraft\hs_err_pid5988.log # # If you would like to submit a bug report, please visit: # https://github.com/adoptium/adoptium-support/issues # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # AL lib: (EE) alc_cleanup: 1 device not closed Process exited with code 1.
- Not only Unity...
- LWJGL documentation
-
I am looking to learn java for 2d and 3d game development any good tutorials or sources for beginners who don't know anything
Both libGDX and JMonkey engine make use of LWJGL.
-
missing dependencies form mods snd dont know what to do
[17:23:20] [Client thread/WARN]: EventBus 0 shutting down - future events will not be posted. [17:23:20] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:YUNG's Better Mineshafts, FMLFileResourcePack:Biomes O' Plenty, FMLFileResourcePack:Bountiful, FMLFileResourcePack:Mowzie's Mobs, FMLFileResourcePack:Quark, FMLFileResourcePack:Spiders 2.0, FMLFileResourcePack:Tetra, FMLFileResourcePack:The Twilight Forest, FMLFileResourcePack:Xaero's World Map [17:23:20] [Client thread/INFO]: Transforming net.minecraft.client.renderer.RenderItem [17:23:20] [Client thread/INFO]: Applying Transformation to method (Names [renderItem, func_180454_a] Descriptor (Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/renderer/block/model/IBakedModel;)V) [17:23:20] [Client thread/INFO]: Located Method, patching... [17:23:20] [Client thread/INFO]: Patch result: true [17:23:20] [Client thread/INFO]: Applying Transformation to method (Names [renderEffect, func_191966_a] Descriptor (Lnet/minecraft/client/renderer/block/model/IBakedModel;)V) [17:23:20] [Client thread/INFO]: Located Method, patching... [17:23:20] [Client thread/INFO]: Located patch target node LDC -8372020 [17:23:20] [Client thread/INFO]: Located patch target node LDC -8372020 [17:23:20] [Client thread/INFO]: Patch result: true [17:23:20] [Client thread/INFO]: Transforming net.minecraft.client.renderer.EntityRenderer [17:23:20] [Client thread/INFO]: Applying Transformation to method (Names [renderWorldPass, func_175068_a] Descriptor (IFJ)V) [17:23:20] [Client thread/INFO]: Located Method, patching... [17:23:20] [Client thread/INFO]: Located patch target node INVOKESPECIAL net/minecraft/client/renderer/EntityRenderer.func_78479_a (FI)V [17:23:20] [Client thread/INFO]: Patch result: true [17:23:20] [Client thread/WARN]: There were errors previously. Not beginning mod initialization phase [17:23:21] [Sound Library Loader/INFO]: Starting up SoundSystem... [17:23:21] [Thread-2/INFO]: Initializing LWJGL OpenAL [17:23:21] [Thread-2/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [17:23:21] [Thread-2/INFO]: OpenAL initialized. [17:23:21] [Client thread/INFO]: Transforming net.minecraft.client.renderer.entity.RenderManager [17:23:21] [Client thread/INFO]: Applying Transformation to method (Names [renderEntity, func_188391_a] Descriptor (Lnet/minecraft/entity/Entity;DDDFFZ)V) [17:23:21] [Client thread/INFO]: Located Method, patching... [17:23:21] [Client thread/INFO]: Located patch target node INVOKEVIRTUAL net/minecraft/client/renderer/entity/Render.func_76986_a (Lnet/minecraft/entity/Entity;DDDFF)V [17:23:21] [Client thread/INFO]: Patch result: true [17:23:21] [Client thread/INFO]: Transforming net.minecraft.client.renderer.entity.Render [17:23:21] [Client thread/INFO]: Applying Transformation to method (Names [renderEntityOnFire, func_76977_a] Descriptor (Lnet/minecraft/entity/Entity;DDDF)V) [17:23:21] [Client thread/INFO]: Located Method, patching... [17:23:21] [Client thread/INFO]: Patch result: true [17:23:21] [Client thread/INFO]: Transforming net.minecraft.client.model.ModelBiped [17:23:21] [Client thread/INFO]: Applying Transformation to method (Names [setRotationAngles, func_78087_a] Descriptor (FFFFFFLnet/minecraft/entity/Entity;)V) [17:23:21] [Client thread/INFO]: Located Method, patching... [17:23:21] [Client thread/INFO]: Located patch target node RETURN [17:23:21] [Client thread/INFO]: Patch result: true [17:23:21] [Client thread/INFO]: Transforming net.minecraft.client.renderer.entity.layers.LayerArmorBase [17:23:21] [Client thread/INFO]: Applying Transformation to method (Names [renderArmorLayer, func_188361_a] Descriptor (Lnet/minecraft/entity/EntityLivingBase;FFFFFFFLnet/minecraft/inventory/EntityEquipmentSlot;)V) [17:23:21] [Client thread/INFO]: Located Method, patching... [17:23:21] [Client thread/INFO]: Patch result: true [17:23:21] [Client thread/INFO]: Applying Transformation to method (Names [renderEnchantedGlint, func_188364_a] Descriptor (Lnet/minecraft/client/renderer/entity/RenderLivingBase;Lnet/minecraft/entity/EntityLivingBase;Lnet/minecraft/client/model/ModelBase;FFFFFFF)V) [17:23:21] [Client thread/INFO]: Located Method, patching... [17:23:21] [Client thread/INFO]: Located patch target node INVOKESTATIC net/minecraft/client/renderer/GlStateManager.func_179131_c (FFFF)V [17:23:21] [Client thread/INFO]: Located patch target node INVOKESTATIC net/minecraft/client/renderer/GlStateManager.func_179131_c (FFFF)V [17:23:21] [Client thread/INFO]: Patch result: true [17:23:21] [Sound Library Loader/INFO]: Sound engine started [17:23:21] [Client thread/INFO]: Transforming net.minecraft.client.renderer.entity.RenderBoat [17:23:21] [Client thread/INFO]: Applying Transformation to method (Names [doRender, func_188300_b] Descriptor (Lnet/minecraft/entity/item/EntityBoat;DDDFF)V) [17:23:21] [Client thread/INFO]: Located Method, patching... [17:23:21] [Client thread/INFO]: Located patch target node INVOKEINTERFACE net/minecraft/client/model/IMultipassModel.func_187054_b (Lnet/minecraft/entity/Entity;FFFFFF)V [17:23:21] [Client thread/INFO]: Patch result: true [17:23:21] [Client thread/INFO]: Transforming net.minecraft.client.renderer.entity.layers.LayerEntityOnShoulder [17:23:21] [Client thread/INFO]: Applying Transformation to method (Names [renderEntityOnShoulder, func_192864_a] Descriptor (Lnet/minecraft/entity/player/EntityPlayer;Ljava/util/UUID;Lnet/minecraft/nbt/NBTTagCompound;Lnet/minecraft/client/renderer/entity/RenderLivingBase;Lnet/minecraft/client/model/ModelBase;Lnet/minecraft/util/ResourceLocation;Ljava/lang/Class;FFFFFFFZ)Lnet/minecraft/client/renderer/entity/layers/LayerEntityOnShoulder$DataHolder;) [17:23:21] [Client thread/INFO]: Located Method, patching... [17:23:21] [Client thread/INFO]: Located patch target node INVOKEVIRTUAL net/minecraft/client/renderer/entity/RenderLivingBase.func_110776_a (Lnet/minecraft/util/ResourceLocation;)V [17:23:21] [Client thread/INFO]: Patch result: true [17:23:21] [Client thread/INFO]: Transforming net.minecraft.client.renderer.BlockModelRenderer [17:23:22] [Client thread/INFO]: Applying Transformation to method (Names [renderQuadsFlat, func_187496_a] Descriptor (Lnet/minecraft/world/IBlockAccess;Lnet/minecraft/block/state/IBlockState;Lnet/minecraft/util/math/BlockPos;IZLnet/minecraft/client/renderer/BufferBuilder;Ljava/util/List;Ljava/util/BitSet;)V) [17:23:22] [Client thread/INFO]: Located Method, patching... [17:23:22] [Client thread/INFO]: Located patch target node INVOKEVIRTUAL net/minecraft/client/renderer/BufferBuilder.func_178987_a (DDD)V [17:23:22] [Client thread/INFO]: Patch result: true [17:23:22] [Client thread/WARN]: ERROR : Couldn't load Narrator library : Unable to load library 'fliteWrapper': Native library (linux-aarch64/libfliteWrapper.so) not found in resource path ([file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/lwjgl3/lwjgl-glfw-classes.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.15.0/log4j-slf4j18-impl-2.15.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/apache/maven/maven-artifact/3.5.3/maven-artifact-3.5.3.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/java3d/vecmath/1.5.2/vecmath-1.5.2.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2_mc/scala-continuations-plugin_2.11.1-1.0.2_mc.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2_mc/scala-continuations-library_2.11-1.0.2_mc.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/jline/jline/3.5.1/jline-3.5.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/ow2/asm/asm-debug-all/5.2/asm-debug-all-5.2.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/net/minecraftforge/forge/1.12.2-14.23.5.2859/forge-1.12.2-14.23.5.2859.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/mojang/patchy/1.3.9/patchy-1.3.9.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/mojang/realms/1.10.22/realms-1.10.22.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.15.0/log4j-api-2.15.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.15.0/log4j-core-2.15.0.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/versions/1.12.2-forge-14.23.5.2859/1.12.2-forge-14.23.5.2859.jar, file:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/.minecraft/mods/Quark-r1.6-177.jar, asmgen:/]) [17:23:23] [Client thread/INFO]: Transforming net.minecraft.client.renderer.tileentity.TileEntityPistonRenderer [17:23:23] [Client thread/INFO]: Applying Transformation to method (Names [render, func_192841_a] Descriptor (Lnet/minecraft/tileentity/TileEntityPiston;DDDFIF)V) [17:23:23] [Client thread/INFO]: Located Method, patching... [17:23:23] [Client thread/INFO]: Patch result: true
- Need an assignment
-
Library of Java that Minecraft Uses
Java Edition uses a number of third party libraries but the core game library is Light Weight Java Game Library, LWJGL.
-
Wayland support
Minecraft uses LWGL under the hood, which does support Wayland as of version 3 if it is configured to use EGL instead of GLX. (see https://github.com/LWJGL/lwjgl3/issues/748) Version 2 of LWGL does not support Wayland as it relies on xrandr, which is only available on X (see https://github.com/LWJGL/lwjgl/issues/118).
OpenTK
-
Unhandled SEHException when running OpenTK project - What am I doing wrong?
Open a new issue on Github. Include all of this, and provide info on your OS and GPU.
-
Drew a shape in C#
For anyone interested in getting into this: https://opentk.net/
- How do game engines calculate frame-to-frame?
-
HELP! OpenGL for C#
OpenTK is probably the most known library for that.
-
A friend sent this to me, before passing away.
I used OpenTK, an OpenGL framework for C# and hacked together a small app that renders a fullscreen textured quad (in this case OP's image) with a shader I found in this article.
-
Games from scratch
i'd go for OpenTK so you don't have to learn c++ in addition. also one of the most important things is understanding how to communicate with the GPU and for that https://learnopengl.com/ is a great resource. (also creating a 3d engine is not really that much harder than a 2d engine in my opinion)
-
I need something like Pygame + PyOpenGL or LWJGL, but for C#/.NET
https://opentk.net/ for OpenGL
-
Is it possible to make the keyboard a separate device (like controllers) for local multiplayer?
But OpenTK can, and you can use it within godot if you add it as a C# library with godot C# https://opentk.net/
-
Software for simple 2D animation user interface
https://opentk.net/ or https://www.libsdl.org/ might be for you
-
My first attempt to create an octree based LOD system for a blocky planet, still fighting with seams
Thanks! I'm creating an engine (far from being ready for public use) while developing the game based on OpenTK which is pretty much like GLFW for C# (it is a bit more advanced than that though), so yeah pretty much from scratch.
What are some alternatives?
libGDX - Desktop/Android/HTML5/iOS Java game development framework
Silk.NET - The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
FXGL - Java / JavaFX / Kotlin Game Library (Engine)
Veldrid - A low-level, portable graphics library for .NET.
jMonkeyEngine - A complete 3-D game development suite written in Java.
LiveCharts2 - Simple, flexible, interactive & powerful charts, maps, and gauges for .Net, LiveCharts2 can now practically run everywhere WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.
Vulkan-Tutorial-Java - Vulkan tutorial by Alexander Overvoorde ported to Java
Helix Toolkit - Helix Toolkit is a collection of 3D components for .NET.
raylib - A simple and easy-to-use library to enjoy videogames programming
Oxyplot - A cross-platform plotting library for .NET
imgui-java - JNI based binding for Dear ImGui
AssimpNet