Author Topic: [MAGNIFICATION]Magnified Rotozoom  (Read 3031 times)

0 Members and 1 Guest are viewing this topic.

Offline TinDragon

  • Pentium
  • *****
  • Posts: 644
  • Karma: 24
    • View Profile
    • J2K's blog
[MAGNIFICATION]Magnified Rotozoom
« on: July 25, 2009 »
Yeah I know its a cheap effect but I was having a look at zawrans software render framework for bmax and thought I would have a go at coding a rotozoom in it, which I then take a sample from and magnify about 5x and draw down the right hand side. It works well and runs pretty fast at my end for a 800x600 screen, hopefully it will work for everyone at a decent rate. Zawrans framework has some very cool functions so this is I guess a TTD entry since it combines code from us both :D

« Last Edit: September 06, 2009 by rbz »

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17378
  • Karma: 497
  • evil/good
    • View Profile
    • My Homepage
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #1 on: July 25, 2009 »
The frame rate is fine here mate, thanks for supporting the challenge with another entry :)

Shockwave ^ Codigos
Challenge Trophies Won:

Offline zawran

  • Sponsor
  • Pentium
  • *******
  • Posts: 909
  • Karma: 67
    • View Profile
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #2 on: July 25, 2009 »
Runs smooth here too, and great that you managed to make 2 entries. I was thinking about making one more, but I haven't had time, nor any good ideas.

[edit] Great that you find the framework useful :)

Offline TinDragon

  • Pentium
  • *****
  • Posts: 644
  • Karma: 24
    • View Profile
    • J2K's blog
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #3 on: July 25, 2009 »
@shockwave, no probs, the compo's give me a reason to open the ide, something that i dont do often enough lately  ;D

@zawran, the framework is nicely coded and I am sure there are far more uses for it than we have thought up so far. I have a simpler framework that gives basic tinyptc style functions as well as an extension of the default pixmap stuff bmax has but your framework adds more methods of drawing the imagebuffer than either of mine  ;)


Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #4 on: July 25, 2009 »
I get a good framerate. It seems to have fractal elements in there, which I like.
You are our 9001st visitor.
Challenge Trophies Won:

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #5 on: July 26, 2009 »
Not the greatest framerate, but I really really like the magnified tiles on the right :) The layout of it is just very nice to me, even though the red is a bit intense.

Great work :)
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #6 on: July 26, 2009 »
Cool little entry!

This reminds me of when I used to play checkers with my grandparents.
Challenge Trophies Won:

Offline TinDragon

  • Pentium
  • *****
  • Posts: 644
  • Karma: 24
    • View Profile
    • J2K's blog
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #7 on: July 26, 2009 »
@Ferris, well it is throwing a fair chunk of pixels at the screen using zawrans framework which I believe is using bmax's drawpixmap command to render the imagebuffer's. drawpixmap uses gldrawpixels which isnt always the fastest put is available on alot of old hardware :)  It might have been better fullscreen and maybe at 640x480.

My code probably isnt the best, was something I converted from a blitz source originally to tinyptc then I converted it to bmax and my opengl framebuffer lib and now I worked it into a framework example zawran sent me. I am not even sure now what half the variables do  ;D 



Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4380
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #8 on: July 26, 2009 »
Runs smooth even on my crappy laptop. Nice production.
Looks way better in motion than on the screenshot!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline va!n

  • Pentium
  • *****
  • Posts: 1413
  • Karma: 108
    • View Profile
    • http://www.secretly.de
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #9 on: July 26, 2009 »
Totally agrree with benny...
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

Offline Yaloopy

  • Death From Above
  • DBF Aficionado
  • ******
  • Posts: 2869
  • Karma: 35
    • View Profile
    • UltraPaste
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #10 on: July 27, 2009 »
Worked smoothly at work. :) Hope to see some real TTD releases soon!
Fuck L. Ron Hubbard and fuck all his clones.
Challenge Trophies Won:

Offline Buckethead

  • C= 64
  • **
  • Posts: 58
  • Karma: 30
    • View Profile
Re: [MAGNIFICATION]Magnified Rotozoom
« Reply #11 on: July 29, 2009 »
Nice rotozoom mate  :)
Challenge Trophies Won: