Search found 1021 matches

by paul doe
Oct 29, 2017 20:18
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 5186

Re: Frame rate independent game loop

works now! [edit] 18 fps 5000 meta's GL Wow. I scratch 10 fps with 1000 XD (yeah, the craptop I use to code sucks) works now! Modified the interface yourself? (preemptive strike hahaha) =D downloaded .. my oop is very limited Mmmm... I thought that you did it manually, we cross-posted as you can se...
by paul doe
Oct 29, 2017 15:48
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 5186

Re: Frame rate independent game loop

dafhi wrote:works now!

Modified the interface yourself? (preemptive strike hahaha) =D
by paul doe
Oct 29, 2017 15:46
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 5186

Re: Frame rate independent game loop

There. Sorry for the inconvenience, mate.
by paul doe
Oct 29, 2017 15:39
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 5186

Re: Frame rate independent game loop

Damnit, GitHub! The latest commit was NOT uploaded. Hang on, mate. I'm reuploading it now.
by paul doe
Oct 29, 2017 15:36
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 5186

Re: Frame rate independent game loop

waa glRenderDevice.bi(30) error 222: Not overriding any virtual method, found 'override' in 'declare function setRes(.. glRenderDevice.bi(31) error 222: Not overriding any virtual method, found 'override' in 'declare sub setRenderer(.. You have the latest version? You need fbc 1.06.0 also ;)
by paul doe
Oct 29, 2017 15:02
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 5186

Re: Frame rate independent game loop

Hi there Paul, Yeah, I just realized that the rendering was only used for setting up the demo, not in the main loop, so never mind. It's just an old habit of mine to optimize stuff :-) A good habit. No problem, it was just coded that way to be easy to tell what the code is doing. Looks like I've su...
by paul doe
Oct 29, 2017 11:41
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 5186

Re: Frame rate independent game loop

This is really nice work, points for sharing your code. I took a quick glance at your metaball drawing algorithm and got rid of the nasty doubly for-loop nested square root call in renderer.bi: Hi Mike, Glad you like it. Nice optimization here, Mike. Extra points for actually using the vec2 utility...
by paul doe
Oct 29, 2017 10:57
Forum: Windows
Topic: Very basic process CPU load determiner
Replies: 66
Views: 4569

Re: Very basic process CPU load determiner

I get loads of up to 70% CPU Load let me down on this one. However, when I cranked up the metaball number to 5000 all four apps were in the same ball park with CPU Load maxing out at 12%. The display with this was simply a red background and a white ball. With a res of 1700x900 and 1000 meta balls ...
by paul doe
Oct 29, 2017 10:47
Forum: Windows
Topic: Very basic process CPU load determiner
Replies: 66
Views: 4569

Re: Very basic process CPU load determiner

I get loads of up to 70% How? With 1000 metaballs Process Explorer and Process Hacker are coming in at about 6%, Task Manager at about 4% and CPU Load with a session average of 3.30. Then it must be that my 'box' is not a box, but a tin can XD Unlikely, thoug. Task manager reported that load on the...
by paul doe
Oct 29, 2017 3:51
Forum: Windows
Topic: Very basic process CPU load determiner
Replies: 66
Views: 4569

Re: Very basic process CPU load determiner

Hi Paul. I saw your thread and download from GitHub. I don't know why but every time I go to GitHub for anything I tend to screw things up. Woe is me. I created a folder called MetaBalls and included within it MetaBalls.bas and the inc folder. However, when I try to compile MetaBalls.bas I get a li...
by paul doe
Oct 29, 2017 3:40
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 82
Views: 10309

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

While I was applying the suggested changes, I fixed the bug that occurs when the width is not a multiple of 4; looks like the screen buffer has no alignment, and OpenGL expected a multiple of 4. It can be fixed with glPixelStorei(GL_UNPACK_ALIGNMENT, 1), and I added it (I had to add it to the decla...
by paul doe
Oct 29, 2017 2:03
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2019.09.07)
Replies: 1004
Views: 142312

Re: FreeBasic IDE-poseidonFB(Update 2017.10.28)

Yeah, I'm fully aware of what you say, but in that case I end up having to use the @ compiler switch (lots of dependencies). Also, the open dialog thing that I mentioned is a little annoying. Nevermind, though. A message box with 'insufficient resources to complete the operation' showed up when I fi...
by paul doe
Oct 29, 2017 1:50
Forum: Windows
Topic: Very basic process CPU load determiner
Replies: 66
Views: 4569

Re: Very basic process CPU load determiner

'Nailed' it is a bit strong considering the evidence so far so what I would like is code where the loads are higher - 6%, 7%, 8% and higher. Any offerings folks? Very interesting thread, indeed. You can try this: https://www.freebasic.net/forum/viewtopic.php?f=15&p=238408#p238408 Almost entirel...
by paul doe
Oct 28, 2017 21:52
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2019.09.07)
Replies: 1004
Views: 142312

Re: FreeBasic IDE-poseidonFB(Update 2017.10.28)

Hi Kuan, There's a feature I would like to suggest. In the old FBEdit IDE, when you had the current line highlighted to a #include declaration, if you pressed the 'Open' command, FBEdit would open that include file. For example: #include once "inc/platform.bi" <-- If this is the currently ...
by paul doe
Oct 27, 2017 16:46
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 59
Views: 5186

Re: Frame rate independent game loop

dafhi wrote:works!

Glad to hear that. I just finished uploading everything (again) to Sh*tHub, including the loop comparison. Geez, I don't know what the #%$@ is going on with that site today >:(

Go to advanced search