Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
obi fluid + hdrp
#23
(30-03-2022, 05:28 PM)fluidman84 Wrote: At this point even some simple HDRP shader that is visible would be better than nothing. Obi particle behavior is better than all other fluid systems currently available. It doesn't need to be perfect, but at it's current state nothing can be seen in HDRP which doesn't even allow a use case.

It's being worked on. The reason it hasn't been released yet is that the entire render workflow of all Obi assets is being rewritten for Obi 7. Instead of doubling the amount of work (make a HDRP renderer for the current framework, then immediately throw it in the bin and start re-doing it from scratch), we're writing it directly for the new one.

Some background info on why things are being re-done: Obi 7 includes a compute-shader based physics backend (which for Obi fluid, allows to simulate +60000 particles in under 4 ms/frame on a modern GPU). The thing about GPU physics is that passing any data back to the CPU stalls it, this has such a negative impact on performance that it often negates any benefits of using the GPU at all.

To render stuff using the current framework, we need to have the particle data on the CPU. The only way to do this when using the GPU to simulate physics is to bring back data asynchronously, but this means you trade speed for latency: the data you get is several frames old, which is not acceptable (don't want to render what happened 5 frames ago, but what happened in the current frame!).

So all data must remain on the GPU. This means meshes must be built directly on the GPU without particle data ever setting foot on the CPU. And this of course means we have to ditch the current rendering framework and rewrite all rendering components in Obi.

Good news:
- this benefits all assets and all backends, both from a workflow and a performance standpoint.
- I've been at it for several months now, so it's in a very advanced state. Videos soon.
Reply


Messages In This Thread
obi fluid + hdrp - by marad747 - 14-09-2020, 10:34 AM
RE: obi fluid + hdrp - by josemendez - 14-09-2020, 11:20 AM
RE: obi fluid + hdrp - by marad747 - 18-09-2020, 02:30 PM
RE: obi fluid + hdrp - by josemendez - 18-09-2020, 02:45 PM
RE: obi fluid + hdrp - by zagoalie - 24-10-2020, 05:37 PM
RE: obi fluid + hdrp - by josemendez - 26-10-2020, 08:30 AM
RE: obi fluid + hdrp - by ibbybn - 11-02-2021, 11:41 PM
RE: obi fluid + hdrp - by MostHated - 28-02-2021, 07:37 PM
RE: obi fluid + hdrp - by josemendez - 01-03-2021, 01:36 PM
RE: obi fluid + hdrp - by tepat - 16-03-2021, 02:55 PM
RE: obi fluid + hdrp - by dino56ac - 27-04-2021, 04:16 AM
RE: obi fluid + hdrp - by forestsource - 05-05-2021, 01:27 PM
RE: obi fluid + hdrp - by Necka - 05-06-2021, 06:11 PM
RE: obi fluid + hdrp - by sam3dx - 29-08-2021, 08:03 PM
RE: obi fluid + hdrp - by whack - 07-11-2021, 09:03 PM
RE: obi fluid + hdrp - by josemendez - 08-11-2021, 09:02 AM
RE: obi fluid + hdrp - by whack - 09-11-2021, 06:55 PM
RE: obi fluid + hdrp - by Epineurien - 05-02-2022, 01:21 PM
RE: obi fluid + hdrp - by josemendez - 06-02-2022, 12:31 PM
RE: obi fluid + hdrp - by sam3dx - 14-02-2022, 09:39 AM
RE: obi fluid + hdrp - by locque - 01-03-2022, 08:40 AM
RE: obi fluid + hdrp - by fluidman84 - 30-03-2022, 05:28 PM
RE: obi fluid + hdrp - by josemendez - 31-03-2022, 08:25 AM
RE: obi fluid + hdrp - by locque - 02-05-2022, 10:03 AM
RE: obi fluid + hdrp - by LiquidOwl - 13-05-2023, 09:12 PM