Ultibo game programming

Anything and everything about programming graphics with Ultibo
Gavinmc42
Posts: 1662
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Wed May 15, 2019 8:33 am

This compiled and ran clean on Windows.
https://forum.lazarus.freepascal.org/in ... 908.0.html
Next try Linux and Raspbian ;)

Apparently it does not use any other libraries except LCL.
How much of the LCL stuff needs to be changed?
Is it just Forms and Canvas?

First thing I need to do is change to higher contrast colours, my eyes are too old.
Gavinmc42
Posts: 1662
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Wed May 15, 2019 8:45 am

Probably best to look for framebuffer games?
http://ptcpas.sourceforge.net/

Oh dear, google found me again, almost 2 years ago.
Interesting to see what has been done or not done in those years. ;)
Gavinmc42
Posts: 1662
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Fri Jul 19, 2019 6:17 am

OpenGL based, runs very fast on my PC, how fast on a Pi4?
https://github.com/Udo/Delphi-Terrain-OpenGL

Port to Laz/Free Pascal on a Pi4 first.
Then see if it can be ported to OpenGLES on 3B+.

This one makes a terrain map from a bit map.
https://www.codeproject.com/articles/14 ... troduction
Lazpaint can make a bitmap from Perlin noise ;)

Now that I have a Pi that does OpenGL all those books/examples are now relevant.
Will this OpenGL stuff be usable in Ultibo?
Depends how fast I can learn to port OpenGL to OpenGLEs or Garry and team get Ultibo/OpenGL working on a Pi4.
Gavinmc42
Posts: 1662
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Fri Jul 19, 2019 7:03 am

Not sure why I buried this one in a JPEG200 post?
http://vterrain.org/
Gavinmc42
Posts: 1662
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Fri Jul 19, 2019 11:20 am

Just waiting for this to install in Lazarus.
https://wiki.freepascal.org/GLScene

Not sure how clean it is, but Free Pascal is always surprising me.
Has some interesting examples.

If OpenGL works on Pi4 in Ultibo one day :D
Anyway, having fun learning OpenGL on a Pi4.
Gavinmc42
Posts: 1662
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Mon Jul 29, 2019 4:17 am

Povray is not too bad on a Pi4.
Someone needs to make a GUI for it on Linux.

Edit- just had my first thermal throttling, finally putting this Pi4 to the test :lol:
Gavinmc42
Posts: 1662
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Mon Jul 29, 2019 7:23 am

hansotten
Posts: 64
Joined: Thu Feb 04, 2016 7:07 am

Re: Ultibo game programming

Postby hansotten » Mon Jul 29, 2019 7:48 am

Gavin,

It would be nice if you keep your posts a bit more ... on-topic.

Now it looks more like a personal (chaotic) log/mind dump, mostly not Ultibo related and not really containing much content.

Your posts all over the place generate a lot noise for me, and noise makes me loose control of what does interest me in a topic

Sorry to be so rude, but please?
Gavinmc42
Posts: 1662
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Ultibo game programming

Postby Gavinmc42 » Mon Jul 29, 2019 8:48 am

Now it looks more like a personal (chaotic) log/mind dump, mostly not Ultibo related and not really containing much content.

Yep, sorry, I get told I'm brain dumping all the time on the Pi forums.
Mostly it is me thinking out aloud, but it is also me floundering about in the deep end trying to learn this stuff.

There is also another reason, I am finding my memory is not as good as it used to be.
So googling my own posts has become a sort of memory cathedral.
When I find useful or one day might be useful stuff I link it.
6 or 12 months later google finds me.

Although some of this is not directly Ultibo yet, I intend it to be in the future.

Er, I did think skyboxes was on topic for gaming?

I am also not sure if 50 years of exposure to a heavy metal might have something to do with it?
hansotten
Posts: 64
Joined: Thu Feb 04, 2016 7:07 am

Re: Ultibo game programming

Postby hansotten » Mon Jul 29, 2019 9:45 am

Gavinmc42 wrote:
Now it looks more like a personal (chaotic) log/mind dump, mostly not Ultibo related and not really containing much content.

Yep, sorry, I get told I'm brain dumping all the time on the Pi forums.
Mostly it is me thinking out aloud, but it is also me floundering about in the deep end trying to learn this stuff.

There is also another reason, I am finding my memory is not as good as it used to be.
So googling my own posts has become a sort of memory cathedral.
When I find useful or one day might be useful stuff I link it.
6 or 12 months later google finds me.

Although some of this is not directly Ultibo yet, I intend it to be in the future.

Er, I did think skyboxes was on topic for gaming?

I am also not sure if 50 years of exposure to a heavy metal might have something to do with it?


Yup, I do recognise the problem. We all have that. That why we keep notebooks, personal notes, use context retrieval systems, search our disks, google.

It seems you choose a quite inefficient (and annoying for others, I do read the RPi forum and see others tell you also) method: dump your thought all over the internet and let google retrieve them!
I fear that the Ultibo forum will get less attractive to the high SNR (Sound to Noise Ratio) this generates.

It may help to make a personal blog and keep your memories in one place. Get a free (Wordpress e.g.) blog account and write there. Some of my personal websites are like that.

Please, think before you post: is is on topic, relevant, a serious Ultibo question or answer please post If it is just a mind dump or the usual noise do not post!

Hans
Last edited by hansotten on Sun Aug 04, 2019 10:50 am, edited 1 time in total.

Return to “Graphics”

Who is online

Users browsing this forum: No registered users and 1 guest