PocketMatrix forums

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

Looking for Fire FX

I am trying to put together a PocketHAL sample/tutorial. I was thinking about the classical "fire FX" used in demos a couple of years ago.

I spent last night implementing different fire effects as described on www.gamedev.net and quite frankly, they all look like crap. The flames stay in the bottom 20% of the screen and is not really impressive.

Does anyone have links to a cool full screen effect I could use? I specifically need something that:

1) Doesn't need external data files (ex: pictures).
2) Can use the full resolution available.
3) Is indepedant of resolution - it needs to run on the PC, PPC and Smartphone, all have different screen resolution.

Thanks for any pointers/links/blabla.
Thierry wrote:I am trying to put together a PocketHAL sample/tutorial. I was thinking about the classical "fire FX" used in demos a couple of years ago.

I spent last night implementing different fire effects as described on www.gamedev.net and quite frankly, they all look like crap. The flames stay in the bottom 20% of the screen and is not really impressive.

Does anyone have links to a cool full screen effect I could use? I specifically need something that:

1) Doesn't need external data files (ex: pictures).
2) Can use the full resolution available.
3) Is indepedant of resolution - it needs to run on the PC, PPC and Smartphone, all have different screen resolution.

Thanks for any pointers/links/blabla.


A good rotozoom with a pocketHAL logo or a black and white software generated tile...

I could give you a small piece of code to do this old effect...
StephC wrote:A good rotozoom with a pocketHAL logo or a black and white software generated tile...


As long as it doesn't have to load an external file (or use Windows-specific resources), it's good. I would also like to keep it simple... Rotozoom might be better for PocketFrog.


StephC wrote:I could give you a small piece of code to do this old effect...


Feel free to send it to my email address. Thanks!
Thierry wrote:

As long as it doesn't have to load an external file (or use Windows-specific resources), it's good. I would also like to keep it simple... Rotozoom might be better for PocketFrog.



Rotozoom IS simple.


Feel free to send it to my email address.


Do you prefer the simple version or the cache optimised version ?
StephC wrote:
Rotozoom IS simple.


I agree... But then again I want a minimal application as a sample.

StephC wrote:Do you prefer the simple version or the cache optimised version ?


Both, of course =)
Thierry":32kchfwo]

If you don't use a big bitmap as a source then you don't need the cache optimised version, and I've found a good and well documented source code on the net :

http://www.flipcode.com/demomaking/issue10.shtml

Very simple.
Can someone tell me what "rotozoom" is? I've seen it mentioned before, mostly from people outside the US. I'm assuming it's some sort of scaled and rotated blit operation.
StephC wrote:http://www.flipcode.com/demomaking/issue10.shtml

Very simple.


So simple that it is already in PocketFrog.

I think I will stick with my idea of a Fire FX...

Digby: yes, "rotozoom" = blit with rotation and scaling. I don't know why Europeans call it rotozoom. Funny name.
I assume because the demo scene was much bigger in Europe than it was in North America.
This is one of the best fire effects I've ever seen. http://freespace.virgin.net/hugo.elias/models/m_fire.htm

You can download part of the source. I've long wanted to port this over, but haven't had the chance yet.

Pam
Thierry wrote:

Digby: yes, "rotozoom" = blit with rotation and scaling. I don't know why Europeans call it rotozoom. Funny name.


Rotozoom = full screen blit with rotation and scaling of a bitmap with power of 2 dimensions.

And that was the name of this effect in the demoscene.
I've written a little rotozooming demo with phal. Very simple, fast written, bad implemented, not commented and so on demo :)

Precompiled exe and source code included. It's not frame based but time based so should run at the same speed on all ppcs.

For the image I have used the droneships' frog, a tribute to our great man Thierry. Uaz, I have not sleep a lot tonight... ;)
Attachments:
rotozoom.zip (86 KB)