Recent

Poll

Vote: What's the best project of this year?

"ball" by raw
1 (3.7%)
"bgragraphics" by j-g (pocket watch)
2 (7.4%)
"duplo6" by bylaardt
7 (25.9%)
"glslideshow" by handoko
2 (7.4%)
"mariocronch" by ericktux
0 (0%)
"movingdots" by lainz
1 (3.7%)
"movingdotsgl" by lainz
0 (0%)
"relogio" by bylaardt
5 (18.5%)
"starsfieldshooter" by turrican
0 (0%)
"steampunkclock" by bylaardt
1 (3.7%)
"sudoku" by user137
5 (18.5%)
"furiouspaladin" by handoko
3 (11.1%)
"educrace" by lulu
0 (0%)

Total Members Voted: 26

Author Topic: Graphics Contest 2017, please vote now!  (Read 199927 times)

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: Graphics Contest 2017
« Reply #90 on: June 15, 2017, 01:14:53 pm »
My entry for the 'Animation' section is now available for you to download from www.crescentcomputing.co.uk/lainz.

There is one .ZIP file - BGRA Graphics.ZIP - which contains all the Laz generated files plus Screen-shots, .PNG Images, The CorelDRAW! file and a 32bit executable.

As there are no text clues such as TButtons cluttering the main image, I've added a comment at the top of the .PAS file to explain the thinking and controls.

I hope I've remembered everything - you'll no doubt let me know otherwise :)

Nice!

It's show high CPU usage on a I5-4590 @ 3'3 GHZ.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest 2017
« Reply #91 on: June 16, 2017, 02:34:49 pm »
Thanks for the correction :)

My entry for the 'Animation' section is now available for you to download from www.crescentcomputing.co.uk/lainz.

There is one .ZIP file - BGRA Graphics.ZIP - which contains all the Laz generated files plus Screen-shots, .PNG Images, The CorelDRAW! file and a 32bit executable.

As there are no text clues such as TButtons cluttering the main image, I've added a comment at the top of the .PAS file to explain the thinking and controls.

I hope I've remembered everything - you'll no doubt let me know otherwise :)

Amazing as always J-G! I've run the .exe under Ubuntu Linux with Wine, despite it shows a shadow around the clock (it's only on Ubuntu) it works very well.
« Last Edit: June 16, 2017, 03:28:42 pm by lainz »

J-G

  • Hero Member
  • *****
  • Posts: 953
Re: Graphics Contest 2017
« Reply #92 on: June 16, 2017, 02:59:20 pm »
Thanks for the correction :)
Thought you might like that :)  You know I hold the opinion that if you don't correct, you accept - and that helps no-one.
Quote from: lainz
Amazing as always J-G!
I'm not sure I would apply that epithet but thanks.
Quote from: lainz
I've run the .exe under Ubuntu Linux with Wine, despite it shows a shadow around the clock (it's only on Ubuntu) it works very well.
I got a little excited at first read  -  I missed the mention of Wine :)  -  cross-compiling to native Linux and Android are aspirations.
FPC 3.0.0 - Lazarus 1.6 &
FPC 3.2.2  - Lazarus 2.2.0 
Win 7 Ult 64

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest 2017
« Reply #93 on: June 16, 2017, 03:28:19 pm »
Quote
I got a little excited at first read  -  I missed the mention of Wine :)  -  cross-compiling to native Linux and Android are aspirations.
Yes, I think is not possible because your application uses Windows dll's. You must find a cross-platform way doing the same (transparency).

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: Graphics Contest 2017
« Reply #94 on: June 18, 2017, 07:22:03 pm »
Lots of interesting projects.

I realise I am not keeping up with the contest. How much time left?
Conscience is the debugger of the mind

fred

  • Full Member
  • ***
  • Posts: 201
Re: Graphics Contest 2017
« Reply #95 on: June 18, 2017, 07:38:17 pm »
From page 1: "So the deadline this year is until 1 September 2017."
From Calendar Magic:
*** Days between Dates - Jun 18, 2017 and Sep 1, 2017 ***
Difference = 75 days = 2 months 14 days

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Graphics Contest 2017
« Reply #96 on: June 18, 2017, 08:42:49 pm »
I made glSlideshow - a simple slideshow using Lazarus TOpenGLControl, to show how to use OpenGL to do animations.

