Dark Bit Factory & Gravity

GENERAL => Challenges & Competitions => Topic started by: TinDragon on July 25, 2009

Title: [MAGNIFICATION]Magnified Rotozoom
Post by: TinDragon 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

Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: Shockwave on July 25, 2009
The frame rate is fine here mate, thanks for supporting the challenge with another entry :)

Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: zawran 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 :)
Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: TinDragon 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  ;)

Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: combatking0 on July 25, 2009
I get a good framerate. It seems to have fractal elements in there, which I like.
Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: ferris 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 :)
Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: Pixel_Outlaw on July 26, 2009
Cool little entry!

This reminds me of when I used to play checkers with my grandparents.
Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: TinDragon 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 


Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: benny! on July 26, 2009
Runs smooth even on my crappy laptop. Nice production.
Looks way better in motion than on the screenshot!
Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: va!n on July 26, 2009
Totally agrree with benny...
Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: Yaloopy on July 27, 2009
Worked smoothly at work. :) Hope to see some real TTD releases soon!
Title: Re: [MAGNIFICATION]Magnified Rotozoom
Post by: Buckethead on July 29, 2009
Nice rotozoom mate  :)