Const.me
Posts: 9
Joined: Sat Mar 14, 2020 6:30 pm

Vrmac Graphics

Mon May 18, 2020 12:54 pm

I’ve created a freeware cross-platform graphics library for .NET which runs on Pi4 on Raspbian Buster.

On Linux it uses GLES 3.1, and supports both 3D and 2D graphics. It supports fast and high-quality text rendering with ClearType-like subpixel antialiasing. It includes cross-platform .NET API for mouse and keyboard input.

https://github.com/Const-me/Vrmac

DavidSmitis
Posts: 1
Joined: Thu Jun 18, 2020 6:24 am

Re: Vrmac Graphics

Thu Jun 18, 2020 6:26 am

Hello! And can this kind of graphics be used to create volumetric icons? And if the ability to add an image other than text?

Const.me
Posts: 9
Joined: Sat Mar 14, 2020 6:30 pm

Re: Vrmac Graphics

Tue Jun 23, 2020 5:13 pm

DavidSmitis wrote: Hello! And can this kind of graphics be used to create volumetric icons? And if the ability to add an image other than text?
You can, but if you want the 3D icons to look good, you’ll have to spend some time writing HLSL shaders, and adjusting material parameters. I have not implemented higher-level parts of 3D engine like materials or lights. It’s technically possible to add, I would have probably started with something like this http://www.orsvarn.com/entry/pbr-shader/ but I have not done it.

About images, here’s a sample that renders a bunch of 2D textures loaded from png, jpeg or tiff files:
https://github.com/Const-me/Vrmac/blob/ ... sSample.cs

But overall, I’m not sure it’s such a good fit for your task. I don’t know why you need GPU at all.

Essentially, the library I’ve published is ARM Linux re-implementation of MS Direct3D, Direct2D and DirectWrite. You can render anything at all with them, combined they represent almost complete graphics stack of Windows, but they’re quite low level. Even game developers are rarely using Direct3D these days, they normally use off-the-shelf game engines which wrap Direct3D into something higher level.

Return to “OpenGLES”