Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > CSDb Entries > Release id #112378 : Coma Light 13
2012-11-06 22:59
nightlord

Registered: Jan 2003
Posts: 128
Release id #112378 : Coma Light 13

now that we all had watched this many times, I wanted to ask if the authors can give a bit more info on the technical side of things. The demo has a really entertaining notefile but coders want more detail, so that we know what exactly we need to beat :)

For instance is the shadow casting vector realtime, or the dualpyramid with the 4 circles attached to its vertices. is that realtime?

Thanks again for a great demo.
 
... 13 posts hidden. Click here to view all posts....
 
2012-11-08 11:04
Bitbreaker

Registered: Oct 2002
Posts: 425
It would look uglier with 200 lines, as you'd then stretch the pixels in y-direction what would spoil all the (interlaced) dithering put into that effect, something i really dislike with the FPP effects. Win-win i'd say :-)
2012-11-08 11:38
Oswald

Registered: Apr 2002
Posts: 4065
it is possible to dither correctly 200 lines aswell. just split the Z gfx mapping tables into dither style A (*x*x*) and B (x*x*) and read from A on odd lines from B on even lines. split up GFX similarly, gfx type A is all *x*x and vica versa.
2012-11-08 12:52
Bitbreaker

Registered: Oct 2002
Posts: 425
Well, should work, but a quite some obstacles connected to that, compared to:

lda $dd00
eor #$02
sta $dd00

per frame :-)

That way you might need to update per line: $d018, $d011, $dd00, $d021, $d022, maybe a bit tight with having badlines only :-)
I'd be very happy to see lots of effects in a better quality, either in hires/ecm or at least properly dithered and maybe even interlaced. So don't hesitate to come up with a hires 200 line version :-)
2012-11-08 13:02
Oswald

Registered: Apr 2002
Posts: 4065
in soiled legacy I've managed to update all those ;), tho cheating like hell, d021/22 is updated on odd/even lines, and there's an lda dd00 in the raster speedcode for each line which is modded to sta dd00 when the checkers needs to be inverted (hint: lowest bit in d018 is unused, the value for d018 can be reused :) needed special drive code so it will not try to interpret all the crazy dd00 writes as input.
2012-11-08 13:05
Peiselulli

Registered: Oct 2006
Posts: 65
use krill loader and let the upper 6 bits of $dd00 to zero, that works perfect. "SAX" instead of "STA" with X register set to $03 helps a lot here ...

2012-11-08 13:10
Bitbreaker

Registered: Oct 2002
Posts: 425
Yeah, a nice feature is that unsued bit, used that trick it in my hires twister in Ächzzeit as well :-) If you want to avoid loader trouble, SAX is your friend, if you can afford wasting one register for that purpose only, that is.
Edit: Urks, Peiselulli was faster :-P
2012-11-08 13:19
Oswald

Registered: Apr 2002
Posts: 4065
that SAX trick could have been used nice one. btw looked at that code, its even more crazy than I remembered. the raster speedcode has to be all selfmodded, no time to load from tables each lda is lda #$00, also there's only time on each 2nd line to write to dd00 :)
2012-11-08 22:32
Skate

Registered: Jul 2003
Posts: 466
well, it would be much nicer to have an official tech notes instead of guessing how those effects are done, right? :)
2013-01-14 15:39
Bitbreaker

Registered: Oct 2002
Posts: 425
Skate: No tech note so far, but this might give some more hints regarding the chessboard. It also explains other effects that base on the same principle.

http://www.codebase64.org/doku.php?id=base:twisters_x-rotators_..

@all: Now don't say it is cheap, now as it is clear how things are done :-)
Also the monitors built into our carts are a very legitimate mean to understand what's happening on the screen :-) Don't be a pussy, that is all that we had back these days when we wanted to understand what others did, isn't it? :-)
2013-01-14 19:55
PopMilo

Registered: Mar 2004
Posts: 142
Quote: Skate: No tech note so far, but this might give some more hints regarding the chessboard. It also explains other effects that base on the same principle.

http://www.codebase64.org/doku.php?id=base:twisters_x-rotators_..

@all: Now don't say it is cheap, now as it is clear how things are done :-)
Also the monitors built into our carts are a very legitimate mean to understand what's happening on the screen :-) Don't be a pussy, that is all that we had back these days when we wanted to understand what others did, isn't it? :-)


Wow! That is one nice piece of code!
Thanks !!!
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Guests online: 40
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 The Shores of Reflec..  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.5)
7 Incoherent Nightmare  (9.5)
8 Quad Core 100%  (9.5)
9 Wonderland XII  (9.5)
10 Comaland  (9.5)
Top onefile Demos
1 Pandemoniac Part 2 o..  (9.6)
2 Field Sort  (9.6)
3 Dawnfall V1.1  (9.5)
4 Daah, Those Acid Pil..  (9.5)
5 Treu Love [reu]  (9.4)
6 Dawnfall  (9.2)
7 Veterans of Style  (9.2)
8 KAOS 64  (9.2)
9 One-Der  (9.2)
10 Game of Thrones [2sid]  (9.2)
Top Groups
1 Blazon  (9.5)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Oxyron  (9.4)
5 Crest  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Mitch  (9.8)
3 Mr Zero Page  (9.8)
4 Snacky  (9.8)
5 MWS  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.587 sec.