[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Liberty BASIC Holland • Toon onderwerp - Graphics zonder flikkering.

Graphics zonder flikkering.

Geef hier je beste Liberty BASIC tips door. (Hier geen hulp vragen)

Moderators: anthonio, Abcott

Graphics zonder flikkering.

Berichtdoor glpape » zo jun 24, 2012 1:29 pm

Dit kan een voorproefje zijn voor LB5. Carl belooft dat graphics daar helemaal in memory worden gedaan en als je uitgetekend bent kan Windows het bliksems snel, zonder flikkering op het scherm zetten. Sprites werken al zo.

gxGL (GL voor Graphics Library, gx voor graphix denk ik) is van lbjoseph en tekent via API calls naar een Memory Device Context. Als de plaat helemaal af is geef je hem weer via <Call gxRenderTo ...> in een Lbty graphic box. Het werkt prachtig, een demo als bijlage met een foto die sommigen nog zullen kennen. In 32 seconden (op mijn machine) draait het plaatje 360x 1 graad door. Je ziet wat "gefriemel" op de foto omdat er veel fijn detail in zit dat elke 90 msec een klein beetje verspringt. De groene text flikkert totaal niet: die wordt ook 11x/sec gewist en weer op het scherm gezet. Heel anders dan "delsegment" en "redraw".

Als je Google't naar gxGraphicsLibraryHome krijg je alle uitleg van lbjoseph zelf. Je hebt daar ook toegang tot de 46 (!) eerdere versies van de code. lbjoseph spreekt van Commands, lijkt me strikt genomen niet juist. De code bestaat uit Subs (ruim 450 regels code alleen, + REMs) die je dus aanroept met <Call ...> . Het is puur Lbty code.
De API functies die worden gebruikt zijn diverse BLIT functies (BLockImageTransfer) en voor rotatie SetWorldTransform.

Ideaal? Mijn chagrijn blijft dat je beperkt blijft tot wat je ziet van je gbox, scrollbars of niet. Je kunt het niet zichtbare deel alleen gebruiken met de eigen Lbty commando's. Blitting en Getbmp ( nodig voor Lbty's <flush> ) werken alleen met wat zichtbaar is op het scherm.

Vr groet,

George Pape.

NB : Ik krijg een waarschuwing dat het forum mijn bijlage weigert. OK. Wie geinteresseerd is kan me mailen, gl.pape@hccnet.nl .
glpape
 
Berichten: 83
Geregistreerd: za nov 08, 2008 5:32 pm

Re: Graphics zonder flikkering.

Berichtdoor Gordon » zo jun 24, 2012 9:10 pm

Bijlagen
bingo2.zip
bingo zip bestand
(1.33 KiB) 205 keer gedownload
Avatar gebruiker
Gordon
Site Admin
 
Berichten: 684
Geregistreerd: zo mei 22, 2005 12:50 am

Re: Graphics zonder flikkering.

Berichtdoor Gordon » zo jun 24, 2012 9:12 pm

Oeps George,

Heb je misschien per ongeluk gekozen voor
<Opslaan> in plaats van <Bevestig>
?

Gordon
Avatar gebruiker
Gordon
Site Admin
 
Berichten: 684
Geregistreerd: zo mei 22, 2005 12:50 am

Re: Graphics zonder flikkering.

Berichtdoor glpape » zo jun 24, 2012 11:28 pm

Gordon, hallo,

Heb ik op "opslaan" geklikt. Wie weet, maar ik denk van niet. Ik kreeg een waarschuwing in grote rode letters dat het bijlage quotum vol was, of zoiets. Ik had een .zip map van 423kB.

Vr groet,

George Pape.
glpape
 
Berichten: 83
Geregistreerd: za nov 08, 2008 5:32 pm

Re: Graphics zonder flikkering.

Berichtdoor glpape » wo jun 27, 2012 3:40 pm

glpape
 
Berichten: 83
Geregistreerd: za nov 08, 2008 5:32 pm


Keer terug naar Tips en informatie

Wie is er online

Gebruikers op dit forum: Geen geregistreerde gebruikers. en 3 gasten

cron