Old-schoole radiosity rendering code experiment: Pascal code running in everything from Turbo Pascal 3 in DOS emulators, to FreePascal, through Pascal script engines and ending with HTML5 via SmartMobileStudio.

Old-schoole radiosity rendering code experiment: Pascal code running in everything from Turbo Pascal 3 in DOS emulators, to FreePascal, through Pascal script engines and ending with HTML5 via SmartMobileStudio. 
http://iwasdeportedandalligotwasthislousydomain.co.uk/static.php?page=smallpt_tp

Comments

  1. Hmmm, gotta try to convert Smart version to WebWorkers.

    ReplyDelete
  2. Primož Gabrijelčič Yep, that was on my mind too, but no time to try it. Radiosity is easily paralellizable and the code is already using tiles, so there are no threading issues to expect, it's just wrapping things up!
    The code is also essentially TP3 compatible, a tweaked version will be faster on all other platforms, but that wasn't the point of the experiment!

    ReplyDelete
  3. I started out coding by wanting to do 3D graphics in Turbo Pascal back in the days. Awsome stuff :)

    ReplyDelete
  4. Eric Grange No time here either but I'll keep this in mind.

    ReplyDelete
  5. Wow.  True hacker.   Nods appreciatively.

    ReplyDelete

Post a Comment