Forum

earliest dp build with stainmaps?

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

Postby revelator » Mon Mar 02, 2009 8:29 pm

not to my understanding mhquake uses its own particle system but replaces sprites.

as far as i know stainmaps function a bit like colored lighting "looking at the code" hmm yep seems like its a bit like colored lighting code mh may have some more info though ?
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby mh » Mon Mar 02, 2009 9:23 pm

Yup, almost but not quite exactly like coloured lighting. Stainmaps work as if they were really small dynamic lights, which is the reason why they can appear blocky a lot of the time.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Postby revelator » Tue Mar 03, 2009 12:26 am

ok i wasnt far of :wink:

quite interresting i think cause that actually means lights are textures ? "but generated ones".

i found that stainmaps tend to be more diffuse than decals dunno if thats what's ment with blocky :lol:

hmm maybe going einstein with some cubemap code could produce something that looked a bit better ?
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby Spike » Tue Mar 03, 2009 1:13 am

The idea behind stain maps is to reduce the blue and green lighting in areas, so blood splattering walls makes them go red.
Once applied stain maps do not impact performance.
Although 1000 gibs flying around a room spraying blood all over the place does, however.

They're a lightmap hack, and depend upon the lighting resolution for their precision. Generally that's a consistant 16-texel/quake-unit precision. Which isn't that great.

They're not so great for deathmatch games, as they tend to linger and just make the map dark. Clipped decals rule.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby MeTcHsteekle » Tue Mar 03, 2009 3:27 am

Spike wrote:They're not so great for deathmatch games, as they tend to linger and just make the map dark.


not for me, i use them as indicators such as:
more red = more people have be esploded there = avoid/approach with caution = i might not die as much

same goes with deadguys, recently respawned/missing items etc.
bah
MeTcHsteekle
 
Posts: 399
Joined: Thu May 15, 2008 10:46 pm
Location: its a secret

Postby revelator » Fri Mar 06, 2009 4:34 am

they may have there uses :wink: but else i agree with spike clipped decals do look better :)

for blood they just look wrong but wall marks from say the lighting gun looks kinda good.

will see if i can get some decals running in realm hopefully it wont look to borked combined with stains.
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest