Recent

Author Topic: Black Shark Graphics Engine  (Read 14613 times)

BlackShark

  • New Member
  • *
  • Posts: 21
    • BlackShark
Re: Black Shark Graphics Engine
« Reply #30 on: November 16, 2021, 04:12:00 pm »
BlackShark, your test program has errors at compilation time on Linux64 Lazarus 2.2.0rc3 and fpc 3.2.2 in bs.test.instancing, lines 313 and 320 (the second parameter of vec2 is tvec2i64 and tvec2f expected). I had to typecast it as int32 to see it in action.

fixed https://bshark.org/downloads:
  -TBSTestCollada - register of file name fixed;
  -TBSTestInstancing2d - cast to TVec2f fixed;

Thanks!

funlw65

  • Full Member
  • ***
  • Posts: 116
    • Visual Pin Configurator for Nucleo 64pin boards
Re: Black Shark Graphics Engine
« Reply #31 on: November 16, 2021, 08:28:27 pm »
Thank you for the library, is awesome!
Lazarus 2.2.0rc3 fpc 3.2.2, Linux, UNIX BSD
widgetset: gtk2, msegui, qt5,  bgrabitmap controls
Immediate mode GUI: raygui 3.0

BlackShark

  • New Member
  • *
  • Posts: 21
    • BlackShark
Black Shark Graphics Engine
« Reply #32 on: January 17, 2022, 10:25:00 am »
I am glad to present a new version 3.0 of Black Shark Graphics Engine https://bshark.org/downloads:
  • all dependencies on LCL/VCL/FMX were removed from all units, for except "bs.viewport";
  • a new pure Black Shark application (see examples "/tests/delphi/BSApplication" and "/tests/lazarus/BSApplication"); it is also supported by delphi for linux target compilation;
  • a new own system of windows (see example "bs.test.windows.TBSTestWindows" through command line parameters in "BSApplicatoin");
  • a performance was improved for applications based on TBlackSharkViewPort (LCL/VCL);
  • a new own decoder of PNG images;
  • automatically support of 32-bit indexes was added for the mesh (for high polygonal meshes); if amount indexes to occur more 65536, then buffer indexes translates from 16-bit to 32-bit format;
  • bs.font - range errors were fixed (the errors appear in mode compiling "Range check error");
  • a new property "bs.renderer.TBlackSharkRenderer.FPS";
  • improve performance for TPath and its descendants: a path with thickness 1 pixel draws through GL_LINE_STRIP;
  • bs.align - a fix for right/bottom anchor;
  • Channel in Telegram: https://t.me/BSharkGE

Best regards,
BlackShark
« Last Edit: January 18, 2022, 11:50:26 pm by BlackShark »

funlw65

  • Full Member
  • ***
  • Posts: 116
    • Visual Pin Configurator for Nucleo 64pin boards
Re: Black Shark Graphics Engine
« Reply #33 on: January 18, 2022, 04:47:20 am »
"all dependencies on LCL/VCL/FMX were removed"

This is great. I'll give it a try after finishing the current project.
Lazarus 2.2.0rc3 fpc 3.2.2, Linux, UNIX BSD
widgetset: gtk2, msegui, qt5,  bgrabitmap controls
Immediate mode GUI: raygui 3.0

BlackShark

  • New Member
  • *
  • Posts: 21
    • BlackShark
Re: Black Shark Graphics Engine
« Reply #34 on: February 06, 2022, 04:52:01 pm »
Hi!
A new version 3.02:
+ TPath was improved:
   + a support of multi color;
   + draws strokes if to set property StrokeLength > 0;
   + because of it changes in TPath, TPathMultiColored was marked as deprecated;
+ BSConfig.MaxFPS switched on for "tests/delphi/VCL/AppTestVCL" and "tests/lazarus/LazTests" projects;
+ now default behavior for TBlackSharkViewport - if BSConfig.MaxFPS is switch off then redraw occurs only when it receives events from OS.

I opened a repository the engine for everybody on github.com:
https://github.com/PVV-BS/BlackShark

Download:
https://bshark.org/downloads

Best regards,
BlackShark

funlw65

  • Full Member
  • ***
  • Posts: 116
    • Visual Pin Configurator for Nucleo 64pin boards
Re: Black Shark Graphics Engine
« Reply #35 on: February 06, 2022, 06:23:42 pm »
Thank you!
Lazarus 2.2.0rc3 fpc 3.2.2, Linux, UNIX BSD
widgetset: gtk2, msegui, qt5,  bgrabitmap controls
Immediate mode GUI: raygui 3.0

 

TinyPortal © 2005-2018