+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Photographic Backdrops in ROM Hacks
Pages: [1]
Author Topic: Photographic Backdrops in ROM Hacks  (Read 583 times)
Meremaker
Guest
« on: May 17, 2007, 04:11:37 pm »

I am curious about Time-Elapsed Photographic Methods for Animated Background Creation. Has anyone here attempted this or something similar to this? The ROM Hack on which I am working will include Animated Backdrops, created through the Time-elapsed Photographic Method. 
« Last Edit: May 17, 2007, 05:04:25 pm by Nightcrawler »
StIoachim
Guest
« Reply #1 on: May 17, 2007, 04:51:05 pm »

I don't think that theme suits romhacking well, it sounds more like game developement, because is a lot of work, you have to implement the background system from scratch.

PS: Please stop posting with the colored, blod font, and the // at the start and the end. It's annoying as hell.
Meremaker
Guest
« Reply #2 on: May 17, 2007, 05:00:40 pm »

Quote from: StIoachim on May 17, 2007, 04:51:05 pm
I don't think that theme suits romhacking well, it sounds more like game developement, because is a lot of work, you have to implement the background system from scratch.

PS: Please stop posting with the colored, blod font, and the // at the start and the end. It's annoying as hell.
I was told by a moderator only to stop posting my greeting & adieu in all-capitalisation. I edited the above message accordingly, substituting capitalisation with italicisation.

Edit:--I have just read Nightcrawler's post in this thread, which deals with the above.
« Last Edit: May 17, 2007, 05:44:15 pm by MEREMAKER »
StIoachim
Guest
« Reply #3 on: May 17, 2007, 10:43:34 pm »

I thought that someone more important than me would point that out, but I was annoyed anyway. It's not like there's anyone of us who hasn't made a similar mistake posting on the internet.

Well, let's get back on topic. I like how what you are proposing sounds, but I'm not sure I get your idea, could you make some examples? You are refering to animated backgounds like in "I see the tree leafs moving" or in "the camera moves around"?
Kajitani-Eizan
Guest
« Reply #4 on: May 17, 2007, 11:56:16 pm »

i'm not getting what you mean by "animated time-elapsed photographic backgrounds". what does that even mean? the whole POINT of a time-elapsed photograph is to compile a large amount of movement into a single image. now you want to animate that image...?
StIoachim
Guest
« Reply #5 on: May 18, 2007, 07:11:10 am »

To me, it sounds like he is talking about "video with less frames"
Cyberman
Guest
« Reply #6 on: May 18, 2007, 08:45:22 pm »

I do believe he might be desiring to do < (whatever FPS the unit can handle).
The problem with 'photographs' or better put digital images is the data they represent is quite large.
So first you would need a method of compression (JPEG is good for this) then you need a method of decompression so you'll have to write some sort of DCT (discret cosign transform).  Using the JPEG reference library is a good start, however depending on the target platform the reference model can be slow.  I know someone who wrote a very fast JPEG decoder for the GBA once (kind of cool making a ROM image with his util).

There are more than just a few problems.  It mostly depends on your target platform what you can do.  I think an 8bit platform and JPEG are not a good mix for this method.  If the video is only tiles, JPEG is pretty much right out, as you would have to render the JPEG blocks into a buffer and run a quick quantization of the colors picking nearest neighbor etc, way too much going on for tiles.
Using an animated GIF for your data source would be best then as all the quantization etc. is done for you already.  Keep your image small and load each frame into new tiles for the animation in the background while displaying the first set.  Gif animation format can optionally only update sections that change.  That might be a good thing to use to build your animation tile sets for each frame.  Depending on the time you need for the animation your frame count could get larger than your available space.  That's just off the top of my head really.

Cyb
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC