Author Topic: More Light Fun  (Read 2938 times)

0 Members and 2 Guests are viewing this topic.

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
More Light Fun
« 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.




« Last Edit: January 18, 2007 by rdc »

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: More Light Fun
« Reply #1 on: January 18, 2007 »
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:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: More Light Fun
« Reply #2 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.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: More Light Fun
« Reply #3 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.

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: More Light Fun
« Reply #4 on: January 18, 2007 »
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: