Dark Bit Factory & Gravity
PROGRAMMING => Freebasic => Topic started 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)
-
Unfortunetely, when I run the exe, the screen remains black ???
What am I doing wrong ?
-
Nice one RDC :)
Benny, are you putting a 256x256 bitmap into the program folder and named it tex.bmp?
Cheers Clyde.
-
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.
-
Oopsi .. shame on me .. no .. of course I did not :skint:
Works fine now !