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.
Similar content being viewed by others
References
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)
Bojsen-Hansen, M., Li, H., Wojtan, C.: Tracking surfaces with evolving topology. ACM Trans. Gr. 31(4), 53 (2012). doi:10.1145/2185520.2185549
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)
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)
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
Kwatra, V., Adalsteinsson, D., Kim, T., Kwatra, N., Carlson, M., Lin, M.: Texturing fluids. IEEE Trans. Vis. Comput. Gr. 13(5), 939–952 (2007)
Kwatra, V., Essa, I., Bobick, A., Kwatra, N.: Texture optimization for example-based synthesis. ACM Trans. Gr. 24, 795–802 (2005)
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)
Mihalef, V., Metaxas, D., Sussman, M.: Textured liquids based on the marker level set. Comp. Gr. Forum 26(3), 457–466 (2007)
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)
Neyret, F.: Advected textures. In: Proceedings of the ACM SIGGRAPH/Eurographics symposium on computer animation, pp. 147–153. Eurographics Association (2003)
Pérez, P., Gangnet, M., Blake, A.: Poisson image editing. ACM Trans. Gr. 22(3), 313–318 (2003)
Praun, E., Finkelstein, A., Hoppe, H.: Lapped textures. In: Proceedings of SIGGRAPH ’00, annual conference series, pp. 465–470 (2000)
Soler, C., Cani, M.P., Angelidis, A.: Hierarchical pattern mapping. ACM Trans. Gr. 21(3), 673–680 (2002)
Turk, G.: Texture synthesis on surfaces. In: Proceedings of SIGGRAPH ’01, annual conference series, pp. 347–354. ACM (2001)
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)
Wei, L.Y., Levoy, M.: Texture synthesis over arbitrary manifold surfaces. In: Proceedings of SIGGRAPH ’01, annual conference series, pp. 355–360. ACM (2001)
Wu, Q., Yu, Y.: Feature matching and deformation for texture synthesis. ACM Trans. Gr. 23(3), 364–367 (2004)
Yu, Q., Neyret, F., Bruneton, E., Holzschuch, N.: Scalable real-time animation of rivers. Comput. Gr. Forum 28(2), 239–248 (2009)
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)
Zhu, Y., Bridson, R.: Animating sand as a fluid. ACM Trans. Gr. 24(3), 965–972 (2005)
Zwicker, M., Pfister, H., van Baar, J., Gross, M.: Surface splatting. In: Proceedings of SIGGRAPH 01, annual conference series, pp. 371–378 (2001)
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
Authors and Affiliations
Corresponding author
Electronic supplementary material
Below is the link to the electronic supplementary material.
Supplementary material 1 (mp4 146637 KB)
Rights and permissions
About this article
Cite this article
Gagnon, J., Dagenais, F. & Paquette, E. Dynamic lapped texture for fluid simulations. Vis Comput 32, 901–909 (2016). https://doi.org/10.1007/s00371-016-1262-8
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00371-016-1262-8