Java
Loading a Shader in OpenGL
In this tutorial, we will discuss how to load a shader in OpenGL. (more…)
In this tutorial, we will discuss how to load a shader in OpenGL. (more…)
In order to get up and running with OpenGL and LWJGL, one need to understand the most basic setup of LWJGL. This is important to understand because all following examples will be based on that. (more…)
This post provides a clean, up-to-date and concise example on how to set up a simple custom shader in OpenGL that runs out of the box. My target language is Java with LWJGL, but the code can easily be ported to different languages on this level. To my surprise, I is quite difficult to find a state of the art example of a simple yet complete setup for shaders that can serve as a get-go for more complex programs. Most OpenGL shader tutorials are written for the pre-2.0 era (ie. using shaders through ARB extensions) that is long over. This post is therefore trying to provide a modern "Hello World of Shaders" set up example. (more…)
In diesem post widme ich mich folgender Fragestellungen:
Dieser Artikel behandelt die folgenden Themen
This blog post explains a common and versatile approach to OpenGL picking called "ray picking". An example in pseudo-code is given below. Picking is the process of finding objects in your scene based on user input. Most commonly, you want to determine what object a user has clicked with his mouse. The 2D mouse coordinates serve as a reference on the view port to identify the projected objected that has been clicked. A similar scenario is a first person shooter, where the gun is basically the picking pointer. If you shoot the gun, the trajectory of the bullet is traced through the scene and collisions are detected, similar to a laser pointer shooting a ray through a scene until it hits an object and marks it with a small red dot. (more…)
This getting started-tutorial is intended for JOGL users that are mere beginners. It helps to setup a recent JOGL installation in Eclipse on Windows. There is a video-walk-through further down the post, in case you dont feel like reading. (more…)
You are right in this page if you are on the quest for one of the following:
Ab einem gewissen Trafficvolumumen beginnt die Sessionstabelle die der Tomcat auf der Platte hält stetig zu wachsen und täglich größere Ausmaße anzunehmen. Da der Tomcat einen großen Teil der serialisierten Sessiontabelle im Speicher hält, kann das zu einem akkuten Crashrisiko werden, wenn der Tomcat bis zum Limit wächst (oder das OS zu swappen beginnt). (more…)
Moin, moin! Heute nun eine kurze Einweisung in die richtige Verwendung von BufferedReaders und den Grund warum der BufferedReader so populär ist. Im Grunde gibt es zwei Gründe: (more…)