Граф коммитов

70 Коммитов

Автор SHA1 Сообщение Дата
Dylan Perks 621475a6f2
[2.0] Overload overhaul (#275)
* Start of overload overhaul

* Initial overload overhaul commit, two left to implement

* Span overloads

* String[] overloads

* Apply suggestions from self code review

* Update MSVC

* Commit bindings

* Remove stale code & shrink JSON size as a result
2020-08-21 16:25:36 +01:00
Dylan Perks fac8c30943
1.0-2.0 catchup 2020-08-17 14:18:51 +01:00
Dylan Perks a7da0ff840
Fix exceptions being thrown when there is no error in the tutorials (#271)
* Fix exceptions being thrown when there is no error in the tutorials

* Review fixes
2020-08-16 14:13:31 +01:00
Dylan Perks cb7a3463b3
[2.0] Windowing refactor (#254)
* Potential extension system for windowing?

* Revert "Potential extension system for windowing?"

This reverts commit f4f5b801ac.

* Windowing refactor complete

* Move GLFW out into its own package

* Do the same for input

* Reset

* Revert "Make Silk.NET.Input.Desktop pass-through to the Silk.NET.Input package"

This reverts commit f5d322a095.

* Revert "Move Silk.NET.Input.Desktop into the main Silk.NET.Input package"

This reverts commit 87555501d8.

* Revert "Make Silk.NET.Windowing.Desktop pass-through to the new package"

This reverts commit 76818b28f1.

* Revert "Move Silk.NET.Windowing.Desktop into the main Silk.NET.Windowing project"

This reverts commit 6204355d0f.

* Fix reverts

* Reintroduce the abstraction, start refactor again, package independence!

* Refactor complete

* Fix double reset

* Update src/Input/Silk.NET.Input.Common/Axis.cs

* Update src/Input/Silk.NET.Input.Common/Silk.NET.Input.Common.csproj

* Update src/Input/Silk.NET.Input.Common/InputWindowExtensions.cs

* Update src/Windowing/Silk.NET.Windowing.Common/Window.cs

* Update src/Windowing/Silk.NET.Windowing.Glfw/GlfwWindow.cs

Co-authored-by: HurricanKai <herrucan.schmitt@gmail.com>

* Update src/Windowing/Silk.NET.Windowing.Common/Silk.NET.Windowing.Common.csproj

* Local fixes

* Internals are now internal

* Nuke the internals namespace (for the public) entirely

* Fix a System using that was uncalled for

* Update src/Windowing/Silk.NET.Windowing.Common/Internals/WindowImplementationBase.cs

* Update src/Windowing/Silk.NET.Windowing.Common/Internals/ViewImplementationBase.cs

* Update src/Input/Silk.NET.Input.Common/Deadzone.cs

Co-authored-by: HurricanKai <herrucan.schmitt@gmail.com>

Co-authored-by: HurricanKai <herrucan.schmitt@gmail.com>
2020-07-22 21:29:00 +01:00
RhysWhy ded69639e8
Create Tutorial 3.5 - Light Maps (#245)
* start of Tutorial 3.5 - Light Maps

* Initial 3.5 tutorial commit as a clone of 3.4

* Addition of diffuse texture and specular texture with shaders updated to use them
2020-07-17 20:52:08 +02:00
RhysWhy eae459e826
Improve Tutorial Camera Controls (#240) 2020-07-16 17:54:02 +02:00
RhysWhy bb0d206441
Add Time property to Window (#232)
* Initial pass of adding Time property to Window

* Move Time property to IView, make it get only, and change the backing to a stopwatch rather than glfwGetTime for simplicity. Updated tutorial 2.1 to use window.Time to demonstrate functionality

* Just Stop the timer, no need to reset it
2020-07-14 22:53:00 +01:00
RhysWhy 1f3fb0cf99
Addition of 3.4 Tutorial to demonstrate Materials for lighting (#234) 2020-07-14 22:56:14 +02:00
RhysWhy 68964dff71
Addition of the 3.3 Tutorial for Specular lighting in the lighting fragment shader (#233) 2020-07-14 22:30:21 +02:00
RhysWhy acecde8e88 Update MathHelper to use floats exclusively and refactor code and comments in Program.cs to be more descriptive 2020-07-14 17:46:01 +01:00
RhysWhy 37d1ef1c47 Move the fNormal to the World Coordinates and account for vertex scaling 2020-07-13 16:59:34 +01:00
RhysWhy ce81b760df Add Tutorial3.2 for Diffuse lighting. Additional cleanup of unused variables, usings, and images in the 3.1 tutorial 2020-07-13 16:52:12 +01:00
RhysWhy 59f627d81d
Create Tutorial 3.1 for Ambient Lighting (#225)
* start of tutorial3.1

* Change 2.x tutorials to use project reference instead of Silk.NET Nuget package

* Move Camera logic into specific Camera class to reduce clutter in the main Program to make it easier to see the lighting specific parts of the tutorial

* Demonstration of a Coral coloured cube with low ambient lighting and a 'Lamp' cube of pure white to show where light will be coming from in the future
2020-07-12 13:24:49 +01:00
Calvin Wilkinson b9634f714f
#210 - Start of updating obsolete methods in example projects (#212)
* #210 [WIP] - Start of updating obsolete methods in example projects

* Update SuperInvoke from version v1.0.4 to v1.1.0 for Silk Core project

* Change tutorial projects refs to project refs instead of nuget ones

* Use the window object as the param for the GetApi calls

* Updated ImageSharp nuget from v1.0.0-beta0007 to v1.0.0-rc0003

* Adjusted use of ImageSharp method reference due to API change

* Remove unused using

* Implement PR #212 Changes
2020-07-11 11:46:52 +01:00
RhysWhy f057c16d99
Create Tutorial 2.2 to demonstrate Camera basics (#221)
* start of tutorial2.2

* Rename Tutorial 1.6 to Tutorial 2.1 to align with planned documentation sections

* Add Tutorial2.2 to demonstrate moving the viewport with WASD, looking around with Mouse movement, and Zooming in and out with the Scroll Wheel
2020-07-09 20:19:31 +01:00
RhysWhy d1385a9a5f
Addition of the 1.6 Tutorial for Co-ordinate Systems to the Examples (#218)
* Addition of the 1.6 Tutorial for Co-ordinate Systems into the Examples folder

* Update SixLabours.ImageSharp to the latest release candidate
2020-07-05 15:26:46 +01:00
Void ea883de9e0
[WIP] More XML documentation (#157)
* Start of XML documentation

* More XML

* Binder outputs with missing XML warning disabled

The team hasn't agreed on whether or not to do this yet, but I'm adding it temporarily so that I can see the issues that actually need to be fixed. This can be reverted later if the team decides against it.

* Run Using optimization on the solution

* Cleanup API constructors

* Remove unused class

* More comments

* More comments

* Making progress

* Remove unneeded inheritdocs since missing XML is ignored

* More stuff

* Change WorkArea back to Workarea

* Fix incorrect documentation on SetWindowSizeCallback

* Re-add D0 as an alias for Number0

* Even more

* Some heavy cleanups

* So much cleanup

* Even more

* Remove unused class

* jesus christ

Co-authored-by: DMP9 <dylanperks23@gmail.com>
2020-04-30 18:15:36 +01:00
DMP9 7081be3b59
Update tutorials to use Silk.NET 1.1.1 2020-04-19 21:11:38 +01:00
Void 5c7e99742e
Rename all shaders to fix crash (#156) 2020-04-04 01:25:31 +01:00
frederikja163 ce70bb8a48
Tutorial chapter 1 (#144)
* added chapter one source

* 1-1, 1-2 updated

* tutorial 1.3 partly updated

* 1.3 fully, 1.4 and 1.5 converted too

* comments added

* fixes from perkseys review
2020-03-21 22:56:18 +00:00