Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Qedo

#166
thanks, but the question is: does html5 on v16 work?
and if someone works, how did he do it?
:x
#167
other method:
go to Task Manager, Details and  in column platoform see 32 or 64 bit.
#168
Hi dreamerman first of all thanks for the reply.
Forgive me, however, it is not clear what you write or it is I who do not understand.
Do you need the latest versions of Emscripten and Python to make Html5 work?
Or are previous versions needed?
However, when I installed Html5 for V15 of GLB I started by downloading the JavaScript.7z file from the download folder http://www.glbasic.com/platform/v15/ and there is also the whole installation of Emscripten inside.
I copied the unzipped files in the local \GLBasic_v15\Compiler\platform\ folder and that's all I did and it worked.

Instead for the GLB V16 it seems to me different because in download, at http://www.glbasic.com/platform/v16/, I find HTML5.7z that I unzipped and I inserted in \GLBasic_v16\Compiler\platform\ But there is no Emscripten files. Is this the problem and if so, how can this be remedied?
Is there any further procedure to do? Launch some batch files?
However, I do not find any informstion that helps to understand and it seems a big lack.
Thanks again.
Ad maiora
#169
practically in 1.1 (if I'm not wrong) all these are missing compared to 2.0.
In particular the whole shaders part
#171
I use version 16, currently 16.508, but I also hold on to version 15.238 which compiles Android (without Android Studio) and Html5 without problems.
Ad maiora
#172
very strange
But how is the graphics card set on the system?
#173
506 Hz? It seems too high to me.
On my system I get 500 Hz but only by disabling vsync i.e. with the command "LIMITFPS -1,FALSE"
But with LIMITFPS -1,TRUE the rate should drop.
Otherwise the check doesn't work.
You can check?
Thanks
Ad maiora
#174
On my system this work. Output 60 Hz
Can you try on your?
Ad maiora

LIMITFPS -1,TRUE
cicli%=100
dt%=GETTIMERALL()
FOR i=0 TO cicli-1
   CLEARSCREEN RGB(120,345,56)
   SHOWSCREEN
NEXT
dt=1000/((GETTIMERALL()-dt)/cicli)
PRINT "refresh Rate = "+dt+"Hz",10,100
SHOWSCREEN
MOUSEWAIT
END
#175
stupid question but is there a way in GLB to check the vsync of a screen?
ad maiora
#176
Thank you.
ad maiora
#178
thanks SnooPI, did you also customize SPRITE2MEM?  (although less critical)
I tried it in OpenGL (the source is attached to the program) but it doesn't work well
Ciao
#179
dreamerman, you are always attentive and collaborative. it is a pleasure to confront with you.
in the OpenGL part the program uses only the FASTMEM2SPRITE function which would be the equivalent of the GLB MEM2SPRITE but faster. This avoids the bottleneck of MEM2SPRITE which is not very fast.
for DimPush I don't care much because they are not used heavily.
What slows down the CPU is the calculation of the GaussianBlur function which, despite the name, is not a real Gaussian.
I used an alternative optimization method which I found at this address http://blog.ivank.net/fastest-gaussian-blur.html
With this function you get some good results that allow you to use them in real time calculation as you saw by editing the text.
However I would like to know the opinion of other forum users
Thank
Ciao