Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Smoke tests Goto page 1, 2 Next

| Inside3d Forums Forum Index -> General Discussion

View previous topic :: View next topic
Author | Message
--- | ---
Chip Joined: 21 Jan 2009 Posts: 314 Location: Romania |

Posted: Mon Oct 05, 2009 4:02 pm Post subject: Smoke tests |

So, I've been playing with smoke particles and this is what I've got. I used the smoke grenade from MauveBib's tutorial and it looks nice. Combined with Darkplaces, it should look nicer. I'm looking however inside the QMB source to see if the smoke can be enhanced. I might need some Z feathering and some volumetric effects. Fake, of course. I'd also need some fade in and fade out for the emitter.
Oh, I'm neck deep into QuakeC, but I'm sure I'll have to dig a little inside the engine's C code in order to achieve some realistic effects.
The fire effect from QMB is also spectacular, and it doesn't seem to be created using QC at all.
Question: How do I replace spr/spr32 sprite files with PNG? Or TGA? The QuakeC says:

Code:
setmodel(mysmokefx,"progs/smoke.spr32");

If I replace it with a PNG file it complains that it's not a valid model. I know it isn't but I don't know how to add it as a valid PNG/TGA. Don't tell me to use a replacement texture like smoke.spr32_0.tga because it doesn't work.
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake

Back to top |

worldspawn Joined: 02 Dec 2008 Posts: 26 |

Posted: Mon Oct 05, 2009 4:23 pm Post subject: |

offtopic: nice clientside hud

Back to top |

Chip Joined: 21 Jan 2009 Posts: 314 Location: Romania |

Posted: Mon Oct 05, 2009 4:42 pm Post subject: |

worldspawn wrote:
offtopic: nice clientside hud

I simplified it a lot since those screenshots were taken. The interface is taking shape day by day. Or week by week, as I find time to work on it. It's gonna be a horror adventure.
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake

Back to top |

MauveBib Joined: 04 Nov 2004 Posts: 602 |

Posted: Mon Oct 05, 2009 9:47 pm Post subject: |

The method I used in that smoke grenade is actually pretty ugly and slow; I only used it because it was required to work with all engines. If you're looking a DP specific smoke I seriously recommend using effectinfo.txt to make particle-based smoke. Here's an example:
_________________
Apathy Now!

Back to top |

ceriux Joined: 06 Sep 2008 Posts: 969 Location: Florida, USA |

Posted: Mon Oct 05, 2009 9:52 pm Post subject: |

lol lefty looks funny =p cool smoke though! _________________ QuakeDB - Quake ModDB Group

Back to top |

Chip Joined: 21 Jan 2009 Posts: 314 Location: Romania |

Posted: Tue Oct 06, 2009 7:09 am Post subject: |

MauveBib wrote:
The method I used in that smoke grenade is actually pretty ugly and slow; I only used it because it was required to work with all engines. If you're looking a DP specific smoke I seriously recommend using effectinfo.txt to make particle-based smoke. Here's an example:

OK, I got squad, let me see what I can come up with. Thanks.
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake

Back to top |

MauveBib Joined: 04 Nov 2004 Posts: 602 |

Posted: Tue Oct 06, 2009 1:22 pm Post subject: |

Actually I don't think I ever released the version of Squad with the smoke etc. I'll dig it out today. _________________ Apathy Now!

Back to top |

Chip Joined: 21 Jan 2009 Posts: 314 Location: Romania |

Posted: Tue Oct 06, 2009 1:59 pm Post subject: |

MauveBib wrote:
Actually I don't think I ever released the version of Squad with the smoke etc. I'll dig it out today.

That would be great. I'll be around pressing F5.
EDIT: Any luck finding that code, Mauve?
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake

Back to top |

Chip Joined: 21 Jan 2009 Posts: 314 Location: Romania |

Posted: Fri Oct 09, 2009 11:54 am Post subject: Smoke Test 3 |

I've been playing with the particle effects in Darkplaces last night, and I changed my previous smoke FX, which was rather ugly. This new test shows the particles, and the view alignment, as it's different from the previous, which used sprites and turned around trying to match your camera view. That's what a sprite does.
http://www.vimeo.com/6980647
I'll be tweaking the effect some more until I get the desired effect, than I'll move on to fire.
As the weapons are done (I still have to draw some hand textures), I'll move on to finish particles.
Sparks are done, smoke is almost there, and the rest will follow.
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake

Back to top |

MauveBib Joined: 04 Nov 2004 Posts: 602 |

Posted: Fri Oct 09, 2009 3:01 pm Post subject: |

Yep, that's the sort of thing I used in Squad. Be careful not to make the smoke too thick or it goes solid white in the center, and of course bear in mind that the particles aren't affected by lighting. _________________ Apathy Now!

Back to top |

Chip Joined: 21 Jan 2009 Posts: 314 Location: Romania |

Posted: Fri Oct 09, 2009 7:27 pm Post subject: |

MauveBib wrote:
Yep, that's the sort of thing I used in Squad. Be careful not to make the smoke too thick or it goes solid white in the center, and of course bear in mind that the particles aren't affected by lighting.

I noticed the white thickness in the center, and it doesn't seem to be affected by light. Thanks. More tests to come.
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake

Back to top |

Chip Joined: 21 Jan 2009 Posts: 314 Location: Romania |

Posted: Sat Oct 10, 2009 10:35 am Post subject: Fire tests completed |

I got the smoke settled out and I moved on to fire. I got 2 fire types by now: campfire and inferno fire. The campfire can be put above some wood pieces, and the inferno fire can be put above rubble or destroyed areas. Eye candy for you, guys:
http://www.vimeo.com/6994342
http://www.vimeo.com/6994385
http://www.vimeo.com/6994410
http://www.vimeo.com/6994466
http://www.vimeo.com/6994514
I still have to do the zig-zagging sparks above the fire.
Next I'll do the torch fire and that's it. I'll have several custom fire types for the game though, but these 3 types (campfire, inferno and torch) will be final.
Stay tuned for more!
By the way, how could I embed videos from Vimeo? The embed code would show the HTML instead of the embedded video.
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake

Back to top |

ceriux Joined: 06 Sep 2008 Posts: 969 Location: Florida, USA |

Posted: Sat Oct 10, 2009 8:15 pm Post subject: |

sexy is that all particles? _________________ QuakeDB - Quake ModDB Group

Back to top |

xaGe Joined: 01 Mar 2006 Posts: 329 Location: Upstate, New York |

Posted: Sun Oct 11, 2009 5:31 am Post subject: |

Nice looking smoke & fire particles..

Back to top |

Chip Joined: 21 Jan 2009 Posts: 314 Location: Romania |

Posted: Sun Oct 11, 2009 8:53 am Post subject: |

ceriux wrote:
sexy is that all particles?

Yes, DarkPlaces particles. More to come.
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> General Discussion | All times are GMT Goto page 1, 2 Next
Page 1 of 2

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group