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 200525 times)

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Graphics Contest 2017, please vote now!
« Reply #345 on: September 03, 2017, 03:58:56 am »
Thank you Akira. I saved the file and will learn it properly when I am not busy.

But I'm curious why you used TSplitter for the resizing, why no directly resize it on FormResize?

Not sure what you mean. Having TSplitters on the right and bottom side of the TPanel that the TOpenGLControl is sitting in allows the user to freely resize it to absolutely any width and height that they might want within the form. "Doing it in FormResize" would mean I would be doing some kind of rough arbitrary calculation based on what I think the width and height should be set to based on the size of the form.

Hi, well seems that the votes reached the limit of 27

lol the maximum number of votes a forum poll can have is specifically 27? Why?
« Last Edit: September 03, 2017, 05:11:38 am by Akira1364 »

J-G

  • Hero Member
  • *****
  • Posts: 953
Re: Graphics Contest 2017, please vote now!
« Reply #346 on: September 03, 2017, 11:01:03 am »
Hi, well seems that the votes reached the limit of 27
lol the maximum number of votes a forum poll can have is specifically 27? Why?

 :D  I suspect that this is a case of many nations divided by a common language  :D

I have the advantage of being a native English speaker and sometimes have to re-read comments to appreciate the real meaning of what is said and I am always aware that your (anyone!!) use of English is vastly superior to my use of your native language!

I think lainz was saying "It seems unlikely that we will get any more than the 27 votes already cast, so I'll close the poll" rather than "There is a limit of 27 votes on any poll"
FPC 3.0.0 - Lazarus 1.6 &
FPC 3.2.2  - Lazarus 2.2.0 
Win 7 Ult 64

Thaddy

  • Hero Member
  • *****
  • Posts: 14367
  • Sensorship about opinions does not belong here.
Re: Graphics Contest 2017, please vote now!
« Reply #347 on: September 03, 2017, 12:20:52 pm »
Hm #27 is the ESC key.... :-* O:-) :D
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Graphics Contest 2017, please vote now!
« Reply #348 on: September 03, 2017, 02:56:55 pm »
I think lainz was saying "It seems unlikely that we will get any more than the 27 votes already cast, so I'll close the poll" rather than "There is a limit of 27 votes on any poll"

That's it. I don't know if in Spanish it makes sense :D It's just my speech.

J-G

  • Hero Member
  • *****
  • Posts: 953
Re: Graphics Contest 2017, please vote now!
« Reply #349 on: September 03, 2017, 03:32:22 pm »
I think lainz was saying "It seems unlikely that we will get any more than the 27 votes already cast, so I'll close the poll" rather than "There is a limit of 27 votes on any poll"
That's it. I don't know if in Spanish it makes sense :D It's just my speech.

Google tells me that would be "Parece poco probable que obtengamos más de los 27 votos ya emitidos, así que cerraré la encuesta"

.. but I have no idea if that is anything like you would actually use in everyday speech  :D
FPC 3.0.0 - Lazarus 1.6 &
FPC 3.2.2  - Lazarus 2.2.0 
Win 7 Ult 64

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Graphics Contest 2017, please vote now!
« Reply #350 on: September 03, 2017, 03:59:54 pm »
I think lainz was saying "It seems unlikely that we will get any more than the 27 votes already cast, so I'll close the poll" rather than "There is a limit of 27 votes on any poll"

Well yeah, I was quite certain there was no way the limit was actually 27. Just figured I'd make a joke about it rather than directly question what he meant.... Native English speaker here as well, by the way.

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Graphics Contest 2017, please vote now!
« Reply #351 on: September 03, 2017, 04:01:26 pm »
I think lainz was saying "It seems unlikely that we will get any more than the 27 votes already cast, so I'll close the poll" rather than "There is a limit of 27 votes on any poll"

Well yeah, I was quite certain there was no way the limit was actually 27. Just figured I'd make a joke about it rather than directly question what he meant.... Native English speaker here as well, by the way.

Thanks for the joke, really I need to practice or read what I write twice :D

I think lainz was saying "It seems unlikely that we will get any more than the 27 votes already cast, so I'll close the poll" rather than "There is a limit of 27 votes on any poll"
That's it. I don't know if in Spanish it makes sense :D It's just my speech.

Google tells me that would be "Parece poco probable que obtengamos más de los 27 votos ya emitidos, así que cerraré la encuesta"

.. but I have no idea if that is anything like you would actually use in everyday speech  :D

Another misunderstanding, I was talking about my original sentence (missing new line?), that indeed it has no correct sense. In the other hand your sentence is perfect in both languages.
« Last Edit: September 03, 2017, 04:50:00 pm by lainz »

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Graphics Contest 2017, please vote now!
« Reply #352 on: September 03, 2017, 05:33:44 pm »
Yikes! The zip file I uploaded yesterday had a slightly old copy of "frmMain.pas" with a not-quite-complete version of the procedure that loads slideshow lineups from file. I just switched it out for a copy that contains the up-to-date version. Please re-download, if you already have. A link to the post, again:
https://forum.lazarus.freepascal.org/index.php/topic,35313.msg255447.html#msg255447

Handoko

  • Hero Member
  • *****
  • Posts: 5151
  • My goal: build my own game engine using Lazarus
Re: Graphics Contest 2017, please vote now!
« Reply #353 on: September 03, 2017, 06:34:17 pm »
Thanks for informing us. Downloaded and saved it in my 'must study' folder.

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Graphics Contest 2017, please vote now!
« Reply #354 on: September 03, 2017, 08:02:38 pm »
No problem!

Has anyone not using Windows actually built and run it yet? Just asking as I think everything should work properly on other platforms, but I'm not 100% sure as I don't have access to any non-Windows machines with Lazarus right now that I could use to test it.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Graphics Contest 2017, please vote now!
« Reply #355 on: September 03, 2017, 09:46:28 pm »
Has anyone not using Windows actually built and run it yet? Just asking as I think everything should work properly on other platforms, but I'm not 100% sure as I don't have access to any non-Windows machines with Lazarus right now that I could use to test it.
Builds fine (requires enough experience building complete project with dependencies from just unit files, though, not really friendly), but upon running I got:
Code: [Select]
X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    155 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
so the OpenGLContext canvas doesn't load. Tried running using primusrun (this is an optimus laptop), I got:
Code: [Select]
primus: warning: glXSwapBuffers: no current context
but at least the canvas turns black.
« Last Edit: September 03, 2017, 09:51:24 pm by Leledumbo »

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Graphics Contest 2017, please vote now!
« Reply #356 on: September 03, 2017, 11:14:46 pm »
Builds fine (requires enough experience building complete project with dependencies from just unit files, though, not really friendly), but upon running I got:
Code: [Select]
X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    155 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
X Error: GLXBadContext 169
  Extension:    155 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x5400018
X Error: 0 0
  Extension:    155 (Uknown extension)
  Minor opcode: 26 (Unknown request)
  Resource id:  0x0
so the OpenGLContext canvas doesn't load. Tried running using primusrun (this is an optimus laptop), I got:
Code: [Select]
primus: warning: glXSwapBuffers: no current context
but at least the canvas turns black.

What Linux distro and widgetset are you using, exactly? I know Handoko has previously been able to run my version on what appeared to be the GTK2 widgetset, although I'm not sure what variety of Linux he was on. Are you able to pinpoint the line of code it specifically fails at via debugging? Also, are the error messages you posted actually fatal? (As in you literally had to immediately close the application after getting them.) If not, what happens when you attempt to go ahead and load images/play the slideshow? Lastly, are you able to run Handoko's last update of the project without issues? As I've said before, I haven't used any GL extensions that came out any later than 1997/1998 or so, so there should be no real difference in hardware requirements between his version and mine.

As far as not including the project files, my intention was for people to simply make a copy of an existing glSlideShow project folder (most likely the original one, assuming they had already downloaded it) and drop my changed files into it and just add BGRABitmap to the requirements. No one seems to find that as obvious as I thought it was though, so I might just start including the LPI and LPR.
« Last Edit: September 04, 2017, 12:21:42 am by Akira1364 »

bylaardt

  • Sr. Member
  • ****
  • Posts: 309
Re: Graphics Contest 2017, please vote now!
« Reply #357 on: September 04, 2017, 12:00:36 am »
What Linux distro and widgetset are you using, exactly? I know Handoko has previously been able to run my version on what appeared to be GTK2, although I'm not sure what variety of Linux he was using. Are you able to pinpoint at what line of the code it specifically fails via debugging?
work fine on gtk2.
qt = black/transparent canvas. 

Winners:
1° "duplo6" by bylaardt
2° "relogio" by bylaardt and "sudoku" by user137
3° "furiouspaladin" by handoko

About the votes by forum message reply: I think each participant received his feedback in the comments.
First cheat in Double6 game: early closure of this contest. :-[

Special thanks to Circular et al. by the excellent work in the bgrabitmap library used in the double6, clock and steampunkclock.

My vote was not computed in the poll because I was expecting the final version of the slideshow. I have not decided yet between slideshow and sudoku.

About the reviews:
I had learn a lot with you guys, especialy about code organization (yep, my codes are a mess - i admit)
I really appreciate each projects here, except one, but i will'nt say wich is, because raw may don't like this (oops!).
Sometimes you don't need a solution: you just need a little inspiration to do something great, and here you can get a lot of good things.

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Graphics Contest 2017, please vote now!
« Reply #358 on: September 04, 2017, 12:08:12 am »
work fine on gtk2.
qt = black/transparent canvas. 

Thanks! That's quite helpful. I'll take a look at how the QT version of TOpenGLControl is implemented, and also at how BGRABitmap loads images under QT. 

Edit: Just to be sure, I'm assuming you're talking about QT4? As the QT5 widgetset is as far as I know still in something of a "work in progress" status... Also, can anyone confirm whether or not TOpenGLControl does "generally" function properly under QT to begin with in most situations? That would be a good starting point! Haha.
« Last Edit: September 04, 2017, 02:17:46 am by Akira1364 »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Graphics Contest 2017, please vote now!
« Reply #359 on: September 04, 2017, 02:53:18 am »
What Linux distro and widgetset are you using, exactly? I know Handoko has previously been able to run my version on what appeared to be the GTK2 widgetset, although I'm not sure what variety of Linux he was on.
BINGO! Qt seems to have problem ATM (probably because Manjaro has bleeding edge Qt5), but GTK2 is unaffected. Now the problem is just during the transition images are upside down, but in correct position when done.

 

TinyPortal © 2005-2018