Tutorials
Guides for getting started with Nilkins Engine and understanding its components. Each tutorial is written by the engine authors and kept in sync with the engine.
Browse All Blog Posts →General
2 tutorials
nkAstraeus
3 tutorials
PrefaceNilkins Astraeus, aka nkAstraeus, is the highest level component available. Its purpose is to leverage functionalities from all other components, offering lower level control,…Engine LaunchThe aim behind nkAstraeus is to articulate all other components to provide a full engine, ready to use. As such, initializing this component will initialize all components it is…Using MaterialsOne of the feature of nkAstraeus is called Materials. Materials are abstractions of nkGraphic's Shader and Program combo. They do so behind an API from where it is possible to…
nkEditor
2 tutorials
PrefaceThe Nilkins Editor, aka nkEditor, is a software directly powered by all components available in the engine. Its main purpose it to expose the API through its UI and enable the…Prototyping The NkGraphics TutorialsIn this section, we will discover what the editor is capable of. For that, we will reproduce what the tutorials within nkGraphics end up with, in the tutorial 07 about composition.
nkGraphics
12 tutorials
PrefaceNilkins Graphics, shortened nkGraphics, is the 3D rendering component within the Nilkins Engine. Abstracting low level graphics API such as DirectX, it allows users to use the…Engine LaunchWhen using the nkGraphics component within the Nilkins Engine, the first step is to initialize it through the API. This is required to prepare the component, allocate all basic…ConfigurationWhen initializing the component, by default, it will :Adding a meshRight now, we have an application ready and setup, but nothing on screen. Or more exactly, we only have a constant color for the whole window. It is time to change that !Custom Render LoopSo far, the component has been doing the rendering loop for us. But this means that we are locked and cannot do anything specific during the rendering.A First ShaderNow that we can enjoy our sphere from all angles, it is time to customize the way it is rendered. This means writing our own shader to alter the rendering directly on GPU.Using TexturesIn this tutorial we will see how textures can be used during rendering. This will allow us to spicen up a bit the rendering of our sphere.CompositionUp till now, we've been enjoying the default compositing of the image offered in the component. In this tutorial, we will see how we can create our own composition to totally…Inserting A Compute FilterUp till now, what we used was vertex and pixel shader stages. However, there are many other stages available to create effects ! This tutorial will focus on how using the…Running RTXThe new GPUs are there, and raytracing is around the corner. A lot of people are talking about it, and it starts to be quite common in games going out nowadays.Pushing RTXNow that we have the basic understanding of raytracing and how it works within nkGraphics, it is time to make an effect hardly reachable with rasterization. During this…a00 Interop between GLSL and HLSLWorking with both GLSL and HLSL can be daunting, as both languages are close to each other, but not quite. nkGraphics offers capabilities to help ease the pain when dealing with…
nkImages
2 tutorials
PrefaceThe Nilkins Images component provides tools to encode, decode and work on images. With a mindset oriented towards graphics, it also allows to specify and respect tight memory…Decoding ImagesDecoding images within nkImages is very simple, and allows for customizations on the memory layout and output format. For this tutorial, we will decode a Dds image and see what…
nkMemory
1 tutorial
nkResources
1 tutorial
nkScripts
7 tutorials
PrefaceWithin the nkScripts component, create, populate, and use scripting environment. Currently supported scripting languages are :Basic SetupFirst thing to do when dealing with nkScripts is creating an Environment. The Environment is an isolated space where variables, types, functions, can be declared and used. You…Variables And FunctionsThrough this tutorial we will see many code snippets and witness their effects through the log of messages. To ease the reading, we will introduce specific blocks, to hold the…Namespaces And UserTypesThrough this tutorial we will see many code snippets and witness their effects through the log of messages. To ease the reading, we will introduce specific blocks, to hold the…Advanced UserType UsageLast tutorial, we discovered the UserType class to give a more object oriented vibe to our scripting environments. However, we missed on some other functionalities that can be…Script Object ReferencesUp till now, we mainly learned about feeding data from C++ to our scripting environment. This tutorial will take the opposite way : how to provide data from the scripting…Multi-EnvironmentWorking with one environment is great, working with multiple environment can be better ! The tricks we will see here will help you in using more than one environment at a time.
nkWinUi
2 tutorials
PrefaceThe nkWinUi component gives the ability to create graphical UI. Create windows, organize what's inside, and easily deal with input from the user.A First WindowMaking interfaces can be a challenging task, but nkWinUi tries its best to make it easy for you. In this first tutorial, we will see how the component can be initialized, how UI…
No tutorials match “”.