My knowledge about OpenGL is very limited, so far the transition effects supported are:
- Slide In
- Fade To Background
- Ribbon

Limitations:
- No support for resizing and full screen preview
- No sound effect
- Max. 5 slides
- Cannot save project
- Cannot remove slide
- Only jpeg image is supported

Hope this code can be useful for someone who wants to learn OpenGL.

--- edit ---

I forgot to mentioned, to be able to compile this code, you need to enable LazOpenGLContext on your Lazarus:
Lazarus main menu > Package > Install/Uninstall Packages > on right panel, select: LazOpenGLContext 0.0.1 > click: Install selection > Save and rebuild IDE.

I built this program using Lazarus 1.6.4 on Linux PC. For Linux users, you need to instal libgl1-mesa-dev library. The code didn't use any OS specific functions, I'm not sure but I think it should be able to compile on Windows machines too.
« Last Edit: June 20, 2017, 05:18:27 am by Handoko »

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest 2017
« Reply #97 on: June 19, 2017, 09:09:35 pm »
Hi Handoko, I'm a new Linux user for a month or less, I can't rebuild lazarus when I try to install OpenGL package. Any ideas? I'm on Ubuntu.

Eugene Loza

  • Hero Member
  • *****
  • Posts: 663
    • My games in Pascal
Re: Graphics Contest 2017
« Reply #98 on: June 19, 2017, 09:16:56 pm »
Hi Handoko, I'm a new Linux user for a month or less, I can't rebuild lazarus when I try to install OpenGL package. Any ideas? I'm on Ubuntu.
What is the problem you're experiencing? Is this "Error while linking"? If yes, get Lazarus 1.8.0RC2, debian packages are fixed there.
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest 2017
« Reply #99 on: June 19, 2017, 09:19:49 pm »
Hi Handoko, I'm a new Linux user for a month or less, I can't rebuild lazarus when I try to install OpenGL package. Any ideas? I'm on Ubuntu.
What is the problem you're experiencing? Is this "Error while linking"? If yes, get Lazarus 1.8.0RC2, debian packages are fixed there.

Thanks I will do. Seems that also there's a library needed to be installed in the system according to this
http://forum.lazarus.freepascal.org/index.php/topic,35807.msg237482.html#msg237482

Done. That was the missing library.

@Handoko, well done! Thanks for your demo.  :)
« Last Edit: June 19, 2017, 09:26:11 pm by lainz »

Eugene Loza

  • Hero Member
  • *****
  • Posts: 663
    • My games in Pascal
Re: Graphics Contest 2017
« Reply #100 on: June 19, 2017, 09:29:29 pm »
Seems that also there's a library needed to be installed in the system according to this
http://forum.lazarus.freepascal.org/index.php/topic,35807.msg237482.html#msg237482

You'll also need:
libgtkglext1
libgtkglext1-dev


Usually you'll also need (actually they're usually available in the OS already):
libpng
libpng-dev
zlib1g
zlib1g-dev


and if you need not only OpenGl:
libopenal1
libopenal-dev
libvorbis
libvorbis-dev
libfreetype6
libfreetype6-dev


and of course libgl1-mesa-dev, as Handoko mentioned.
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest 2017
« Reply #101 on: June 19, 2017, 11:08:18 pm »
Thanks. Seems a list for a complete application with compressed images and audio, plus text support.

For the Handoko application just using libgl1-mesa-dev was enough, also I didn't change lazarus 1.6 (I will do when needed).

LazarDan

  • Newbie
  • Posts: 1
Re: Graphics Contest 2017
« Reply #102 on: June 23, 2017, 08:06:45 am »
Hi
I believe all ready late for this graphic content , but I want to ask when will be the next one. I'm graphic designer and looking for contests like this. Can you please let me know?
 

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Graphics Contest 2017
« Reply #103 on: June 23, 2017, 08:54:14 am »
Hello LazarDan,
Welcome to the forum.

You still has about 2 months. If you can't finished it before the deadline, there should be similar contest again in 2018.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest 2017
« Reply #104 on: June 23, 2017, 09:14:24 pm »
Hi
I believe all ready late for this graphic content , but I want to ask when will be the next one. I'm graphic designer and looking for contests like this. Can you please let me know?

Remember that's a graphics contest with programming if you don't already know it.

 

TinyPortal © 2005-2018