PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Pretty Plasma Colors

I'm still working on my graphics library, but I just added a plasma effect to my test program that I thought folks might be interested in. If you are:

http://www.omnytex.com/GXLibTest_MIPS.zip
http://www.omnytex.com/GXLibTest_ARM.zip

As an added bonus for me, you could help me out by reporting back here if it works on ARM devices (last time I think there were some issues with both 36xx and 38xx series, not sure if they are fixed or not).

In any case, you E-125 owners are luckiest anyway: best screen around and the colors look cool!

Screensaver anyone?!?
It does weird stuff on my 3630.

Runs. Then I tap something and it draws some lines/triangles/whatever, plots the text over it, and... err... sits there (is it drawing to another buffer and not flipping?). About 20 seconds later I get to do something else...
Damn, that sounds like what was happening before. I really need to get an iPaq in my hand to figure this out, it's beating the hell out of me why it can work so perfectly on my E-125 and seemingly not at all on an iPaq.
If you haven't got it solved by the week after next (I'm on holiday from Friday to July 9th), and if you want to send me the source, I'll have a hack at it on my iPAQ and see if I can find the problem, if you like.
Thanks very much for the offer, I just may take you up on that! My only other option at this point is to take a build with a S**TLOAD of debug logging to Best Buy and beam it to an iPaq and try it. I'll let you know either way...
I haven't followed this too closely, but the routines in this version compared to the first version on my e200 are much slower.
BurningSheep · 26 Jun 2002, 23:43 UTC
meh, I wanted to see the pretty plasma colours :(
Rob, slower you say? I didn't change any of the routines themselves, the only thing I can think of is that it is now doing double-buffering on some devices. Anyone know what GXIsDramBuffer or whatever it is returns true or false for the E200?

Grr, maybe I'll just write for MIPS devices, this ARM crap is pissing me off! :lol:
do you use the same blitting routines for ipaq and e200? Keep in find the the e200's video ram starts in the upper left corner and moves right. I think that the ipaq is arranged differently.
BurningSheep · 27 Jun 2002, 00:35 UTC
It's not displaying corrupt images, it just basicly isn't displaying anything more than the menu. the exit button works fine btw :)

Sometimes when i click a menu item some graphics will appear behind the menu, but that's pretty much it.
Yes, same routine, but it takes pitch and all into account, it SHOULD work on any device.

Sheep, what device are you using?
This webpage might be of use to you:

http://www.applewoodhouse.com/device.html
Thanks Digby, I had that bookmarked already. Somewhat helpful, but doesn't tell me everything I wish it did. Thanks in any case!
fzammetti · 27 Jun 2002, 05:18 UTC — v4 out now
Well, I just happened to notice something that struck me as funny, and when I thought about it a bit, it might make sense that it was causing my iPaq problems (36xx series anyway).

If anyone is willing to try it, v4 is now there at the same links as before:

http://www.omnytex.com/GXLibTest_ARM.zip

(No sense in listing the MIPS version, I know that works).

I think it still may not work on the 38xx series, but I think that's the well-known bug I just haven't coded for yet.

Thanks all! (Trust me, the plasma really IS pretty, I think it'll be worth it once I get it working!)
Conan · 27 Jun 2002, 07:21 UTC — Not working on iPaq 3650
iPaq H3650 PocketPC2002
No joy. Just the menu. Exit works but nothing else?

Have you had a look at PocketFrog's source ?

ps: Burning Sheep's plasma demo is over there too.
qwerty · 27 Jun 2002, 08:15 UTC — v4 out now
fzammetti wrote:
(No sense in listing the MIPS version, I know that works).

Sorry to tell you this but not on my E-115. Tapping on the menu options do nothing--only exit works. I hate to think that what runs on my 115 will not run on your 125.
BurningSheep · 27 Jun 2002, 09:33 UTC
i have a 3630 like refractor, v4 displays the menu but I can tap all I want but nothing happens. Not even something strange like before. It just sits there staring back at me.
ow and the exit button is still working :)
qwerty, german device?
shapeshifter-sama wrote:
qwerty, german device?

US
Marco · 28 Jun 2002, 10:01 UTC — Works fine..
Well, the plasma works fine on my iPAQ3870.

Regards.. Marco.
Ok, well THAT was totally unexpected! Thanks though!
I have a 3760 iPAQ PPC2002, the version 4 displays only the menu but but nothing happens except the exit.
The rest is not working ! :(

Heinz
Germany
fzammetti · 15 Aug 2002, 05:51 UTC — Finally!
Well, with a great deal of help from Jasper, my graphics library appears to be working across all tested devices. I wasn't all that far off really, but I doubt I would have been able to go that last little bit without his help, so I thank you again my friend! :)

In any case, the original topic of this post was plasma of course... I threw together a simple Plasma Screen Saver. Well, that's how I use it anyway. It's only 10K in any case.

If anyone wants it, here it is:

http://www.omnytex.com/PlasmaSS.zip

The archive contains versions for ARM, MIPS and SH3 (although it won't run acceptably on SH3 devices). It should run at a pretty steady 30 FPS (hard-coded to that), on SH3's it barely pulls 20 though.

No source is included, but I wouldn't be against giving it out if anyone really wants it.

If anyone tries this on a 38xx, I'd be very interested to hear if it works or not. I believe it will, but I have no way to test it for sure, that's the one device I'm not so sure about, all others *SHOULD* be fine.

In any case, I hope you enjoy the plasma. I actually do find it quite pretty and even soothing, but I'm easily pleased, so take it for what it's worth!
I'm sorry but it still doesn't work on my E-115. All I see is a black screen. A tap shuts the program down. I'm still waiting to see those pretty plasma colors. Also I tried the Electro electronics utility and that works okay except at startup when the app window does not show itself and I have to go activate it or start it up again(it seems to recognize the running instance and not create another one). Perhaps there is a common problem.
No problem, glad to help. :)

Just tested the screensaver and it's working fine still on my iPaq 3660..
You know, I don't think anyone's ever tried my stuff on a 115 before... I would have expected everything to work (Electro especially), but I guess not. Well, to be honest I'm not going to lose sleep over it... at some point you have to start to not worry about older devices. Now, if either one didn't work on a 125 or an EM-500, then I'd be worried, but I can live with a 115 problem. If I had one to test on I would, but without that... oh well!
You should forget about IPAQs also. Noone likes them :-P
Well *I* certainly don't after all the trouble they gave me! :)
PlasmaSS runs perfectly on my Jornada 548 (SH3)! It's really trippy. I was staring at it last night while I was really tired, and it made me feel like I was high on acid.

I tried BurningSheeps Plasma, and it doesn't work on my Jornada 548. So BurningSheep if you're reading this then please fix your Plasma demo/screensaver.

Also, are there any other cool demo/screensavers that any of you PM programmers have made besides these two?