| |
tecM0
Registered: Jan 2002 Posts: 40 |
4x4 FLI
hi,
i never used that (overused?) 4x4_effect by myself.
i think itb looks really cool with dithered chars.
the "fractal_vector_part" in MATHEMATICA uses
something like that, or?
how does this 4x4_FLI_FX work? as i sayd..i never
used FLI...and really hates timing.
but it could be a very short routine within a kind
of loop.
if i set a IRQ to the 1st line of the FLI...set the
screen and then set the IRQ to the next line of FLI
(4 pixellines down?) ....do this work? and how?
i never can find a demo_source around the net and
all demos i have "monitored" use speedcode(generators).
does a routine like the one i explained exist and does
it work like this at all?
thanx for help,
tecM0
|
|
... 17 posts hidden. Click here to view all posts.... |
| |
Cybernator
Registered: Jun 2002 Posts: 154 |
About dithered 4x4, how can I calculate the pixels? (Drawing them by hand is the last thing I would do. Don't ask why! :)) I'm about to create a bumpmapper. Now I can create a dithered environment map, and extract blocks out of it. Or I can create pixels using some algorithm which takes the shade (0-15) as input parameter. Which one is, in your opinion, better?
Btw, I'm still having problems with the Floyd-Steinberg thingy. ;-P Anyone has experience with it? |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
just draw the shades. it's only 2x4x16 pixels. not worth the effort and code something. |
| |
St0fF
Registered: Oct 2002 Posts: 40 |
Floyd-Steinberg thingy? What's that? |
| |
Cybernator
Registered: Jun 2002 Posts: 154 |
Quote: Floyd-Steinberg thingy? What's that?
A dithering algorithm based on error diffusion. |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
floyd steinberg on 2x4 pixels... yeah sure |
| |
tecM0
Registered: Jan 2002 Posts: 40 |
hello graham,
have seen this:
"...and I suddenly came up with this very simple idea how to do 4x4 without losing 60% of the rastertime..."
on
http://c64.rulez.org/onslaught/interviews/int25.php
can you explain this simple idea to a unsuspecting /me?
thanx a lot,
tecM0
|
| |
Cybernator
Registered: Jun 2002 Posts: 154 |
Quote: floyd steinberg on 2x4 pixels... yeah sure
I've just created an environment map, and dithered it using Photoshop. Then exctracted the blocks, and I ended up with a dithered charset. It did work. :) IMO, pattern dithering produced better result than error diffusion, in this case.
|
| |
tecM0
Registered: Jan 2002 Posts: 40 |
no OXY_tutorial?
btw...i still also dont know how this
screendisorting worx... .. .
=(
|
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
the idea was to have a small irq every 8 rasterlines. nowadays this might sound pretty simple but back then it was the first custom resolution running in fullscreen size without munching up all the rastertime. before that any custom gfx mode based on fli ate up all cycles in the display area. |
| |
Cybernator
Registered: Jun 2002 Posts: 154 |
The bumpmapper works! :-D It wasn't difficult as I first thought. However, it is slow even if it's using unrolled code.
Yeah, I need to use chained interrupts. But I can also have a separate IRQ every 4th rasterline, instead of every 8th, right? There comes the stable raster issue again. The double IRQ method would be inefficient for this case, wouldn't it? I'm studing the auxilary timer method now, but wouldn't different CIAs give different results? I'll probably need to wait an additional cycle on newer CIAs, and that takes CIA type recognition routine and such crap. Any easier method?
Only the lines where badline should be given at cycle 14 are a problem. The others are easier as I've got cycles 1-11.
--
OT: I found this about Deus Ex Machina in the interview above:
"Another guy wondered why I did the interference part because 'it's easy to do' "
The multiplexer was cerainly not simple. It took me two weeks of coding to replicate Graham's interferences! (Maybe I could have done it faster if there wasn't for BOFH :))
Of course I had all the guidelines from the original like where sprites are positioned, how layers are organized, etc. And the most important: As I saw it was possible, I was encouraged to go to the end. If I've never seen it, I might drop it saying: "This is impossible!"
The most problematic is the presence of two sprite layers. What if the rasters get too close? It would flicker. Then what if there's a badline? (Have in mind that there's also a char layer!)
In my experience, the bumpmapper was much easier than the interferences. And the complexity of an effect is not always important. The effect looks awesome, no matter what.
|
Previous - 1 | 2 | 3 - Next |