Forum

Smoke tests

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

Smoke tests

Postby Chip » Mon Oct 05, 2009 4:02 pm

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: Select all
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.

Image Image Image Image Image Image
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Postby worldspawn » Mon Oct 05, 2009 4:23 pm

offtopic: nice clientside hud :)
worldspawn
 
Posts: 27
Joined: Tue Dec 02, 2008 11:44 pm

Postby Chip » Mon Oct 05, 2009 4:42 pm

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.
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Postby MauveBib » Mon Oct 05, 2009 9:47 pm

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:

Image
Apathy Now!
User avatar
MauveBib
 
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Postby ceriux » Mon Oct 05, 2009 9:52 pm

lol lefty looks funny =p cool smoke though!
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby Chip » Tue Oct 06, 2009 7:09 am

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.
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Postby MauveBib » Tue Oct 06, 2009 1:22 pm

Actually I don't think I ever released the version of Squad with the smoke etc. I'll dig it out today.
Apathy Now!
User avatar
MauveBib
 
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Postby Chip » Tue Oct 06, 2009 1:59 pm

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?
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Smoke Test 3

Postby Chip » Fri Oct 09, 2009 11:54 am

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.
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Postby MauveBib » Fri Oct 09, 2009 3:01 pm

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!
User avatar
MauveBib
 
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Postby Chip » Fri Oct 09, 2009 7:27 pm

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. ;)
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Fire tests completed

Postby Chip » Sat Oct 10, 2009 10:35 am

:shock:

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.
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Postby ceriux » Sat Oct 10, 2009 8:15 pm

sexy is that all particles?
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby xaGe » Sun Oct 11, 2009 5:31 am

Nice looking smoke & fire particles.. 8)
User avatar
xaGe
 
Posts: 461
Joined: Wed Mar 01, 2006 8:29 am
Location: Upstate, New York

Postby Chip » Sun Oct 11, 2009 8:53 am

ceriux wrote:sexy is that all particles?


Yes, DarkPlaces particles. More to come.
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest