Author Topic: OPENGL & GFX CARD VERSION INFORMATION  (Read 3315 times)

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1578
  • Particle Hawk
    • View Profile
This program reports information about your video card and opengl version information.
OpenGL Version
GLSL Version
GFX Card Vendor
GFX Card Model
And GFX Card OpenGL supported extensions.

The Information is stored into a text file, which is created in the .app program directory

edit: this code is updated July 2012 for use with GLBasic version 10

http://www.glbasic.com/forum/index.php?action=dlattach;topic=3631.0;attach=5292

[attachment deleted by admin]
« Last Edit: 2012-Jul-30 by Hemlos »
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

gavendortt

  • Guest
Re: OPENGL & GFX CARD VERSION INFORMATION
« Reply #1 on: 2009-Oct-10 »
I can't use Printscreen, it didn't capture anything, just a black screen. Also, the font are very tiny, almost when I place the screen in 640x480 ( My screen is 1360x768 by default ) so it is very difficult to read.

But except that, very useful. Can be use for an auto-detect configuration.  :good:

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1578
  • Particle Hawk
    • View Profile
Re: OPENGL & GFX CARD VERSION INFORMATION
« Reply #2 on: 2009-Oct-10 »
Ya it should be very handy to sort out GLSL ability.
Theres 4 versions. 1.2 1.3 1.4 1.5
This will allow for a programmer to do some interesting things for 3d cards.

Try using print screen 3 or 4 times sequentially.
I dont know why, but this should help..has soemthings to do with the way opengl works.


« Last Edit: 2009-Oct-11 by Hemlos »
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1750
    • View Profile
    • Homepage
Re: OPENGL & GFX CARD VERSION INFORMATION
« Reply #3 on: 2009-Oct-11 »
If you can't do screen capture with print screen, check what other programs/tools are running, there are some that will interfere with the clipboard. I never have problem with screencapture on GLBasic programs but I do have some troubles at work if there is a VNC connection about to time out.

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1578
  • Particle Hawk
    • View Profile
Re: OPENGL & GFX CARD VERSION INFORMATION
« Reply #4 on: 2012-Jun-22 »
Old post, old code, useful code. updated for use with current ide.
Last ide compiled was v.7 glbasic, 2009. heh.
« Last Edit: 2012-Jun-22 by Hemlos »
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

MrTAToad

  • Guest
Re: OPENGL & GFX CARD VERSION INFORMATION
« Reply #5 on: 2012-Jun-22 »
Excellent!