New Plasma Effect Demo

瀏覽次數:328 次
跳到第一則未讀訊息

J.B. Langston

未讀,
2020年8月31日 晚上9:36:532020/8/31
收件者:RC2014-Z80
Continuing to sharpen my Z80 demoskills ;)... I ported over a really nice plasma effect from C64: https://www.youtube.com/watch?v=s-DdxUdJskI

It's got a lot more variety and nicer colors than the one I wrote before.  The way the plasma is generated can be configured with a set of constants, so different effects could be randomly generated at runtime once I add a RNG and a UI to control it.

S P Dixon

未讀,
2020年9月1日 上午9:23:452020/9/1
收件者:RC2014-Z80
What an awesome demo, congratulations! I wasn't fully aware of the video card but have just ordered a kit. Thanks for the inspiration.

Todd Decker

未讀,
2020年9月2日 上午11:03:112020/9/2
收件者:RC2014-Z80
I've ordered one too!  Very nice card

J.B. Langston

未讀,
2020年9月4日 下午1:50:382020/9/4
收件者:RC2014-Z80
Thanks! Glad you liked it. BTW, I've tweaked the color palettes a bit and made a longer video here: https://www.youtube.com/watch?v=aIT_a1AZj5A

positron (Jose L. Collado)

未讀,
2020年9月6日 中午12:11:202020/9/6
收件者:RC2014-Z80
Hi J.B. ! Amazing ! A cool demo of an Anti-aliasing algorithm. Is the code SC-126 (Z180 + ROMWBW) compatible ?

Cheers, JL

J.B. Langston

未讀,
2020年9月6日 中午12:15:212020/9/6
收件者:RC2014-Z80
I haven't tested it on my SC126 yet but there's no reason it shouldn't be. I will try it out and if I find any problems, I'll fix them.

Yesterday I added a lot of features so it's now possible to interactively control the program, holding an effect indefinitely, generating random effects, changing the palette and tweaking other parameters.  Eventually plan to add the ability to save and load your favorite parameters to CP/M but I'm not there yet.

--
You received this message because you are subscribed to a topic in the Google Groups "RC2014-Z80" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rc2014-z80/HvRCzvDQDh8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/145b1141-78a5-482a-bf0a-f82044a0877dn%40googlegroups.com.

J.B. Langston

未讀,
2020年9月6日 中午12:23:422020/9/6
收件者:RC2014-Z80
Just tested it out. The only issue was I forgot to remove the code that double's the Z180's clock speed.  Faster clock speed is not necessary and it makes the baud rate double which interferes with using the interactive features unless you change the setting in your terminal.  I've fixed that and pushed the changes.  I've only tested assembling with sjasm but it should work with others as well.  I've attached a binary here. Rename it to .com to run it.
plasma.out

positron (Jose L. Collado)

未讀,
2020年9月6日 中午12:32:192020/9/6
收件者:RC2014-Z80
Brilliant JB ! Many thanks for this geek toy ! I’ll run it permanently when my SC-126 is idle...
By the way did you have a chance to implement the line drawing functions in your BBC Basic port ?

J.B. Langston

未讀,
2020年9月6日 中午12:50:592020/9/6
收件者:RC2014-Z80
Never did get around to it.  Dean Netherton did though: https://github.com/vipoo/bbcbasic-z80.  Unfortunately he also introduced a dependency on RomWBW, which I do not want in my version of the code.  This shouldn't be an issue for you since you're running an SC126 but since I want to remain compatible with my z80ctrl board, which doesn't run RomWBW, I need to untangle the dependencies on RomWBW and merge the drawing code back to mine.

Rob Dobson

未讀,
2020年9月6日 下午3:04:382020/9/6
收件者:RC2014-Z80
Really nice job! Very cool effect.

On Tuesday, 1 September 2020 at 02:36:53 UTC+1 J.B. Langston wrote:

J.B. Langston

未讀,
2020年9月7日 下午3:14:182020/9/7
收件者:RC2014-Z80
If anyone's interested, I've written an explanation of how the code works: https://hackaday.io/project/159057-game-boards-for-rc2014/log/183324-plasma-effect-for-tms9918
回覆所有人
回覆作者
轉寄
0 則新訊息