Recent

Author Topic: New 2D StarField  (Read 2708 times)

440bx

  • Hero Member
  • *****
  • Posts: 5592
Re: New 2D StarField
« Reply #15 on: June 04, 2025, 10:12:19 pm »
I'm sending you the link to the video, so you can watch the performance.
But... how does your demonstration prove anything about Pascal/FPC ? libXMP is written in C and it is reasonable to presume that, it is that library that is mostly, if not entirely, responsible for the performance.

Can you make a demo like the one in your video using _pure_ Pascal/FPC ?

Also, if you give credit to the language used, in this case Pascal, then it seems reasonable that you provide the source code for the results to be verified by others.

(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

Gigatron

  • Sr. Member
  • ****
  • Posts: 293
  • Amiga Rulez !!
Re: New 2D StarField
« Reply #16 on: June 04, 2025, 10:37:02 pm »
You are absolutely right.
I did not manage to get the same performance with the pascal code without directly using the Windows API. So I'm going to change the description. Thank you
Sub Quantum Technology ! Pascal - C - C# - GD  Script - Java - Javascript - Glsl - Lua - Html5 - CSS - Amiga Rules !

440bx

  • Hero Member
  • *****
  • Posts: 5592
Re: New 2D StarField
« Reply #17 on: June 04, 2025, 11:31:58 pm »
You are absolutely right.
I did not manage to get the same performance with the pascal code without directly using the Windows API. So I'm going to change the description. Thank you
You're welcome, anytime.  I'm pleased you see the point.

ETA:

Just for the record, I think that using the Windows API to implement your demo is perfectly reasonable and valid.
« Last Edit: June 04, 2025, 11:44:34 pm by 440bx »
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

Gigatron

  • Sr. Member
  • ****
  • Posts: 293
  • Amiga Rulez !!
Re: New 2D StarField
« Reply #18 on: June 09, 2025, 02:36:17 am »
Hi,

I am working on an new Library project using Windows Api to include some Amiga like
effects.
If you want to see the exemple here is the YT Link;

https://www.youtube.com/watch?v=rb4r65ZWbaQ
Sub Quantum Technology ! Pascal - C - C# - GD  Script - Java - Javascript - Glsl - Lua - Html5 - CSS - Amiga Rules !

440bx

  • Hero Member
  • *****
  • Posts: 5592
Re: New 2D StarField
« Reply #19 on: June 09, 2025, 02:55:55 am »
That looks quite nice.

Do you plan on eventually sharing the library ?  Aside from being useful, it would be very educational (at least to me.)
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

Gigatron

  • Sr. Member
  • ****
  • Posts: 293
  • Amiga Rulez !!
Re: New 2D StarField
« Reply #20 on: June 09, 2025, 12:54:42 pm »
That looks quite nice.

Do you plan on eventually sharing the library ?  Aside from being useful, it would be very educational (at least to me.)

Hi,

Absolutely, soon I'm going to start a new topic on this library and start step by step,
that way you can see the progress.
A library only dedicated to Amiga effects, was that my dream:)
Sub Quantum Technology ! Pascal - C - C# - GD  Script - Java - Javascript - Glsl - Lua - Html5 - CSS - Amiga Rules !

440bx

  • Hero Member
  • *****
  • Posts: 5592
Re: New 2D StarField
« Reply #21 on: June 09, 2025, 01:03:15 pm »
Hi,

Absolutely, soon I'm going to start a new topic on this library and start step by step,
that way you can see the progress.
A library only dedicated to Amiga effects, was that my dream:)
That sounds great.  I'm looking forward to it.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018