Search found 612 matches

by UEZ
Sep 24, 2020 9:24
Forum: Windows
Topic: Unwanted closing of console
Replies: 3
Views: 102

Re: Unwanted closing of console

Sometimes you don't want to pause but pause for x seconds only. Here the code I'm using for this purpose: Dim As String sVer = "v0.60 Build 2020-09-24 by UEZ" Dim As Double iSeconds = CSng(Command(1)) Dim As Ubyte bInterruptible, bSilent If Command(2) = "" Then bInterruptible = 1...
by UEZ
Sep 23, 2020 17:09
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Re: Around the Sphere build 2020-09-22

File encoding needs to be ISO-8859-1, not UTF-8. Or at least, when I set that in Geany, it works. And fTimer should to be double. I can vague remember that we had this discussion already some times ago because of Base128 en-/decoding issues. Yes, here: Twister Effect build 2020-04-15 Well, on the o...
by UEZ
Sep 23, 2020 6:48
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Re: Around the Sphere build 2020-09-22

File encoding needs to be ISO-8859-1, not UTF-8. Or at least, when I set that in Geany, it works. And fTimer should to be double. I can vague remember that we had this discussion already some times ago because of Base128 en-/decoding issues. Yes, it works for me too. Good to read. ;-) I cannot get ...
by UEZ
Sep 22, 2020 19:26
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Re: Around the Sphere build 2020-09-22

Roland Chastain wrote:By the way (I know this isn't my onions, as we say in french), but why don't you upload your files on FB Portal? Just a question. Feel free to ignore it. :)


I'm not aware that I can upload files to the (German?) FB Portal. All the better if I could.
by UEZ
Sep 22, 2020 15:26
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Re: Around the Sphere build 2020-09-22

I use Geany and the encoding is UTF-8. Even with the file from the ZIP, it doesn't work for me. The program exits as soon as I start it. I am on Linux 64. What is the timestamp of the both files within the zip? I had accidentally uploaded a not working version first. If it is not 22.09.2020 15:41 2...
by UEZ
Sep 22, 2020 13:36
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Re: Around the Sphere build 2020-09-22

Hi UEZ. Works great here and I use fbide. Thanks dodicat for your feedback. I'm not 100% sure if you must save the source code in UTF-8 format because it seems to run properly also with ANSI saved source code. Anyhow, I added a download link to the first post. Btw, thank you for the functions I use...
by UEZ
Sep 22, 2020 12:26
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Re: Around the Sphere build 2020-09-22

Hello! Unfortunately for me the program stops here: If FileExists(sFile) = 0 Then ' ... If bError <> False Then '? "Something went wrong" 'Sleep End -1 ' <--- End If The code editor must support UTF-8 format otherwise it will not decompress the base128 string properly.
by UEZ
Sep 22, 2020 11:22
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Re: Around the Sphere build 2020-09-22

Small update: added now a bitmap font with anti aliasing for a better look. If you are interested have a look to the first post.

The bitmap is integrated into the code which should be unpacked and saved to the disk.
by UEZ
Sep 19, 2020 16:39
Forum: Tips and Tricks
Topic: depth-of-field aadot
Replies: 3
Views: 150

Re: depth-of-field aadot

Nice examples. :-)

Thx for sharing it... ^^
by UEZ
Sep 17, 2020 12:35
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Re: Around the Sphere build 2020-09-17

Thanks you again dafhi for your contribution.

Meanwhile I finished also my depth of field simulation of the text pixels. imho, it's very simple but it looks nice, too (see 1st post).
by UEZ
Sep 16, 2020 6:51
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Re: Around the Sphere build 2020-09-15

@dafhi: I had the same idea after I finished this part to make the circles blurry according to their z value. ^^ Anyhow, thanks for your version - very smooth movement. :-)
by UEZ
Sep 15, 2020 9:00
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-22
Replies: 24
Views: 699

Around the Sphere build 2020-09-22

A 3D visualization of moving a text around a sphere. Thanks to dodicat for some functions which I've used. ^^ https://i.ibb.co/y4J8V5j/ATG.jpg 'Coded by UEZ build 2020-09-22 'Thanks to dodicat for some funtions I used from his code :-) and Martijn van Iersel for the CreateGradientSphere function. ^^...
by UEZ
Sep 09, 2020 13:54
Forum: Tips and Tricks
Topic: Endless loop.
Replies: 26
Views: 570

Re: Endless loop.

My regulate function regulates regardless of 1 or 15.625 milliseconds sleep. Obviously. If you have 15.625 as sleep 1 then it will regulate to about 60 fps or whatever the max fps the machine can achieve. OK, so why when I am using '-fpu sse -arch 686 -gen gcc -Wc -O3' with gcc 8.3 (the fastest ver...
by UEZ
Sep 08, 2020 6:34
Forum: Tips and Tricks
Topic: Endless loop.
Replies: 26
Views: 570

Re: Endless loop.

Looks very nice. I should also proceed from 2D to 3D stuff...

Maybe a scenario with trees and and a cloudy sky would better fit to the endless looping plane. ^^

Thanks for sharing.
by UEZ
Sep 03, 2020 11:36
Forum: Tips and Tricks
Topic: Simple 3D Starfield build 2020-09-03
Replies: 17
Views: 694

Re: Simple 3D Starfield build 2020-09-01

dodicat wrote:This is a very primitive field with a quick gas cloud. (static)

This looks also very beautiful - it is more discreet in the background. I like it.

Thanks for sharing it. :-)

Go to advanced search