Advertisement

Dynamic lapped texture for fluid simulations

  • 304 Accesses

  • 3 Citations

Abstract

We present a new approach for texturing fluids. Particle trackers are scattered on the surface of the fluid, and used to track deformations and topological changes. For every frame of the animation, the trackers are advected and rotated coherently with the flow of the fluid. Receiver polygons are identified on the fluid surface and are used to transfer uv coordinates, while ensuring a controllable amount of texture distortion. The density of the trackers is adjusted when constructing a texture atlas used for rendering. Trackers that remain unused when filling the atlas are safely removed, while texels of the atlas without any corresponding tracker identify areas where new trackers will be added. Together with our patch layering approach, this tracker creation and removal process reduces popping artifacts. Both the input (fluid surface mesh and velocity field) and the output (texture atlas) of our approach make it easy to integrate into a typical production pipeline. We tested our approach on several types of fluid simulation scenarios, including splashes, rotational flows, and viscous fluids. The resulting animations of textured fluids are free from temporal artifacts and popping, and show a limited amount of distortion, blurring, and discontinuity.

This is a preview of subscription content, log in to check access.

Access options

Buy single article

Instant unlimited access to the full article PDF.

US$ 39.95

Price includes VAT for USA

Subscribe to journal

Immediate online access to all issues from 2019. Subscription will auto renew annually.

US$ 199

This is the net price. Taxes to be calculated in checkout.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

References

  1. 1.

    Bargteil, A.W., Sin, F., Michaels, J.E., Goktekin, T.G., O’Brien, J.F.: A texture synthesis method for liquid animations. In: Proceedings of the ACM SIGGRAPH/Eurographics symposium on computer animation. ACM (2006)

  2. 2.

    Bojsen-Hansen, M., Li, H., Wojtan, C.: Tracking surfaces with evolving topology. ACM Trans. Gr. 31(4), 53 (2012). doi:10.1145/2185520.2185549

  3. 3.

    Efros, A.A., Freeman, W.T.: Image quilting for texture synthesis and transfer. In: Proceedings of SIGGRAPH ’00, annual conference series, pp. 341–346. ACM (2001)

  4. 4.

    Efros, A.A., Leung, T.K.: Texture synthesis by non-parametric sampling. In: Proceedings of the Intl. Conf. on computer vision–Vol. 2, ICCV ’99, pp. 1033–1038. IEEE Computer Society (1999)

  5. 5.

    Jamriška, O., Fišer, J., Asente, P., Lu, J., Shechtman, E., Sýkora, D.: Lazyfluids: appearance transfer for fluid animations. ACM Trans. Gr. 34(4), 92 (2015). doi:10.1145/2766983

  6. 6.

    Kwatra, V., Adalsteinsson, D., Kim, T., Kwatra, N., Carlson, M., Lin, M.: Texturing fluids. IEEE Trans. Vis. Comput. Gr. 13(5), 939–952 (2007)

  7. 7.

    Kwatra, V., Essa, I., Bobick, A., Kwatra, N.: Texture optimization for example-based synthesis. ACM Trans. Gr. 24, 795–802 (2005)

  8. 8.

    Kwatra, V., Schödl, A., Essa, I., Turk, G., Bobick, A.: Graphcut textures: image and video synthesis using graph cuts. ACM Trans. Gr. 22(3), 277–286 (2003)

  9. 9.

    Mihalef, V., Metaxas, D., Sussman, M.: Textured liquids based on the marker level set. Comp. Gr. Forum 26(3), 457–466 (2007)

  10. 10.

    Narain, R., Kwatra, V., Lee, H.P., Kim, T., Carlson, M., Lin, M.: Feature-guided dynamic texture synthesis on continuous flows. In: EGSR ’07 (2007)

  11. 11.

    Neyret, F.: Advected textures. In: Proceedings of the ACM SIGGRAPH/Eurographics symposium on computer animation, pp. 147–153. Eurographics Association (2003)

  12. 12.

    Pérez, P., Gangnet, M., Blake, A.: Poisson image editing. ACM Trans. Gr. 22(3), 313–318 (2003)

  13. 13.

    Praun, E., Finkelstein, A., Hoppe, H.: Lapped textures. In: Proceedings of SIGGRAPH ’00, annual conference series, pp. 465–470 (2000)

  14. 14.

    Soler, C., Cani, M.P., Angelidis, A.: Hierarchical pattern mapping. ACM Trans. Gr. 21(3), 673–680 (2002)

  15. 15.

    Turk, G.: Texture synthesis on surfaces. In: Proceedings of SIGGRAPH ’01, annual conference series, pp. 347–354. ACM (2001)

  16. 16.

    Wei, L.Y., Levoy, M.: Fast texture synthesis using tree-structured vector quantization. In: Proceedings of SIGGRAPH ’00, annual conference series, pp. 479–488. ACM (2000)

  17. 17.

    Wei, L.Y., Levoy, M.: Texture synthesis over arbitrary manifold surfaces. In: Proceedings of SIGGRAPH ’01, annual conference series, pp. 355–360. ACM (2001)

  18. 18.

    Wu, Q., Yu, Y.: Feature matching and deformation for texture synthesis. ACM Trans. Gr. 23(3), 364–367 (2004)

  19. 19.

    Yu, Q., Neyret, F., Bruneton, E., Holzschuch, N.: Scalable real-time animation of rivers. Comput. Gr. Forum 28(2), 239–248 (2009)

  20. 20.

    Yu, Q., Neyret, F., Bruneton, E., Holzschuch, N.: Lagrangian texture advection: preserving both spectrum and velocity field. IEEE Trans. Vis. Comput. Gr. 17(11), 1612–1623 (2011)

  21. 21.

    Zhu, Y., Bridson, R.: Animating sand as a fluid. ACM Trans. Gr. 24(3), 965–972 (2005)

  22. 22.

    Zwicker, M., Pfister, H., van Baar, J., Gross, M.: Surface splatting. In: Proceedings of SIGGRAPH 01, annual conference series, pp. 371–378 (2001)

Download references

Acknowledgments

This work was funded by Mokko Studio, NSERC, Prompt/CINQ, ÉTS, and FRQNT; we gratefully acknowledge the involvement of Danny Bergeron, president of Mokko Studio and the Mokko Studio R&D team. We thank SideFX for providing Houdini™ licences, and Hippolyte Mounier, from Photosculpt, for sharing some of the texture exemplars used in this project.

Author information

Correspondence to Jonathan Gagnon.

Electronic supplementary material

Below is the link to the electronic supplementary material.

Supplementary material 1 (mp4 146637 KB)

Supplementary material 1 (mp4 146637 KB)

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Gagnon, J., Dagenais, F. & Paquette, E. Dynamic lapped texture for fluid simulations. Vis Comput 32, 901–909 (2016) doi:10.1007/s00371-016-1262-8

Download citation

Keywords

  • Fluid animation
  • Texture synthesis