Actually. I've since gone back and calculated normals in their own path thus making the normals look normal :). I guess in about 4 months I should have some more projects under way and I can post them here, with an updated Cloth.
No, it is pretty simple. The shapes underneath were implicitly defined. The point about this is that it shows off how you can use a fragment shader to perform the workload and then stream the data into a vertex shader for practical use in real time. Unlike CPU cloth simulation, because all of the data remains on the GPU and the GPU is better at performing these sorts of calculations, drastically higher frame rates are possible with methods like this compared to CPU based cloth simulations.
Do you have the source code for this posted somewhere?
Tris2006 2 years ago
looks good, you could make a game where you walk around a house trying to find the invisible man with a blanket :)
slenkar 2 years ago
how does it run with one more sub-d/tesselation level?
Capeau 2 years ago
good work although you should have applied average normals on the cloth. would have made it look a lot better.
ps you raytracing stuff looks awesome too.
freaqie 3 years ago
Actually. I've since gone back and calculated normals in their own path thus making the normals look normal :). I guess in about 4 months I should have some more projects under way and I can post them here, with an updated Cloth.
CNLohr 3 years ago
Great but this is just a simple thing of what a GPGPU can do.
Tombes123456 4 years ago
trust me this isnt thats simple ...did you look carefuly ? this is tissu calculated thats show the shape of what is under it !
superbe!
sattanhellsing 4 years ago
No, it is pretty simple. The shapes underneath were implicitly defined. The point about this is that it shows off how you can use a fragment shader to perform the workload and then stream the data into a vertex shader for practical use in real time. Unlike CPU cloth simulation, because all of the data remains on the GPU and the GPU is better at performing these sorts of calculations, drastically higher frame rates are possible with methods like this compared to CPU based cloth simulations.
CNLohr 4 years ago