Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using 360 VR Capture, But no fluid rendering
#3
Hi Corbinyo.

ObiFluid uses ellipsoid splatting to render fluids, an extremely fast screen-space approach to fluid rendering. This however assumes perspective or orthographic camera projections, the only ones supported by default in Unity and the most widely used ones.

If you use any custom camera projection (such as stereographic, cylindrical, etc), you should modify the fluid rendering pipeline accordingly. I'm afraid this is not an easy task if you are unfamiliar with projective math.

If using Obi 3.4, you should look into ObiEllipsoids.cginc and modify the WorldEye and VisibleEllipsoidCircleRadius functions. As you can see, both have 2 cases: one for orthographic projections, another one for perspective. You should add code that can handle your custom projective mappings.
Reply


Messages In This Thread
RE: Using 360 VR Capture, But no fluid rendering - by josemendez - 03-04-2018, 09:39 AM