Skip to main content
Log in

Supporting Vector Textures in a GPU Photorealistic Rendering System

  • Published:
Programming and Computer Software Aims and scope Submit manuscript

Abstract

Images in vector format are presented as a sequence of analytical descriptions of geometric objects. This approach allows for reproduction of the image in any resolution without loss of quality. Currently, there are no ready-made solutions for using vector images in GPU photorealistic rendering systems. This paper presents an approach to enabling such support using signed distance fields and rasterization as base methods. Analysis of the results shows the effectiveness of the approach based on distance fields for various vector images. However, in some cases, artifacts may appear, in which case it is proposed to use a rasterization-based approach.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1.
Fig. 2.
Fig. 3.
Fig. 4.
Fig. 5.

Similar content being viewed by others

REFERENCES

  1. Scalable Vector Graphics (SVG) Full 1.2 Specification, 2023. https://www.w3.org/TR/SVG12.

  2. Tu, P., Wei, L.Y., and Zwicker, M., Clustered vector textures, ACM Trans. Graphics, 2022, vol. 41, no. 4, pp. 1–23. https://doi.org/10.1145/3528223.3530062

    Article  Google Scholar 

  3. Noesis GUI, User Interface middleware for video-games and real-time applications, 2023. https://www.noesisengine.com.

  4. Green, C., Improved alpha-tested magnification for vector textures and special effects, Proc. ACM SIGGRAPH, San Diego, 2007, pp. 9–18.

  5. Orzan, A., et al., Diffusion curves: a vector representation for smooth-shaded images, ACM Trans. Graphics, 2008, vol. 27, no. 3, pp. 1–8. https://doi.org/10.1145/1360612.1360691

    Article  Google Scholar 

  6. Li, T.M., et al., Differentiable vector graphics rasterization for editing and learning, ACM Trans. Graphics, 2020, vol. 39, no. 6, pp. 1–15. https://doi.org/10.1145/3414685.3417871

    Article  Google Scholar 

  7. Reddy, P., et al., Im2vec: synthesizing vector graphics without vector supervision, Proc. IEEE/CVF Conf. on Computer Vision and Pattern Recognition, 2021, pp. 7342–7351.

  8. Jain, A., Xie, A., and Abbeel, P., VectorFusion: Text-to-SVG by Abstracting Pixel-Based Diffusion Models, 2022. arXiv:2211.11319.

  9. Sanzharov, V.V., Frolov, V.A., and Galaktionov, V.A., Survey of Nvidia RTX technology, Program. Comput. Software, 2020, vol. 46, no. 4, pp. 297–304.

    Article  Google Scholar 

  10. Skia: the 2D graphics library, 2023. https://skia.org/.

  11. Cairo, a 2D graphics library with support for multiple output devices, 2023. https://www.cairographics.org/.

  12. Blend2d. 2D Vector graphics engine, 2023. https://blend2d.com/.

  13. resvg, SVG rendering library, 2023. https://github.com/RazrFalcon/resvg.

  14. OpenVG, the standard for vector graphics accelera-tion, 2023. https//www.khronos.org/openvg/.

  15. OpenVG, conformant Products, 2023. https://www.khronos.org/conformance/adopters/conformant-products/openvg.

  16. Kilgard, M.J. and Bolz, J., Gpu-accelerated path rendering, ACM Trans. Graphics, 2012, vol. 31, no. 6, pp. 1–10. https://doi.org/10.1145/2366145.2366191

    Article  Google Scholar 

  17. Loop, C. and Blinn, J., Resolution independent curve rendering using programmable graphics hardware, Proc. ACM SIGGRAPH, Los Angeles, 2005, pp. 1000–1009. https://doi.org/10.1145/1186822.1073303

  18. Ganacim, F., et al., Massively-parallel vector graphics, ACM Trans. Graphics, 2014, vol. 33, no. 6, pp. 1–14. https://doi.org/10.1145/2661229.2661274

    Article  Google Scholar 

  19. Ray, N., Cavin, X., and Lévy, B., Vector texture maps on the GPU, Tech. Rep., Inst. ALICE (Algorithms, Comput., Geometry Image Dept. INRIA Nancy Grand-Est/Loria), 2005, no. ALICE-TR-05-003.

  20. Qin, Z., McCool, M.D., and Kaplan, C.S., Real-time texture-mapped vector glyphs, Proc. Symp. on Interactive 3D Graphics and Games, Redwood City, CA, 2006, pp. 125–132. https://doi.org/10.1145/1111411.1111433

  21. Chlumsky, V., Shape decomposition for multi-channel distance fields, Master’s Thesis, Czech Technical Univ., 2015. https://dspace.cvut.cz/bitstream/handle/10467/ 62770/F8-DP-2015-Chlumsky-Viktor-thesis.pdf.

  22. Nehab, D. and Hoppe, H., Random-access rendering of general vector graphics, ACM Trans. Graphics, 2008, vol. 27, no. 5, pp. 1–10. https://doi.org/10.1145/1409060.1409088

    Article  Google Scholar 

  23. Akenine-Moller, T., et al., Texture level of detail strategies for real-time ray tracing, in Ray Tracing Gems, Berkeley, CA: Apress, 2019. https://doi.org/10.1007/978-1-4842-4427-2_20

    Book  Google Scholar 

  24. Qin, Z., McCool, MD., and Kaplan, C., Precise vector textures for real-time 3D rendering, Proc. Symp. on Interactive 3D Graphics and Games, Redwood City, CA, 2008, pp. 199–206. https://doi.org/10.1145/1342250.1342281

  25. Vector images in public domain, 2023. https://www.publicdomainvectors.org.

  26. Open Clipart, online media collection, 2023. https://openclipart.org/.

  27. Sanzharov, V.V. and Frolov, V.A., Level of detail for precomputed procedural textures, Program. Comput. Software, 2019, vol. 45, no. 4, pp. 187–195. https://doi.org/10.1134/S0361768819040078

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to V. V. Sanzharov, V. A. Frolov or V. A. Galaktionov.

Ethics declarations

The authors declare that they have no conflicts of interest.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sanzharov, V.V., Frolov, V.A. & Galaktionov, V.A. Supporting Vector Textures in a GPU Photorealistic Rendering System. Program Comput Soft 49, 131–139 (2023). https://doi.org/10.1134/S0361768823030040

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1134/S0361768823030040

Navigation