Recent

Poll

What is your favorite projects?

ShakingPix
3 (27.3%)
SmileyTunnel
2 (18.2%)
SolarDemo
0 (0%)
Tikan
2 (18.2%)
Demovox
0 (0%)
Lainzdemo
0 (0%)
Lainzmixer
1 (9.1%)
Landrgblaz
2 (18.2%)
Nxpascaldemo2
0 (0%)
Paintphantom
0 (0%)
Water3d
1 (9.1%)

Total Members Voted: 11

Author Topic: Graphics Contest  (Read 63677 times)

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Graphics Contest
« Reply #15 on: June 01, 2016, 10:18:16 am »
Oh and nice dragon :D

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Graphics Contest
« Reply #16 on: June 02, 2016, 11:15:44 am »
I think I should participate and use Allegro.pas.  Also, I have to join the wiki and add links to Allegro.pas everywhere...  ::)

Nice dragon, indeed.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Graphics Contest
« Reply #17 on: June 03, 2016, 12:34:58 am »
Here is my little example, done in three evenings. It's the first version of a pictureview / slideshow with moved pictures. I call it ShakingPix.

You can download here: https://github.com/Michl1/ShakingPix, also attached here.

Tested with Lazarus Trunk and Lazarus 1.6 32/64bit Windows/Linux.

To compile ShakingPix, you need at least:

Lazarus 1.6, BGRABitmap 8.9.2 (older versions not tested)
Linux: OpenGL libraries See: https://en.wikibooks.org/wiki/OpenGL_Programming/Installation/Linux

Steps to compile the project:

Start Lazarus.
Before you open the project, you have to install package LazOpenGLContext 0.0.1 (from Lazarus repository) and BGLControls from BGRABitmap.
Open the project and compile it (use the release version). Hope it work for you too.

You can select a directory for the images by right click on the form.
For full screen, you can double click on form (works mostly only one time, a bug, I have to search for).
You can switch the maximum picture size (width/height) by a Spinedit (also little Sizes are nice).

 ;) Have fun :)
« Last Edit: June 03, 2016, 12:42:47 am by Michl »
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest
« Reply #18 on: June 03, 2016, 12:48:43 am »
Amazing job Michl!

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Graphics Contest
« Reply #19 on: June 03, 2016, 12:19:00 pm »
Clean code and interesting result Michl.
It seems this time is harder contest :D

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: Graphics Contest
« Reply #20 on: June 03, 2016, 03:22:11 pm »
I like this shaking pix demo  :)
Conscience is the debugger of the mind

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Graphics Contest
« Reply #21 on: June 03, 2016, 08:30:24 pm »
Thanks a lot for the feedback!  :)

So it sounds for me, it runs on your machines. Thats nice!

If you have some problems, please report. It was the first time, that I used the package BGLControls and I like it.
I also have some ideas to enhance and speed up the program, will see...
Interesting for me would be, on what for a system you tested the code.

Hope some more people will share some code.
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest
« Reply #22 on: June 03, 2016, 08:32:21 pm »
Tested under Windows 10 x64, 8 gb ram, i7-.

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Graphics Contest
« Reply #23 on: June 03, 2016, 08:36:42 pm »
An me same as lainz

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Graphics Contest
« Reply #24 on: June 03, 2016, 10:58:26 pm »
I've only tested Windows 7. Nice to hear, it works for Windows 10 too.
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest
« Reply #25 on: June 12, 2016, 05:25:44 pm »
Almost a month left to the end of the contest, please submit :)

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: Graphics Contest
« Reply #26 on: June 15, 2016, 05:31:02 pm »
I'll participate on nxPascal then  :)  Took a while to come up with an idea but there is one now, will see how it goes. Just 1 tip: it relates to gravity.

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: Graphics Contest
« Reply #27 on: June 15, 2016, 05:47:25 pm »
Hi! I am a bit late on this contest. However I will have more time now so will be able to do my thing.
Conscience is the debugger of the mind

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: Graphics Contest
« Reply #28 on: June 15, 2016, 06:00:10 pm »
And me too.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Graphics Contest
« Reply #29 on: June 16, 2016, 03:07:16 pm »
Nice, waiting to see your 3 projects :)

 

TinyPortal © 2005-2018