Mac Swift - CIFilter and Fragment Shader (Apple MetalView)

Описание к видео Mac Swift - CIFilter and Fragment Shader (Apple MetalView)

Still working on my own TextHeightmap Solution.
No luck.

It means, I still need to use CIFilter.

Step 1
Load a Blank Text Image to the metalView
(define Current URL)

Step 2
Using the current URL to generate
an internal temporary png file,
by using CIHeightFieldFromMask,
(Dest. Url will be used to reload MetalView)


Step 3
Load the temporary file, to metalView

Step 4
Select a shading image, and apply effect
using fragment shader.

================================================
Similarly,
Rotate by degrees, Reduce Size
and
RedEye Removal effect.

================================================
Notes:

Optional(8) on console display,
indicate current image is 8 bit(s) colorDepth.

My GT710 have problem with 16Bit image,
May be? hardware related, no idea yet.
I need to install a better graphics card, retest.

for now, 16bit images will be converted as 8Bit.

The resources for 16Bit Samples
https://testimages.org

================================================

Resources
XC10.1 10.14.3
CC0 and downloaded images (Testing Purposes)


If you need a sample app to test the snippets,
go here

https://www.flickr.com/photos/1314113...
look for Apple MetalView Renderer Test


===================
C# project on Linux?
see this
   • .NET Core Development Setup on Linux ...  
by Douglas Starnes

I may take a look at Linux C#,
after June 2019.

Комментарии

Информация по комментариям в разработке