vertexd ~refactor
Dutch OpenGL passion project
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
VertexD is a hobby glTF Renderer/Engine, created to learn DLang & OpenGL
Requirements:
- Dlang compiler (eg dmd).
- Package manager dub (included with dmd compiler).
- GLFW library files;
glfw3dll.lib
to build,glfw3.dll
to run.
Dmd can also be installed using chocolatey using choco install dmd
.
Sample
A sample/testing project can be viewed at accessory repo VertexD_sample
Use Guide
Initialization
In order to use most functionality (save for misc
, json
, quaternion
and mat
functionality), the library needs to be initialized using vdInit
, initializing GLFW.
An OpenGL context also needs to be initialized by created a new Window
.
Rendering
At minimum, the window needs to be assigned a World
class, generally imported by the gltf_reader
importer. A Camera
is also required (though it can be included in the respective gltf file).
A single render step can be taken using vdStep
, although vdLoop
is generally preferred.
Input
Input should preferrably be handled by manually adding callbacks (KeyInput
/MousebuttonInput
/MousepositionInput
/MousewheelInput
) to the window.
Versions
(dub version modifiers to further control behaviour)
- MultiThreadImageLoad - use multithreading to decode used gltf images.
- Registered by HuskyNator
- ~refactor released 27 days ago
- HuskyNator/VertexD
- proprietary
- Copyright © 2021, HuskyNator
- Authors:
- Dependencies:
- bindbc-glfw, bindbc-opengl, gamut, vdmath
- Versions:
-
0.1.0 2024-Feb-01 ~temp 2024-Feb-07 ~refactor 2024-Nov-16 ~overhaul 2024-May-06 ~dev 2024-Jun-04 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
3 downloads total
-
- Score:
- 0.0
- Short URL:
- vertexd.dub.pm