"We could change the world, if God gave us the source code."
More pages: 1 ... 11 ... 21 ... 31 ... 41 ... 51 ... 61 ... 71 ... 81 ... 91 ... 101 ... 111 ... 121 ... 131 ... 134 135 136 137 138 139 140 141 142 143 144 ... 151 ... 161 ... 171 ... 181 ... 191 ... 201 ... 211 ... 221 ... 231 ... 241 ... 251 ... 261 ... 271 ... 281 ... 291 ... 301 ... 311 ... 321 ... 331 ... 341 ... 351 ... 361 ... 365
Query Failedsqrt[-1]
Friday, October 24, 2008

Sorry, false alarm.

Updating my drivers to the latest version got rid of all the artefacts.

(Oh and nice demo BTW)

Stoppel
Friday, October 24, 2008

Humus,

Actually I picked all samples from each pixel of the depth buffer, compared their values and if they differed, I marked the pixel in the stencil buffer.

Shown in the video is the stencil mask. I got your demo working here and interestingly, the clipping edges don't become visible as often as they did with my approach�� maybe your centroid-approach is more stable or D3D 10.1 has some modifications D3D10.0 didn't have when I wrote my program. Also, I did not gain any performance by rendering the singe-sampled pixels dedicated from the multi-sampled ones, which is clearly the case in your application (50% performance improvement, that is GREAT)

Btw, does using SV_SampleIndex in a shader do the same trick (the same performance boost) or does it multisample each pixel, may it be multisampled or not?

Humus
Friday, October 24, 2008

Stoppel,
I take it that you didn't read the depth buffer per se, but outputted depth to a render target, right? Otherwise that approach wouldn't work since each subsample gets a distinct interpolated depth value.

As for the missing dll, you need the latest runtime installed.

Humus
Friday, October 24, 2008

sqrt[-1],
it worked fine on an 4850 I tried. If you could send me screenshots that would be nice. Also try the latest drivers if you haven't.
I've updated the demos with your suggestion.

Humus
Friday, October 24, 2008

Enrico,
if you go to the demo page you can click the image to see a screenshot. The other two modes are mostly for performance comparison. One which look identical to default mode (except slower), and one that's slightly faster but no antialiasing, but otherwise the same. The stencil mask looks like this:
http://www.humus.name/temp/StencilMask.png

Stoppel
Thursday, October 23, 2008

Nice, I already did that a few months ago
http://youtube.com/watch?v=e-VsSXN0504&fmt=18
Interestingly, the edges created by the GPU's clipping also become visible.

Your Demo crashes because it can't find D3D10_39.dll, I'll look into it this evening.

sqrt[-1]
Thursday, October 23, 2008

Running on a AMD 4850 at 4xMSAA-

F5 - MSAA looks a bit broken - samples don't look lit correctly on edges?
F6 - MSAA looks a bit broken - samples don't look lit correctly on edges? (much lower frame rate)
F7 - Looks correct lit but less AA

I think it would be much easier to understand options if you put them in the menu (as you do for other demos)

When I initially ran the demo I could see no difference - I had to access the menu and enable MSAA.

If you want, I can send you an email about what I am seeing..

Enrico
Thursday, October 23, 2008

Nice, good work

Any chance we get some screenshots from different modes to compare and the stencil mask?
Dont have Vista

Thanks

More pages: 1 ... 11 ... 21 ... 31 ... 41 ... 51 ... 61 ... 71 ... 81 ... 91 ... 101 ... 111 ... 121 ... 131 ... 134 135 136 137 138 139 140 141 142 143 144 ... 151 ... 161 ... 171 ... 181 ... 191 ... 201 ... 211 ... 221 ... 231 ... 241 ... 251 ... 261 ... 271 ... 281 ... 291 ... 301 ... 311 ... 321 ... 331 ... 341 ... 351 ... 361 ... 365