Re: [Lazarus] Lazarus for writing 3D Desktop Environment/Window manager for Linux?

2021-06-24 Thread Graeme Geldenhuys via lazarus
On 24/06/2021 1:52 pm, Chavoux Luyt via lazarus wrote:
> The idea is a "game-like" first-person shooter interface where
> instead of a desktop with various virtual desktops or a start menu, you
> have a house (or a castle or whatever) in which you move, open different
> doors with different rooms,

If I recall correctly, something like this was already done back in the
late 90's, early 2000's by SUN using Java. I believe it was called
Project Looking Glass. Just searched the internet, and found this.

 https://en.wikipedia.org/wiki/Project_Looking_Glass

I remember playing with it, flipping a web browser window
and making notes on the back of it. It also had some virtual file manager
etc. It was all WAY ahead of it's time. No idea why it got canned though.

As for if FPC + Lazarus is up for the task Definitely!

The modern OpenGL is pretty straight forward to use. There are plenty
of binding you can use. There are also some nice Game Programming
tutorials on YouTube where they even show how to write your our
"game engine" of sorts. They use Java or C programming languages, but
the core of OpenGL usage is exactly the same, no matter the programming
language you use.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus for writing 3D Desktop Environment/Window manager for Linux?

2021-06-24 Thread Sven Barth via lazarus
Chavoux Luyt via lazarus  schrieb am Do.,
24. Juni 2021, 14:53:

> (although it would have been nice if Lazarus could add packages like
> Delphi without needing to recompile the whole IDE - compile the package to
> a .dll or .so and simply link into it from the IDE?).
>

Simply using ordinary libraries would fall spectacularly short of what you
desire. The package system as known from Delphi allows the metadata of
types to be shared between binary modules, something that you *can't* do
with libraries. If it would be that easy it would have been done already.

Instead that functionality requires intensive support by both the compiler
and the RTL. We are on our way there, but we aren't there yet. Sooner or
later that will come in Lazarus as well.

Regards,
Sven

>
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus for writing 3D Desktop Environment/Window manager for Linux?

2021-06-24 Thread R.Smith via lazarus

On 2021/06/24 14:52, Chavoux Luyt via lazarus wrote:


Questions:

 1. Is it possible to write a 3D desktop environment (with similar
functionality to KDE/Gnome) in Lazarus?
 2. Is Lazarus a good tool for writing such a desktop environment?
Why/why not?
 3. Are there better alternatives that can use OpenGL (or a game
engine using OpenGL) that can be used for writing such a Desktop
Environment (if Lazarus is not a good tool)?
 4. I have installed (but never used) Castle Game Engine (using
aptitude... but I don't see it in Lazarus). Does anyone here have
experience using it? Could it be used as the basis of writing a 3D
"desktop environment"?
 5. Is there anybody on the list that would be interested in helping
to write this as a new type of user OS GUI for Linux? Maybe as the
startĀ of a future GSoC project?


It's certainly possible.

I used to play with this long ago when they made a 3D desktop on WIndows 
98 still - was called 3DNA and the link below here is a recent review of it.

https://www.youtube.com/watch?v=f-0WZJrISYc

It looks simplistic by today's standards but it was much better than wat 
the 3D bob thing on the windows store tries to do (which I also tried 
and hated). You may get a good few ideas for how a 3D space could be 
less finicky and more useable.


Unfortunately my hands are a bit full to devote much time to it, but 
wouldn't mind chipping in some and most certainly would be a user/tester.


Good luck with it!


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus for writing 3D Desktop Environment/Window manager for Linux?

2021-06-24 Thread Michael Van Canneyt via lazarus



On Thu, 24 Jun 2021, Chavoux Luyt via lazarus wrote:


Hi

Background:
I have played a bit with Lazarus over the years, but have never used it to
write any big or commercial projects (I have used both older versions of
Delphi, C++ Builder and Visual Studio with C# for that). However, it seems
to me as if modern Lazarus has everything and more than Delphi (although it
would have been nice if Lazarus could add packages like Delphi without
needing to recompile the whole IDE - compile the package to a .dll or .so
and simply link into it from the IDE?). KDE (Plasma), XFCE and Fluxbox (MX
Linux versions) are my current favourite desktop environments, but I am
feeling increasingly frustrated with especially the larger desktop
environments (including Windows 10) and want to replace it with an
interface that makes use of the 3D capabilities of most (all?) modern
computers. The idea is a "game-like" first-person shooter interface where
instead of a desktop with various virtual desktops or a start menu, you
have a house (or a castle or whatever) in which you move, open different
doors with different rooms, like e.g. an office (where all your typical
office programs (and files in filing cabinet) would be stored, a
entertainment room (with your music and video software and files), etc.
This interface will also be more future-proof than the current desktop
metaphor, allowing for e.g. virtual reality displays instead of a screen as
your computer-human interface.

I really like object Pascal as a language (and Lazarus in particular)...

Questions:

  1. Is it possible to write a 3D desktop environment (with similar
  functionality to KDE/Gnome) in Lazarus?
  2. Is Lazarus a good tool for writing such a desktop environment?
  Why/why not?
  3. Are there better alternatives that can use OpenGL (or a game engine
  using OpenGL) that can be used for writing such a Desktop Environment (if
  Lazarus is not a good tool)?
  4. I have installed (but never used) Castle Game Engine (using
  aptitude... but I don't see it in Lazarus). Does anyone here have
  experience using it? Could it be used as the basis of writing a 3D "desktop
  environment"?


I think the castle game engine is your best shot at achieving success with
this project.

Michael.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus for writing 3D Desktop Environment/Window manager for Linux?

2021-06-24 Thread Chavoux Luyt via lazarus
Hi

Background:
I have played a bit with Lazarus over the years, but have never used it to
write any big or commercial projects (I have used both older versions of
Delphi, C++ Builder and Visual Studio with C# for that). However, it seems
to me as if modern Lazarus has everything and more than Delphi (although it
would have been nice if Lazarus could add packages like Delphi without
needing to recompile the whole IDE - compile the package to a .dll or .so
and simply link into it from the IDE?). KDE (Plasma), XFCE and Fluxbox (MX
Linux versions) are my current favourite desktop environments, but I am
feeling increasingly frustrated with especially the larger desktop
environments (including Windows 10) and want to replace it with an
interface that makes use of the 3D capabilities of most (all?) modern
computers. The idea is a "game-like" first-person shooter interface where
instead of a desktop with various virtual desktops or a start menu, you
have a house (or a castle or whatever) in which you move, open different
doors with different rooms, like e.g. an office (where all your typical
office programs (and files in filing cabinet) would be stored, a
entertainment room (with your music and video software and files), etc.
This interface will also be more future-proof than the current desktop
metaphor, allowing for e.g. virtual reality displays instead of a screen as
your computer-human interface.

I really like object Pascal as a language (and Lazarus in particular)...

Questions:

   1. Is it possible to write a 3D desktop environment (with similar
   functionality to KDE/Gnome) in Lazarus?
   2. Is Lazarus a good tool for writing such a desktop environment?
   Why/why not?
   3. Are there better alternatives that can use OpenGL (or a game engine
   using OpenGL) that can be used for writing such a Desktop Environment (if
   Lazarus is not a good tool)?
   4. I have installed (but never used) Castle Game Engine (using
   aptitude... but I don't see it in Lazarus). Does anyone here have
   experience using it? Could it be used as the basis of writing a 3D "desktop
   environment"?
   5. Is there anybody on the list that would be interested in helping to
   write this as a new type of user OS GUI for Linux? Maybe as the start of a
   future GSoC project?

Cheers,
Chavoux
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus