• Welcome to Dark Bit Factory & Gravity.
 

More Light Fun

Started by rdc, January 18, 2007

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rdc

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.





benny!

Unfortunetely, when I run the exe, the screen remains black ???

What am I doing wrong ?
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Clyde

Nice one RDC :)
Benny, are you putting a 256x256 bitmap into the program folder and named it tex.bmp?

Cheers Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

rdc

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.

benny!

Oopsi .. shame on me .. no .. of course I did not  :skint:

Works fine now !
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won: