Lazarus

Announcements => Third party => Topic started by: BlackShark on May 18, 2019, 08:22:16 am

Title: Black Shark Graphics Engine
Post by: BlackShark on May 18, 2019, 08:22:16 am
Hello!

I am hurry to share my first official release!
 
Black Shark Graphics Engine is a simple 2D and 3D engine written in Pascal for developers to produce applications utilising hardware-accelerated graphics. It supports Lazarus (versions >= 2.0) and Delphi (Community Edition 10.3, another versions haven't been tested).

More information on my site: bshark.org (http://bshark.org)

Best regards,
BlackShark
Title: Re: Black Shark Graphics Engine
Post by: BlackShark on May 28, 2019, 10:13:04 am
New minor version 1.01:
- found and removed a bug in build of a path;
- edited test of KD-tree - it was reduced 2d level displayed objects, otherwise they intersect scrollbars;
- gallery was updated.

Best regards,
BlackShark
Title: Re: Black Shark Graphics Engine
Post by: nouzi on May 28, 2019, 02:24:07 pm
BlackShark  nice job
i test this library 

It works but it is a small problem
Example :
When you test a fish or globe scene and go to another scene and go back the graphic disappears
Title: Re: Black Shark Graphics Engine
Post by: nouzi on May 28, 2019, 02:42:53 pm

I think it's a leak in  memory
Title: Re: Black Shark Graphics Engine
Post by: BlackShark on May 28, 2019, 03:02:03 pm
BlackShark  nice job
i test this library 

It works but it is a small problem
Example :
When you test a fish or globe scene and go to another scene and go back the graphic disappears

Thank you!

I have found out: some tests with a canvas rotate a frustum for its testing, but when you return back to 3d-test, the frustum remains rotated. If you will insert
Code: Pascal  [Select][+][-]
  1. Scene.Frustum.Angle := vec3(0.0, 0.0, 0.0);
when the test is creating you get the same image what you saw in begining.
I will think about the problem.
Title: Re: Black Shark Graphics Engine
Post by: nouzi on May 28, 2019, 03:29:52 pm
I think it's a leak in  memory
start application                                                Memory ~ 73.972
after change screen  to test  mesh                   Memory ~ 74.308
after back to screen  to test  Eath  mesh          Memory ~ 73.492
after back to screen  to test  mesh                   Memory ~ 73.516
after back to screen  to test  Eath  mesh          Memory ~ 73.648
after change screen  to test  mesh                   Memory ~ 74.696
after back to screen  to test  Eath  mesh          Memory ~ 73.676

   test         | Eath  mesh  |   mesh   
--------------------------------------------
                  |   73.972       | 74.308
                  |   73.492       | 73.516
                  |   73.648       | 74.696
                  |   73.676       |

                             
                                                             
                                                             
                                                             
                                                                         



Title: Re: Black Shark Graphics Engine
Post by: BlackShark on May 28, 2019, 08:43:28 pm
I think it's a leak in  memory
start application                                                Memory ~ 73.972
after change screen  to test  mesh                   Memory ~ 74.308
after back to screen  to test  Eath  mesh          Memory ~ 73.492
after back to screen  to test  mesh                   Memory ~ 73.516
after back to screen  to test  Eath  mesh          Memory ~ 73.648
after change screen  to test  mesh                   Memory ~ 74.696
after back to screen  to test  Eath  mesh          Memory ~ 73.676

   test         | Eath  mesh  |   mesh   
--------------------------------------------
                  |   73.972       | 74.308
                  |   73.492       | 73.516
                  |   73.648       | 74.696
                  |   73.676       |

There are not leaks: memory is swimming slightly, but on 4-5 iteration of select of the tests remains on the same level. Furthermore, in Delphi I always use ReportMemoryLeaksOnShutdown := true and there memory leaks are not shown. Any way, thank you very much for testing.

I improved a little more:
- was improved mechanism releasing of textures - texture-singleton is released if it is not used already;
- 3d tests were changed - it added reset of the frustum orientation;
Title: Re: Black Shark Graphics Engine
Post by: BlackShark on July 02, 2019, 03:21:31 pm
Hello!

I am glad to announce new version 1.02 of my engine (bshark.org (http://bshark.org)):

The version while hasn't tested on Linux.

Best regards,
BlackShark
Title: Re: Black Shark Graphics Engine
Post by: Akira1364 on July 02, 2019, 05:22:10 pm
Nice! Always great to see more libraries in this category for Pascal, especially ones as fully featured as yours.
Title: Re: Black Shark Graphics Engine
Post by: BlackShark on July 02, 2019, 08:25:58 pm
Nice! Always great to see more libraries in this category for Pascal, especially ones as fully featured as yours.
Thank you for kind words! I hope it will be useful for someone.
Title: Re: Black Shark Graphics Engine
Post by: devEric69 on July 03, 2019, 11:02:47 am
Quote
Thank you for kind words! I hope it will be useful for someone.

Most likely for 3D losers, like me. Thank you very much :) .
Title: Black Shark Graphics Engine
Post by: BlackShark on May 03, 2021, 04:14:10 pm
I am glad to announce new version 2.0 of my engine bshark.org (http://bshark.org):

Best regards,
BlackShark
Title: Re: Black Shark Graphics Engine
Post by: Delphi100 on May 06, 2021, 04:34:12 am
Great Works!
Can you increase the anti-aliasing function of the image? :)
like C# GDI+:
 graphics.SmoothingMode = SmoothingMode.AntiAlias;
Title: Re: Black Shark Graphics Engine
Post by: BlackShark on May 10, 2021, 10:03:26 am
Great Works!
Thanks!
Can you increase the anti-aliasing function of the image? :)
like C# GDI+:
 graphics.SmoothingMode = SmoothingMode.AntiAlias;
I have concentrated the settings in the class bs.config.BSConfig and will continue to expand them there. Now unfortunately there is only one options of smoothing. I will try to improve smoothing modes, for example add the number of samples for supersampling. I also want to add to the settings other methods of full screen antialiasing that I previously implemented on shaders.
Title: Re: Black Shark Graphics Engine
Post by: Akira1364 on May 15, 2021, 08:47:04 pm
Your website seems to be offline, currently.
Title: Re: Black Shark Graphics Engine
Post by: BlackShark on May 16, 2021, 09:00:33 am
Your website seems to be offline, currently.
Thanks!
I'm figuring with this problem. Today I'm planning a new release.
Title: Re: Black Shark Graphics Engine
Post by: BlackShark on May 16, 2021, 02:33:23 pm
I am glad to present a new minor version 2.01 of my engine https://bshark.org (https://bshark.org):

if you have a problem initialization in Linux, try to accomplish the next commands:
     
Code: Text  [Select][+][-]
  1.         sudo apt-get install libgles2-mesa-dev
  2.         sudo apt-get install libgles-dev  

I'm reminding that in Windows x64 you need to replace libEgl.dll and libGLESv2.dll from "bin\Win64".

Best regards,
BlackShark
Title: Re: Black Shark Graphics Engine
Post by: BlackShark on May 17, 2021, 10:50:44 am
Video about test of KD-tree in the engine: https://youtu.be/MVrxn3jQs1U (https://youtu.be/MVrxn3jQs1U)
TinyPortal © 2005-2018