Search found 88 matches

by tinram
Feb 25, 2010 12:42
Forum: Tips and Tricks
Topic: RayTracing versus PhotonMapping
Replies: 24
Views: 7908

Superb Joshy.

There's an ethereal glow (interference) in your images above.
Double hit.
by tinram
Feb 25, 2010 12:35
Forum: Projects
Topic: MD5 + SHA1 + SHA512
Replies: 7
Views: 2046

SHA512 is a strong hash. I verified your implementation against PHP's hash('sha256', '...') - the few random strings I compared matched. On a Duo 2GHz, your FB SHA512 hashed 10,000 80-char strings per second. With the same, interpreted PHP took ~0.1 seconds. For single hash checking, your code would...
by tinram
Sep 04, 2009 14:59
Forum: Tips and Tricks
Topic: Procedural 2D City
Replies: 29
Views: 5713

Good conversions to FB. The speed difference of FB over the original Processing, and an AS3 port , is certainly apparent. (Unfortunately, AS3 author uses obscenities in his domain name, which are filtered by this forum; it's currently the first result in the Google link.) (Mod Edit: result has slipp...
by tinram
Jun 16, 2009 18:53
Forum: Tips and Tricks
Topic: Multikey Single Key Press
Replies: 15
Views: 3759

This sorted a key press issue I had when using a constantly updated screen.
Thank you Vince.
by tinram
Feb 27, 2009 13:22
Forum: Tips and Tricks
Topic: 480000 Particles in realtime
Replies: 5
Views: 2005

Nice and concise example duke4e.
by tinram
Dec 20, 2008 19:02
Forum: Beginners
Topic: Two versions of FreeBasic at the same time...
Replies: 8
Views: 1417

If the library can't be updated - on Windows XP (and probably Vista) it would seem to be fine. I've got FB 0.16, 0.17, 0.18, and 0.20 versions all still usable (from their differently-named directories) on a single PC (simply because I didn't uninstall the last version on each new install). I can't ...
by tinram
Jul 30, 2008 20:45
Forum: Tips and Tricks
Topic: Procedural World Generator
Replies: 8
Views: 2393

Good use of Perlin noise. The rendering seems reasonably fast despite all the sub/fn calls.
by tinram
Jul 09, 2008 11:51
Forum: Tips and Tricks
Topic: Multi directional gravity bouncing ball : or 70s fx
Replies: 6
Views: 1793

Cool.

(I had to change the screenres line to SCREENRES 1024,768,8)
by tinram
May 04, 2008 18:05
Forum: Tips and Tricks
Topic: FAST Plasma
Replies: 8
Views: 2704

@Qlink - yes, my late night mistake; I've amended the code.
by tinram
May 02, 2008 23:05
Forum: Tips and Tricks
Topic: FAST Plasma
Replies: 8
Views: 2704

I read on one thread that multiple calls to the randomize function really slow things down. But it seems voodooattack's animation here relies on just that for the cool animation effect. ' original Plasma program by Zamaster, 2006 ' animation by voodooattack ' minor amendments (and bugs) by t...
by tinram
Apr 09, 2008 11:50
Forum: Linux
Topic: Just installed... trying to compile... not sure if OK
Replies: 12
Views: 2945

Have a look at the freebasic/bin/linux/ directory, and check the perms on the as, ld and ar binaries, they may not be set to +x, i'm pretty sure that can cause a silent fail. Without the permissions set on as, ld, ar there is a silent fail - only the -r option showed me that FB was doing anything (...
by tinram
Mar 29, 2008 10:29
Forum: Windows
Topic: Vista and the Win API
Replies: 17
Views: 4509

Thank you Mysoft - I didn't know how to do buffering in a Win32 window, and your second example is very cool.
by tinram
Mar 28, 2008 13:12
Forum: Windows
Topic: Vista and the Win API
Replies: 17
Views: 4509

Thanks guys for your responses. @KristopherWindsor - yes, your screenshot is identical to what I'm getting on Vista. @MichaelW - thanks - I've amended the code with your changes: the executable's pixel plotting in the window is better, but it still displays the empty pixel bands when running on this...
by tinram
Mar 27, 2008 13:18
Forum: Windows
Topic: Vista and the Win API
Replies: 17
Views: 4509

Thanks Kristopher, and sorry for the delay. Ugh - I haven't enjoyed my re-acquaintance with Win32 code, but this example seems to show the effect on the PCs I've currently got access to. I compiled it with FB0.18.2 on Vista, and the executable run on the same Vista PC shows 'blank columns' (where no...
by tinram
Mar 18, 2008 23:31
Forum: Beginners
Topic: How to make Windows applications using freebasic ?
Replies: 3
Views: 1259

You certainly can make a Win API application (I think that's what you meant) with FreeBASIC. I made my first (and only) one from an example file in the FreeBASIC windows examples directory. Coding the application in FreeBASIC is probably a lot easier than in C, but I still found it quite a steep lea...

Go to advanced search