-

Uniforms
A uniform is a global Shader variable declared with the “uniform” storage qualifier. These act as parameters that the user of a shader program can pass to that program. Their values are stored in a program object. Uniforms are so named because they do not change from one shader invocation to the next within a particular rendering call thus their value…
-

The Second Square
A vertex array object (also known as VAO) can be bound just like a vertex buffer object and any subsequent vertex attribute calls from that point on will be stored inside the VAO. This has the advantage that when configuring vertex attribute pointers you only have to make those calls once and whenever we want to draw the…
-

Hello Square
For drawing two squares we need to make two things. First, add extra 3 vertices and the second one is to add those extra vertices to the draw command As you can see these two triangles have adjacent 2 vertices. Instead of supplying these two extra vertices, we can supply a list for the order…
-

Hello Triangle
Shaders VBO Vertex Attributes Refactor main Shader Class https://www.khronos.org/opengl/wiki/Vertex_Specification
-

Hello Window
GLFWwindow Firstly we need to create a GLFW window. After creating a window we should create an infinite loop for render purposes. Of course, we don’t render anything except a black screen for now. Legacy Triangle GLAD will manage OpenGL function pointers for us. In other words we need to initialize GLAD before using OpenGL…
-

Who is the OpenGL
The OpenGL is an abstract graphic API which describes the graphic functions which can we use and which can be implemented by graphics card manufactuers and other vendors. In dark ages every manufactures create their own rules for draw something on screen. Now think you are a developer who try to write a mini game…
-

-

-

Basic Movements
Firstly we should implement enhanced input system Input Action Mapping Difference between “Orient Rotation to Movement” and “Use Controller Desired Rotation”———————————————————–You probably won’t see much difference for AI-controlled characters, but for your player character the difference is this:“Orient Rotation to Movement”: Your character will turn to face the direction of travel. No matter which way…
-

-

Blender Script for fbx Scaling for Unreal Engine
This is a sample script for changing scene unit (1 to 0.01) and scaling objects (100x)
-

-

JavaFX
Kaynaklar This is a perfect playlist for learning JavaFX Hello window For creating a basic window. We can add a button to empty window: Button Click Scenes In this example, we change the scene. Message box We will create a separate window. Modality A stage has one of the following modalities: When a window is…
-

Multithreading
Create Thread with Thread Class Create Thread with Runnable Interface Thread States Thread priority Thread Class https://docs.oracle.com/javase%2F7%2Fdocs%2Fapi%2F%2F/java/lang/Thread.html What is a deamon thread A daemon thread is a thread that does not prevent the JVM from exiting when the program finishes but the thread is still running. An example for a daemon thread is the garbage…
-

-

OOP
Basics Class & Object Abstraction Simple description of complex systems: Encapsulation Information hiding: Inheritance Take an existing class as a base and add new feature to it: Employe has got existing properties and behaviours of Person in other words Employe is a Person. Polymorhism Different results of the same action. All animals can talk() but…
