Search found 268 matches

by guest
Sun 06 Jan 2019, 18:14
Forum: Mathematics
Topic: COMPLEX
Replies: 7
Views: 4413

Re: COMPLEX

pez wrote:
Sun 06 Jan 2019, 17:44
- farewell -
Me too. Why should I even bother to remain a member of this forum for the next couple of weeks? I'm sick of it.
by guest
Sun 06 Jan 2019, 17:20
Forum: Mathematics
Topic: COMPLEX
Replies: 7
Views: 4413

Re: COMPLEX

i just tried to contribute, imho: constructively, by proposing a possible way out It's not clear to me what you were "proposing". BBC BASIC is over 37 years old, and the core language hasn't changed significantly for decades; even the extensions to the language that I have added (none of which were...
by guest
Sat 05 Jan 2019, 22:20
Forum: Mathematics
Topic: COMPLEX
Replies: 7
Views: 4413

Re: COMPLEX

I said : "seriously, somehow", didn't I ? But you posted to a BBC BASIC forum, and the answer I gave is the most "serious" one relevant to BBC BASIC that I know of. You will be pleased to learn that my membership of this forum expires in about two weeks time, after which you will not be troubled by...
by guest
Sat 05 Jan 2019, 21:56
Forum: Mathematics
Topic: COMPLEX
Replies: 7
Views: 4413

Re: COMPLEX

In order to talk, somehow seriously, about mathematics in a computer language, we need to have access to data of type COMPLEX, at least. I always use a structure for this: DIM COMPLEX{r,i} Then to declare COMPLEX 'variables' one can do: DIM a{} = COMPLEX{}, b{} = COMPLEX{} Assignments can be done d...
by guest
Sat 05 Jan 2019, 17:20
Forum: Graphics and Games
Topic: The power of GPU shaders
Replies: 16
Views: 8798

Re: The power of GPU shaders

When time permits, I will have a go at 'porting' some other shaders over at ShaderToy, sharing the results here (if I'm successful). With the framework in place I'm hoping it will be relatively easy to port others (although I don't know how to do the ones that use multiple stages with an intermedia...
by guest
Sat 05 Jan 2019, 13:53
Forum: Graphics and Games
Topic: The power of GPU shaders
Replies: 16
Views: 8798

Re: The power of GPU shaders

Once I'd found the texture the Clouds demo posed no particular problems, except that it seems to be even more demanding on the GPU than the Seascape! Unusually, I found that trying to record the output - for uploading to YouTube - reduced the frame rate and I ended up having to do it on a faster PC....
by guest
Fri 04 Jan 2019, 22:04
Forum: Graphics and Games
Topic: The power of GPU shaders
Replies: 16
Views: 8798

Re: The power of GPU shaders

David Williams wrote:
Fri 04 Jan 2019, 20:14
This one looks nice: "Clouds"
That's not entirely procedural, it uses an input texture ('iChannel0'). Do you know how to obtain a copy? Does one have to be signed in to download it? Can you get it for me?

Edit: Never mind, I found that there was a download link in the comments.
by guest
Fri 04 Jan 2019, 18:53
Forum: Graphics and Games
Topic: The power of GPU shaders
Replies: 16
Views: 8798

Re: The power of GPU shaders

Whilst I'm not getting consistent results across my 3 PCs (which of course is beyond your control), it runs great on my desktop PC. It's a tough ask for the GPU to perform that calculation on every single pixel, which is what is being demanded of it! I've deliberately set the window quite small (64...
by guest
Fri 04 Jan 2019, 18:02
Forum: Database and Files
Topic: INPUT# and line feeds
Replies: 11
Views: 5153

Re: INPUT# and line feeds

They were created using Visual Studio Code, which seems to default to UTF-8. i've just changed it to ANSI and all is now fine :D Just bear in mind that it won't be "fine" if your program is ever run on a platform where the default Code Page is not ANSI, and if you're having to deal with European ac...
by guest
Fri 04 Jan 2019, 17:05
Forum: Database and Files
Topic: INPUT# and line feeds
Replies: 11
Views: 5153

Re: INPUT# and line feeds

what's the deal with European accented characters, i.e. ü ö é and the like? When they're read from the data file they're not appearing correctly but in their bastardised forms (i.e. ü = Ā¼). How are they encoded in your data file (if the file was exported from Notepad there's an option in the File ...