Author Topic: [MAGNIFICATION] Life through a lense  (Read 11372 times)

0 Members and 1 Guest are viewing this topic.

Offline Yaloopy

  • Death From Above
  • DBF Aficionado
  • ******
  • Posts: 2876
  • Karma: 35
    • View Profile
    • UltraPaste
Re: [MAGNIFICATION] Life through a lense
« Reply #20 on: July 27, 2009 »
Sorry for not seeing this earlier. Nice effect and props for the source.
Fuck L. Ron Hubbard and fuck all his clones.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: [MAGNIFICATION] Life through a lense
« Reply #21 on: July 27, 2009 »
People have been very kind to me here, thank you for the nice comments, in truth it's only a hack, it's not even a true lensemap that's why it runs fast, it's just a straightforward horizontal interpolation, a flat square is just stretched between the edges of a circle. It's the way almost all the oldschool lenses had to be made once upon a time. :)

There are better (and probably just as fast) methods for doing this by precalculating a real sphere and just changing the colour of the texels to do a false refraction on the image underneath it, it'd probably look much nicer :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Yaloopy

  • Death From Above
  • DBF Aficionado
  • ******
  • Posts: 2876
  • Karma: 35
    • View Profile
    • UltraPaste
Re: [MAGNIFICATION] Life through a lense
« Reply #22 on: July 27, 2009 »
Yup, but if this was being judged as part of a competition where you had one hour to hack together a magnification effect, I'm sure you wouldn't have many competitors for first place.
Fuck L. Ron Hubbard and fuck all his clones.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: [MAGNIFICATION] Life through a lense
« Reply #23 on: July 28, 2009 »
Yup, but if this was being judged as part of a competition where you had one hour to hack together a magnification effect, I'm sure you wouldn't have many competitors for first place.

Hehe, there lies the problem, lots of people here did a better job, I don't expect to get anywhere near the top 5 even. :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: [MAGNIFICATION] Life through a lense
« Reply #24 on: July 28, 2009 »
Even though I now understand how it was done, it's still a cool effect.

I don't know how to do it in Flash, though it may be possible.
You are our 9001st visitor.
Challenge Trophies Won: