OpenGL.Net icon indicating copy to clipboard operation
OpenGL.Net copied to clipboard

UWP example

Open JimSEOW opened this issue 8 years ago • 7 comments

I search for UWP opengl in c# and I found this site as there is underlying ANGLE. Could you do a simple UWP c# example.

JimSEOW avatar Jul 13 '16 19:07 JimSEOW

https://github.com/lwansbrough/OpenGL.Net/tree/master/OpenGL.UWP

JimSEOW avatar Sep 09 '16 12:09 JimSEOW

I noticed that branch. I don't know much about UWP, but you can contribute to it, if you're interested.

luca-piccioni avatar Sep 09 '16 22:09 luca-piccioni

@luca-piccioni could you provide a UWP XAML InterOp using OpenGL.NET for Angle?

JimSEOW avatar Aug 06 '17 22:08 JimSEOW

My Visual Studio installations are complaining about I'm not running on Windows 10. Apparently it is mandatory to develop on Windows 10 for creating a UWP library. I've no chance to run UWP applications.

Currently I'm playing around .NET standards with VS2017. From this page, I can assert that you need .net std 1.4, isn't? This may be helpful?

Otherwise you can create a PR adding the appropriate project.

luca-piccioni avatar Aug 06 '17 22:08 luca-piccioni

FYI: UWP will reach .NET standard 2.0 by FALL. (W10 Creative Fall update).

JimSEOW avatar Aug 06 '17 23:08 JimSEOW

@luca-piccioni

Looking through your latest codes. I wonder if it is possible to replace GLControl based on System.Windows.Forms.UserControl to one that is based on e.g. WPF: System.Windows.Controls.UserControl

This would eventually make it easier to port WinForm based GLControl to UWP UserControl based GLControl through the WPF UserControl based GLControl

Please see some of the discussion here

JimSEOW avatar Sep 23 '17 18:09 JimSEOW

I’m a professional UWP dev who’s interested in this for a side project. I’ll take a look at what I can do to get this to work. I know MS provides a rendering surface for DirectX in UWP so there is probably a good way to make this work.

mmratio avatar Mar 11 '18 21:03 mmratio