OpenGL graphics as smooth as Vulkan on this laptop

Started by Pfaber11, April 21, 2022, 03:30:18

Previous topic - Next topic

Pfaber11

Note this is Awesome for me I guess some of you may know of this . Let me fill you in . When I use Vulkan with setvsync(1) I get awesome smooth graphics and now I get them exactly as smooth with OpenGL on this computer . Before with OpenGL they were clunky when turning on the spot through 360 not any more at all. It's made my day . And I will explain straight after a cup of coffee. This makes AGK Studio the King for me .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

Pfaber11

Right I shall try and copy and paste my pieces of code for you to try this is in AGK Studio by the way . Here it goes .

if getrenderername()="OpenGL"
fast=0
//setsyncrate(0,0)
setvsync(-1)
endif[code]

    Put this at the start .



Then halve the amount you move by like 1 down to .5   .


Then this at the end

This code before sync() and print(fps or whatever)

[code]
jump68:
vu=vu+1
if vu=2
vu=0
goto skip5
endif

[/code][/code]
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

Pfaber11

Oh yeah and this right at the start.
#renderer"Basic"
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

Pfaber11

Hey Qube I Hope you try my code with AGK It's made a world of difference on my laptop the stats are below .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

Pfaber11

A very interesting result . No judder then turning . This is with 128mb Intel UHD intergrated but with it's own memory .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

Pfaber11

Oh by the way it may be you already had good graphics with OpenGL but I didn't but I do now. What do you think?
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

Pfaber11

Haven't tried it with classic but it might be of use.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

Pfaber11

Just to add on this computer to use vsync to get really good results I have to use setvsync(-1). Note it's minus 1 . This is great having it working great and stuff however if I use this setting it will not work on other computers and so there is a compatibility issue . Basically I have to replace setvsync(-1) with setvsync(1) and all is ok unless you have a laptop like mine . Have a nice day .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10