Recent

Author Topic: BGRA Contest  (Read 66373 times)

circular

  • Hero Member
  • *****
  • Posts: 4221
    • Personal webpage
Re: BGRA Contest
« Reply #15 on: July 14, 2015, 08:15:43 pm »
There are 4 people in the contest for now as far as I know.
Conscience is the debugger of the mind

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: BGRA Contest
« Reply #16 on: July 14, 2015, 08:24:08 pm »
you don't want to participate circular? ;)

BitBangerUSA

  • Full Member
  • ***
  • Posts: 183
Re: BGRA Contest
« Reply #17 on: July 14, 2015, 09:08:44 pm »
Quote
kewl contest...

as i've not done anything with BGRABitmap, i haz a sad.
You have time,Please do.

actually, i don't... a good % of my 'free' time is better used studying to a Cisco Cert...
but i look forward to what others do with the contest.
Lazarus Ver 2.2.6 FPC Ver 3.2.2
Windows 10 Pro 64-bit

circular

  • Hero Member
  • *****
  • Posts: 4221
    • Personal webpage
Re: BGRA Contest
« Reply #18 on: July 14, 2015, 09:29:57 pm »
@aradeonas: I've counted myself  8)
Conscience is the debugger of the mind

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: BGRA Contest
« Reply #19 on: July 15, 2015, 12:58:04 am »
Quote
@aradeonas: I've counted myself  8)
Very very good.

lainz

  • Hero Member
  • *****
  • Posts: 4473
    • https://lainz.github.io/
Re: BGRA Contest
« Reply #20 on: July 15, 2015, 08:40:32 pm »
Hi everyone,

As maybe you already know, this is my participation for the Rendering category
http://forum.lazarus.freepascal.org/index.php/topic,29038.msg182716.html#msg182716

...
I'll keep my submission video but I'll optimize my code to keep it more readable and faster.

Now I've made another version
- Runs from start to finish in real time
- Internal resolution can be set (default 320 by 240)
- Everything is inside an object and commented
- Calculations of position and other stuff is precalculated
- Runs faster at any resolution (default 1024x768)

It looks more retro even by the default internal resolution. Also I've trimmed the 'crazy stuff' when the Koala recovers the color. And also the credits are more visible now. Its a nicer version :)

Download (Source and pre compiled win32)
Edit: I've optimized it a bit more thanks to circular for help http://forum.lazarus.freepascal.org/index.php/topic,29072.msg182956/topicseen.html#new

This is the new download:
http://sourceforge.net/projects/lainz007/files/by007_koala_final.7z/download

circular

  • Hero Member
  • *****
  • Posts: 4221
    • Personal webpage
Re: BGRA Contest
« Reply #21 on: July 17, 2015, 11:17:31 pm »
That's cool stuff 007. You still have much time to add things to your project. Either before, after, during, ...

So people, let's say the contest starts now! So you are invited to start to do your programming for this contest.

Some people are clearly participating, others are considering it.

You can join later if you like. The only thing is that you have less time if you start later. But you can still get a good result. And in fact, most people are not available everyday so your exact start date is not very important.

We need to decide of an end date. This date can be something like the 17th of august. What do you think?
Conscience is the debugger of the mind

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: BGRA Contest
« Reply #22 on: July 17, 2015, 11:28:28 pm »
I think its enough time for every one wants to participate.
And like contests RUN!
007 start faster than us and done a very good job but I will come :D

lainz

  • Hero Member
  • *****
  • Posts: 4473
    • https://lainz.github.io/
Re: BGRA Contest
« Reply #23 on: July 17, 2015, 11:36:39 pm »
I'll keep Koala as is. Video + the 2 source codes (video one and realtime one).

I'll do another one! Since there's no limit of projects. The last one I'll publish one of the lasts days of the contest.

17th august is fine for me.

lainz

  • Hero Member
  • *****
  • Posts: 4473
    • https://lainz.github.io/
Re: BGRA Contest
« Reply #24 on: July 19, 2015, 05:54:39 pm »
Hi, I've created a repository on GitHub where all the participations will be uploaded in time. (GitHub because it's easy, just install and clone and commit.. you know).

Here:
https://github.com/bgrabitmap/bgracontest

I've uploaded my participations
- by007_koala (source and video source)
- by007_target

