MaxCoderz

for your 1 bit pleasure!

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: mode 7
PostPosted: Wed 11 Apr, 2012 12:07 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
Since there hasn't been anything in here in ages, i thought id just add something quick.

Been messing with mode 7 over the past 2 weeks, mainly during lunch at work *hides*.

Very rough and not awesomely accurate (uses lots of shortcuts :)), but its kind of the effect:

Image Image

Its only a side project for kicks, i don't think anything will become of it. Just in case anyone is paying these forums any attention :).

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Thu 12 Apr, 2012 1:57 am 
Offline
New Member

Joined: Sun 06 Feb, 2011 7:08 am
Posts: 42
That is really cool o.o I need to better figure this stuff out o.o Do you read from a bitmap to figure out which regions should be darkened? In other words, are you pretty much viewing a bitmap from ground level, so to speak?


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Thu 12 Apr, 2012 8:29 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
Thats kind of the idea. You can read from a bitmap or in this case a tilemap to save space.

Basically the idea is for each line you draw you apply a scaling factor. To apply rotations its kind of like a line routine that steps through your image data each line using the magic of trig.

Im assuming anyone who has dabbled in calc mode7 has got their inspiration from this: http://www.helixsoft.nl/articles/circle/sincos.htm

Very good resource :).

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Thu 12 Apr, 2012 8:21 pm 
Offline
New Member
User avatar

Joined: Thu 19 Nov, 2009 12:33 am
Posts: 33
Location: you have a cute head
/me got all excited when you posted this in irc.

what sorts of shortcuts did you use? it looks fast and not too fuzzy for a game of some sort.


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Sat 14 Apr, 2012 6:56 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
It looks a lot better with rough grayscale:

Image

calc84manic was kind enough to discuss how gs is implemented in his fzero engine, its the same idea here however it is not in synch timing wise its still a good start. Interestingly the way the rest of the engine works is vastly different. Its probably one of the most fascinating things about coding, there are lots of ways to achieve the same goal :).

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Sat 14 Apr, 2012 3:41 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
It looks very smooth and fast, tr1p1ea - great work! :-)


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Mon 16 Apr, 2012 9:17 pm 
Offline
New Member

Joined: Sun 06 Feb, 2011 7:08 am
Posts: 42
Yeah, fast o.o Are you using 15MHz, as well?


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Tue 17 Apr, 2012 11:50 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
Yeah that screenie is at 15MHz, seems to work pretty well at that fortunate cpu speed :).

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Thu 03 May, 2012 1:36 pm 
Offline
Regular Member
User avatar

Joined: Sun 09 Sep, 2007 8:50 pm
Posts: 124
Location: The dark side of the moon
Def. looks better with gray. Even if nothing comes of this it's a cool distraction nonetheless. :)

_________________
Projects:
Projects:TBA-Soonish. :)
Updated 5/3/12


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Wed 16 May, 2012 9:19 pm 
Offline
New Member
User avatar

Joined: Thu 19 Nov, 2009 12:33 am
Posts: 33
Location: you have a cute head
not being in synch doesn't seem to matter a whole lot with that much motion, too, so i don't think it's something you need to worry too much about.

you should definitely try turning this into something bigger (once you're done with desolate, of course)!


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Thu 17 May, 2012 10:13 am 
Offline
Extreme Poster

Joined: Fri 07 Jul, 2006 2:39 pm
Posts: 335
Wow, how'd i miss this? It looks great! I really am awful at math and have long since forgotten how all that trig stuff works/what it does, i really should revisit that stuff...


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Fri 01 Jun, 2012 5:53 pm 
Offline
Calc Wizard
User avatar

Joined: Fri 17 Dec, 2004 10:22 pm
Posts: 745
Location: Wandering around in the Jungle...
Mario Kart! Ha just kidding, i'm with chickendude...once I finished college all that stuff got filed away somewhere. All those coding going on is starting to make me feel left out ha

_________________
The Revolution is here...


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Fri 29 Nov, 2013 12:24 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
Well ive ported the basics over to the 84C, with some modification of course.

At this stage i havent optimised so its a little slow. Currently the draw area is 128x60 in 160 mode:

Image

I havent tested on hardware, but think that it wont run this fast (think the screenie delays are borked).

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Sun 22 Dec, 2013 6:30 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
That looks really neat, tr1p1ea - did you get the opportunity to try it on hardware to see how well it performs?


Top
 Profile  
Reply with quote  
 Post subject: Re: mode 7
PostPosted: Mon 23 Dec, 2013 11:44 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
http://www.youtube.com/watch?v=pj20af9NbzM

Thanks Ben! :).

That is a video of a rough test on hardware, the speed is ok but the accuracy has improved since that was taken.

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB ® Forum Software © phpBB Group | DVGFX2 by: Matt