Dark Bit Factory & Gravity

PROGRAMMING => Freebasic => Topic started by: rdc on January 18, 2007

Title: More Light Fun
Post by: rdc on January 18, 2007
I have been playing with the lighting model I have been using w/ chladni to other textures. Here's a little FB program (src) that produced the example images. I have also included a compiled version. To run the program put a 256x256 bitmap into the program folder named tex.bmp.

(http://fileanchor.com/87969-t.png) (http://fileanchor.com/87969.png)

(http://fileanchor.com/87973-t.png) (http://fileanchor.com/87973.png)
Title: Re: More Light Fun
Post by: benny! on January 18, 2007
Unfortunetely, when I run the exe, the screen remains black ???

What am I doing wrong ?
Title: Re: More Light Fun
Post by: Clyde on January 18, 2007
Nice one RDC :)
Benny, are you putting a 256x256 bitmap into the program folder and named it tex.bmp?

Cheers Clyde.
Title: Re: More Light Fun
Post by: rdc on January 18, 2007
Thanks Clyde.

Like Clyde says, you need to put a 256x256 bitmap in the program folder and name it tex.bmp. This was just a quick hack to test out the routines. If you have FeeBasic .17b you can change the filename in the bload statement.

I'll whip up an interactive version in Delphi so you can weak the settings.
Title: Re: More Light Fun
Post by: benny! on January 18, 2007
Oopsi .. shame on me .. no .. of course I did not  :skint:

Works fine now !