Dark Bit Factory & Gravity
GENERAL => Challenges & Competitions => Topic started by: Shockwave on June 07, 2009
-
This is a pretty dirty way of getting a magnifying glass effect.
four magnifying glasses pass over the chequered background, the pattern is magnified inside the "lenses", the magnifying glasses also magnify each other too.
Very ugly colours, rushed and dirty code just to get the challenge started, no doubt there will be much better ideas than this!
[ARCHIVE UPDATED]
-
Wow - that was a fast entry.
Nice lense fx. Runs smooth here. N1!
-
Hehe, it was made in an hour :) I think it will be beaten but thatnks Benny.
I hope to take the time and make something else. too
-
I liked that you didn't have all the lenses at the same height and they overlapped and distorted again.
-
A very old effect. Nicely done, but let's hope we see something new!!
Jim
-
A very old effect. Nicely done, but let's hope we see something new!!
I am a very old person :)
-
A very old effect. Nicely done, but let's hope we see something new!!
I am a very old person :)
You're a baby compared to me. :)
-
Not compared to me :D :P
-
Make the most of your youth Ferris :) Getting old sucks.
-
Nice and nifty example for people to brain storm with. And cheers for posting the source too dude.
I wonder what my life would look like through a lense! :p
-
I wonder what my life would look like through a lense! :p
Do you know anyone who wears glasses that you could ask? :)
-
My new glasses are coming in hopefully next week :D
-
look cool ;D
-
I realised that the simple squares texture I had in this did it no favours so I modified the code slightly to load a picture (found it on the net).
Hope u like it!
-
Ah yeah, looks really cool with the picture as the background ! (at least from the screnshot)
-
Those stacking lenses are really cool! I bet the maths behind this is quite powerful, and it even runs at full speed on my laptop.
-
Blimey nearly missed this one.
Cool effect over a nice landscape :clap:
-
Thanks Wayne, Ck and Hezad :)
-
Source code is added here;
http://www.dbfinteractive.com/forum/index.php/topic,4274.0.html (http://www.dbfinteractive.com/forum/index.php/topic,4274.0.html)
-
Nice effect... runs extreme smooth here!
-
Sorry for not seeing this earlier. Nice effect and props for the source.
-
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 :)
-
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.
-
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. :)
-
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.