Getting started with OpenGL & GLFW in C# - Tutorial

preview_player
Показать описание

First link (GLFW bindings in C#):

Second link (GLFW binaries download page):

Third link (OpenGL binding in C#):

Fourth link (Sample HelloTriangle program):

0:00 Introduction
0:25 Downloading files
2:02 Setting up a Visual Studio Project
4:34 Importing OpenGL bindings
5:36 Testing a HelloTriangle program
7:49 It all works!
8:00 What now?

#OpenGL #GLFW #gamedev
Рекомендации по теме
Комментарии
Автор

a youtuber that actually takes his time to describe stuff? yes. thanks so much for this video!

aliiiiiiiiiiiiiiiiiii
Автор

This is the first time of my LIFE, that I have imported a library into visual studio on the first try! Great video!

FilipGrujic-
Автор

I struggled with trying to get a c++ OpenGL project to work, with no success, and this video helped not only to get OpenGL to work, but also in c#, so I don't have to learn c++! Thank you so much!

PS.: I would very much be interested in c# OpenGL tutorials for starters! Thank you!

ferenccseh
Автор

I really wanna see more, I love this! You should make a tutorial series!

jamesb
Автор

awesome video! I was looking into learning openGL a couple weeks ago and wanted to use C# instead of C++ but the barrier of setting things up put me off just enough to not go through with it; glad I looked again and found this, really looking forward to using learnopengl and seeing the other videos you put out :)

Corncycle
Автор

Hey, danc. I really wanted to thank you for this series so far. I've been through hours of linear algebra and openGl tutorials, but I never could wrap my head around how all the matrtix transformations worked until you layed everything out in this series.

I hope you find the time to put in some more episodes.

roostermaind
Автор

Very nicely done! A lot less painful than I thought it would be 😆

notme
Автор

Wow, this actually worked first try for me, and that's super rare!

setaindustries
Автор

First, I wanted to say thank you for this. Been wanting to get into graphics programming for a while now and wanted to use C# instead of C++, as it is a grumpy old man and in turn makes me grumpy.

jeffreyhicks
Автор

fantastisk video, kommer funka bra med mitt projekt

ainamk
Автор

Please continue the series it was really awesome

tndev
Автор

I really like this tutorial it is really good for showing you how to give people sishers

TheSecretDev
Автор

Thanks, just what I needed to get started!

David_Kelly_SF
Автор

Works fantastic, exactly as easy to get working as in the video, even with Visual Studio Code. Thanks a lot, I'm an amateur programmer and these kinds of tutorials usually end with me pulling my hair out.

Elikatie
Автор

Hi, I have recently tried this on a linux environment and everything worked up until the final error at 7:05. Even though I tried glfw, glfw3 and glfw3.dll none of it worked. Before this it would run fine. Here is the error

Exception thrown: 'System.DllNotFoundException' in projone.dll
Exception thrown: in projone.dll

`Exception has occurred:
An unhandled exception of type occurred in projone.dll: 'The type initializer for 'GLFW.Glfw' threw an exception.'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception System.DllNotFoundException : Unable to load shared library 'glfw' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libglfw: cannot open shared object file: No such file or directory
at GLFW.Glfw.Init()
at GLFW.Glfw..cctor() in #1/projone/GLFW/Glfw.cs:line 34`

interesting
Автор

I've renamed the string to glfw3, but it show me BadImageFormatException (HRESULT: 0x8007000B) :(((

EDIT: The error was that I was using 32-bit build binary from default (idk why)

PietroSanta
Автор

Thanks a lot for this tutorial! Where I can find documentation for this dotnet library?

МаксимЛавриненко-ьи
Автор

When I go to create my project like you did at 2:25, "Console App (.NET Core)" is not one of the options. I tried to figure it out myself but I got all caught up in the differences between .NET Framework and .NET Core, and I'm not even sure which version I have. How do I get the same project type you used?

mostlydaniel
Автор

Thank you so much for creating this video!

ekimyukselbaba
Автор

Looks pretty nice i think i will try This out!

KingProductions..
join shbcf.ru