This is my last participation by007 "Target" Video:
https://www.youtube.com/watch?v=giHRejMyd20&feature=youtu.be

Is what you want to be :) Compile the source and play with your mouse at the rhythm of your favourite music (open in your favourite music player first..) and enjoy!

Credits: all two bitmaps are made by me, except the background that's a free background from somewhere.
Music: Ipanema Daydream (YouTUBE Music Library).
« Last Edit: July 19, 2015, 06:01:45 pm by 007 »

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: BGRA Contest
« Reply #25 on: July 19, 2015, 06:39:31 pm »
Its great,Thank you 007.You are very good at FX.

lainz

  • Hero Member
  • *****
  • Posts: 4473
    • https://lainz.github.io/
Re: BGRA Contest
« Reply #26 on: July 19, 2015, 09:53:39 pm »
Thanks :)

Without bgrabitmap I can't even imagine how to do it.

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Wall of covers
« Reply #27 on: July 20, 2015, 09:19:44 am »
Welcome to the Wall of covers!

Name: Wall of covers.
Category: UI design (Controls,Animation,Rendering and others).
Author: Ara
Platforms : In theory every graphical platform that Lazarus and FreePascal support but checked only in Windows 8 and Ubuntu.
Description: This application is a fake music player that shows a beautiful wall made of album covers while playing music.
Idea: A proof of concept of if I can make a slightly complicated UI like Zune player with Lazarus and BGRAbitmap.
How it works: It will use covers in the covers folder for making a random wall and for that it will resize them and make them black and white and then put a big effect on all the wall made with some gradients and in the end show some controls,also don't forget to animate the covers!

How to use:
1) Run application.
2) Sit back.
3) And watch!
4) Don't forget to play with buttons.
5) When you tired of this or want to check the source press esc or back button.

Some notes:
-This is a demo of WallOfTiles and its not made especially for a music player so you can use it differently .
-All the works are in real time and take me a while to optimize it.
-If you delete covers it shows you random colors and I like it if you make BlackAndWhite option off.
-Animations are random so take some time to show that,also they made with AnimateEasing easing library.
-All the times and options are configurable.
-Buttons are vector and paint in real time so you can make them any size you want.
-I'm not a professional developer and I this code hasn't any comment so if you have questions let me know.
-If you want to make this application real player please let me know.
-Its mainly a fake application so everything is just for testing so don't except playing music!

Known problems and wishes:
-Not truly random,I used Random function and try to make everything random but honestly I don't like it much,I wish to make it better.Yes I know computers don't make truly random numbers but there is ways to make it better in this application.
-Slow gradient,it take time to make a main effect and I want to make it live so change colors in a while but I couldnt because it is slow.
-Its not moving! I like to move wall very slowly like a moving camera and it needs moving lower than 1 pixel at a time and I try that but it lose quality so I removed it.If anyone want to give it a try make BitmapX and BitmapY into single and change them in TimerOnTimer  and probably you should use PutImageSubpixel in RedrawBitmapContent instead of PutImage.
-Slow cover resize,I used resemble but if there is way to make it faster I be more than happy.I used it mainly in Effects.

Thanks to:
-Circular for the lovely BGRAbitmap and who ever help him and his kind helps.
-BGRAcontrols authors.
-007 for helping me as always and great contest idea.
-Appzgear for icons.
-Norbert Mereg because of AnimateEasing.
-Who made album covers.
-Zune designer and it's developers for making such a beautiful application.
-And who ever I forgot to thanks ;)

for more info take a look at source.

Download links:
Executable (Windows)
Source and executable (Windows)
Source

lainz

  • Hero Member
  • *****
  • Posts: 4473
    • https://lainz.github.io/
Re: BGRA Contest
« Reply #28 on: July 20, 2015, 03:14:52 pm »
This is one of the finesse applications I ever seen!

Everything is on place, and you even used vector buttons. And is fullscreen!

About speed, welcome to the software render :) But maybe circular knows how to speed up things. Maybe using a precomputed gradient and applying a filter to it to swap colors you can do what you want.

I'm adding it to the bgracontest repository.

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: BGRA Contest
« Reply #29 on: July 20, 2015, 03:36:38 pm »
Thank you  :P

Gradient will compute only one time and even for animation I will crop the gradient and paint it one time but problem is in first time compute that take time even I make gradient simpler.

 

TinyPortal © 2005-2018