Search found 1328 matches

by dafhi
Sep 17, 2020 4:21
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-17
Replies: 4
Views: 228

Re: Around the Sphere build 2020-09-15

updates: removed FL (focal length)
aadot namespace
by dafhi
Sep 15, 2020 23:51
Forum: Tips and Tricks
Topic: Around the Sphere build 2020-09-17
Replies: 4
Views: 228

Re: Around the Sphere build 2020-09-15

we like dots 'Coded by UEZ build 2020-09-15 'Thanks to dodicat for some funtions I used from his code :-) and Martijn van Iersel for the CreateGradientSphere function. ^^ /' -- modified by dafhi (2020 Sep 16) vec5 -> dotvars col.argb -> col after screenres .. windowtitle .. particles you can adjust:...
by dafhi
Sep 09, 2020 2:40
Forum: General
Topic: Star Wars "Light Saber"
Replies: 15
Views: 287

Re: Star Wars "Light Saber"

you had me at "The laser is at an angle"

Hacksmith on YT made something
by dafhi
Sep 03, 2020 22:55
Forum: Tips and Tricks
Topic: Simple 3D Starfield build 2020-09-03
Replies: 17
Views: 686

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

my defocus aadot doesn't play nicely with the other kids
[update: yes it does]

clevv new nebula .. without filter, technique becomes apparent
by dafhi
Sep 02, 2020 0:25
Forum: Tips and Tricks
Topic: Simple 3D Starfield build 2020-09-03
Replies: 17
Views: 686

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

[code updated] with a slightly more intuitive approach

cool demo. weak intel gpu w/ Pixar quality effects
by dafhi
Sep 01, 2020 19:27
Forum: Tips and Tricks
Topic: Simple 3D Starfield build 2020-09-03
Replies: 17
Views: 686

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

done a few starfields myself. nebula effect looks amazing! might have a go with starfield later using my depth-of-field sim. [edit - done!] ' depth-of-field effect - 2017 Nov 15 - by dafhi 'original demo by UEZ - https://www.freebasic.net/forum/viewtopic.php?f=7&t=28778 ' -- changes ' maxRadius ...
by dafhi
Jul 31, 2020 15:38
Forum: General
Topic: A PRNG for graphics programs?
Replies: 84
Views: 2319

Re: A PRNG for graphics programs?

thought i'd share this before i go to bed /' My fascination with high period RNGs continues. My state variable is 8 bits. I'm getting period greater than 256 with the combination of multiplier weyl xorshift looking to extend this '/ #undef int #define int as integer type rect int w, h End Type '' gr...
by dafhi
Jul 23, 2020 3:57
Forum: Game Dev
Topic: Liquid Fabric. A fast water ripple engine object for games.
Replies: 2
Views: 211

Re: Liquid Fabric. A fast water ripple engine object for games.

that FPS tho. A lot of integer with FP sprinkles. Good for us old dogs.
by dafhi
Jul 10, 2020 13:53
Forum: General
Topic: Oh no, not another PRNG
Replies: 80
Views: 2775

Re: Oh no, not another PRNG

thanks dodicat. x128xx (xorshiro128**) mylit as ULong passes to 32 Gigs. Total Fail @ UShort I suspect it has something to do with multiplier granularity my generator-in-development doesn't trigger as many fails at 16 bits, but doesn't succeed @ 32 #include "crt.bi" randomize 0,1 type myli...
by dafhi
Jul 10, 2020 11:34
Forum: General
Topic: Oh no, not another PRNG
Replies: 80
Views: 2775

Re: Oh no, not another PRNG

I am an bright for 2 reasons. That should read i d i o t. 1. even if I put two 16's together, the period would not be greater than one 16 bit. 2. much more simply, I could change mylit to ulong. (original post) been so long since I've used practrand. It was you and dodicat who fleshed out a FB / pra...
by dafhi
Jul 10, 2020 10:42
Forum: General
Topic: Oh no, not another PRNG
Replies: 80
Views: 2775

Re: Oh no, not another PRNG

it's 64 bit tho right? the framework i presented is 16.

edit: so, tack 2 16's to simulate a 32. if pract passes to 4 Gigs, that's what i mean
by dafhi
Jul 10, 2020 10:00
Forum: General
Topic: Oh no, not another PRNG
Replies: 80
Views: 2775

Re: Oh no, not another PRNG

@dafhi Why do you rewrite FB's syntax so much, your code becomes unreadable? ah okay. hard for me to tell sometimes ;) @dafhi Looking at the code further the engine, x128xx, which should run quickly calls rotl three times. rotl has an overhead - a rotl definition does not! what i meant was tack two...
by dafhi
Jul 09, 2020 12:38
Forum: General
Topic: Oh no, not another PRNG
Replies: 80
Views: 2775

Re: Oh no, not another PRNG

one could probably reduce practrand time using a smaller literal. thanks for sharing the new generator type mylit as ushort const bit_size = len(mylit) * 8 #undef int #define int as integer #define func function #define ret return func rotl(in as mylit, amount int) as mylit ret in shl amount or in s...
by dafhi
Jul 08, 2020 6:43
Forum: General
Topic: Oh no, not another PRNG
Replies: 80
Views: 2775

Re: Oh no, not another PRNG

I'd put my money on Melissa. If she were to release a new generator, it will put all others to shame.

MsWs is pretty awesome
by dafhi
Jul 08, 2020 5:40
Forum: General
Topic: Oh no, not another PRNG
Replies: 80
Views: 2775

Re: Oh no, not another PRNG

practrand can test well into the exabyte range, if I remember. I think it took 4 days just for the 64T pass .. I pushed for 128T but I think it froze. Waited 4 extra days beyond the expected report time. edit: my bad. I hit 32T. I pushed for 64 edit: yep, practrand testing limit. Part 2 Section D

Go to advanced search