(UPDATED) Intel Tech-Demos Part 2: AVX Cloth and Onloaded Shadows


Intel Onloaded Shadows DX11 demo
Intel Onloaded shadows demo


AVX Cloth

AVX Cloth is a tech sample that demonstrates use of 8 wide floating point SIMD processing with 256 bit AVX. The sample has many active cloth pieces simulating as it showcases a SOA implementation of an iterative position projection (distance constraint based) solver.

Download binaries and source code: AVX Cloth DX11 tech-demo

Keep in mind that this demo requires a Sandy Bridge processor (AVX support, AVX= Advanced Vector Extension) and the SP1 of Windows 7 otherwise you’ll see:

Intel AVX demo error


UPDATE: AVX is actually available on Seven with SP1.
I will install SP1 asap!


I currently have a test machine with a Sandy Bridge i5-2400 that should support AVX. But I don’t know why I didn’t manage to run the demo: AVX is not supported on my system…


UPDATE 2: I just finished to intall the SP1 of Windows Seven and now Intel’s AVX demo works fine. Here are the FPS for the three options of the demo:
– Use Serial: 10FPS
– Use 128bit: 83FPS
– Use 256bit: 130PS

Intel AVX Cloth demo

Intel AVX Cloth demo


Intel AVX details

Intel AVX details
[source]



Here is a screeny of the demo from Intel website.

Intel AVX demo

The demo requires the latest DX11 runtimes:

Intel AVX demo, DX11 error


Onloaded Shadows

Onloaded Shadows is a technique by which shadow maps can be calculated asynchronously on the CPU. By using cascades, the shadow map for objects near the camera are calculated every frame on the GPU, but the shadow maps for objects in the second cascade and beyond are calculated less often on the CPU. This allows for better work balancing across the CPU and GPU.

Download binaries and source code: Onloaded Shadows DX11 tech-demo.

Intel Onloaded Shadows DX11 demo

[via]


9 thoughts on “(UPDATED) Intel Tech-Demos Part 2: AVX Cloth and Onloaded Shadows”

  1. YulFi

    “I currently have a test machine with a Sandy Bridge i5-2400 that should support AVX. But I don’t know why I didn’t manage to run the demo: AVX is not supported on my system…”

    Do you have Seven SP1 RC ? Normal Seven doesn’t support AVX

  2. JeGX Post Author

    @YulFi: thanks, I just received the reply by email. Indeed Seven SP1 is required. I will update my Sandy Bridge system asap with the SP1 RC!

  3. Psolord

    Great stuff once more!

    What is really amazing here, is that Intel chose as their first AVX showcase, a physics demo. I wonder if they are planning to delve into Nvidia physics territory.

    I can only hope, Nvidia works with them, to support AVX in future PhysX SDKs. Dunno if that’s possible programming wise, since I am not a programmer, but seems like it could be. This would really help PhysX take off, since both Intel and AMD will feature AVX.

    I wonder how well or not this demo will run on the Bulldozer. It came to my attention that 4 core Bulldozer, will provide half the 256 AVX throughput compared to an Intel quad core, which does not seem very flattering. Especially in the light of the 256-128bit framerate JegX illustrated here.

    Once more, great job JegX.

  4. Psolord

    Oh on more thing. What other uses would AVX have? Could it speed up games? Aside from physics effects in games I mean.

    Can it provide faster vector generation, or to put it simply, feed the card(s) with geometry data faster?

    I take it could enhance path finding in RTS games, but if I am not mistaken, gpus can already do that. I remember froblins demo showcasing this.

    Also does AVX has anything to do, with rigid body physics?

  5. Promilus

    “4 core Bulldozer will provide half the 256 AVX throughput compared to an Intel quad core, which does not seem very flattering”
    Yes. But Bulldozer will provide FMA4 while SB doesn’t even have FMA3 right now. Since FMA is 2flops worth it can bring in some cases Bulldozer near SB with AVX if I understand that correctly.

Comments are closed.