What is DST and PCF? No one has explained it.

K.I.L.E.R

Retarded moron
Veteran
I'm posting in this forum so Rev doesn't get diarrhea over my post.

What is the abbreviation unabbreviated for both?
What do they do?
 
K.I.L.E.R said:
What is the abbreviation unabbreviated for both?
DST = Depth / Stencil Texture.
PCF = Percentage Clostest Filtering

What do they do?
DSTs are used in a shadowing method called shadow mapping. Basically, the scene is first rendered from a light's point of view, rendering the frame into the DST. This is then used to render the scene from the camera's POV but with projective texturing used to apply the DST to the frame; during pixel processing the pixel depth value for the ordinary texture is compared to those from the DST. The calculation will either result in the yes-no type of answer, declaring that the pixel is either in shadow or not.

PCF is a form of texture filtering. As the name suggests, the nearest texels to the sample point are taken during the sampling; kinda like with bilinear filtering but the sample patterns are jittered.

Something like that anyway - somebody is going to correct me I know but that's off the top of my head and I'm at the work right now too!
 
DST = Depth Stencil Texture
There are a number of depth stencil formats. You have a texture. You want to use one of the 12 available formats. You then check to see if your hardware can use the surface format you have chosen as a texture and/or a render target and/or as a depth stencil buffer (the last should be compatible with a render target format). If hardware says okay, you get DST. Basically, DST is depth-based shadow buffer, rendering into depth textures.

PCF = Percentage Closer Filtering (sometimes also called Percentage Closest Filtering)
Helps alleviate aliasing of shadow maps. PCF compares pixel depth to position and neighbouring pixels in the shadow map to set shadow intensity (percentage of shadow map that is actually "shadowed"). PCF is useful for approximating soft shadows but needs some mucking around (basically blurring the shadows, duh).

Hope this is the kind of info you want. If not, too bad coz I gotta rush to the toilet.
 
I'd say that would depend on the type of dance, I mean a waltz is one thing but if you are going to tango you need a lot more room.
 
Damn, I'd wanted to start a new thread about pixel size and clicked the wrong button!! Ah, well, too much beer, time for bed!
 
Reverend said:
Damn, I'd wanted to start a new thread about pixel size and clicked the wrong button!! Ah, well, too much beer, time for bed!
Thanks for that, I was kind of wondering where that came from.

BTW-For me a pixel is .22 ;)
 
Re: The Big Question

Reverend said:
What is the size of a pixel?
I'm guessing you are asking "is it a gaussian-like function that overlaps into some number of its neighbouring pixels or is it a box function with no overlap"?

I'd say it's probably the former (even with an LCD).
 
Back
Top