3D SCENE AUDITOR VIA PYTHON SCRIPTS

Abstract

Increasing realism in 3D scenes raises hardware resource consumption, and optimizing it manually is prone to human error. This work automated video memory management for rendering in the Blender software through an add-on developed with its native Python API, which discards geometry outside the camera frustum or occluded by other objects, simplifies objects according to their distance from the camera, and resizes textures above a user-defined limit. The research is applied and explanatory, with a mixed qualitative and quantitative approach and a case study on three public scenes from Blender’s official demo collection, assessed under seven conditions, measuring video memory at the graphics driver, rendering time, and image quality through PSNR and SSIM. The full audit reduced memory between 14.3% and 48.5% and time by up to 40.6%, with the contribution of each technique varying according to scene composition. Texture resizing produced no perceptible loss, whereas frustum culling in an enclosed environment altered the reflections and shading of the image. It is concluded that the add-on reduces resource consumption and that per-asset diagnosis, prior to intervention, is necessary to decide what to optimize in each scene.

Author Biographies

Otto Basso, Centro Universitário de Araraquara

Centro Universitário de Araraquara.

Felipe Diniz Dallilo

Graduate in Data Processing from FATEC (2009). Master and PhD in Software Engineering from USP (2014 and 2025). Holds MBAs in People Management, Project Management, and Data Science & Analytics. University professor for 11 years, with almost 20 years of experience in Information Technology.

Fabiana Florian, Centro Universitário de Araraquara

Economist and Bachelor of Laws, Master in Regional Development and Environment from the Universidade de Araraquara (UNIARA) and PhD in Food and Nutrition from FCFAr/UNESP.

References

ACAMPORA, P. Python Scripting in Blender. Birmingham: Packt Publishing, 2023.

AKENINE-MÖLLER, T.; HAINES, E.; HOFFMAN, N. Real-Time Rendering. 4. ed. Boca Raton: CRC Press, 2018. DOI: https://doi.org/10.1201/b22086

ASSARSSON, U.; MÖLLER, T. Optimized View Frustum Culling Algorithms for Bounding Boxes. Journal of Graphics Tools, v. 5, n. 1, p. 9–22, 2000. DOI: https://doi.org/10.1080/10867651.2000.10487517

AZEVEDO, E.; CONCI, A. Computação Gráfica: Teoria e Prática. Rio de Janeiro: Elsevier, 2003.

BACKES, G. C.; FRASSON, A.; ENGEL, T. A.; POZZER, C. T. Rendering of Large Textures for Real-Time Visualization. In: SIMPÓSIO BRASILEIRO DE JOGOS E ENTRETENIMENTO DIGITAL, 16., 2017, Curitiba. Anais [...]. Porto Alegre: SBC, 2017. p. 638–641.

BLENDER FOUNDATION. Blender Python API Documentation. 2026a. Disponível em: https://docs.blender.org/api/current/ Acesso em: 20 maio 2026.

BLENDER FOUNDATION. Data-Blocks. Blender Manual, 2026b. Disponível em: https://docs.blender.org/manual/en/latest/files/data_blocks.html Acesso em: 29 jul. 2026.

BLENDER FOUNDATION. History. Blender Manual, 2026c. Disponível em: https://docs.blender.org/manual/en/latest/getting_started/about/history.html Acesso em: 21 jul. 2026.

BLENDER FOUNDATION. ID Datablocks. Blender Developer Documentation, 2026d. Disponível em: https://developer.blender.org/docs/features/core/datablocks/id_type/ Acesso em: 10 set. 2026.

BLENDER FOUNDATION. Demo Files, 2026e. Disponível em: https://www.blender.org/download/demo-files/ Acesso em: 10 out. 2026.

BLINN, J. F.; NEWELL, M. E. Texture and Reflection in Computer Generated Images. Communications of the ACM, v. 19, n. 10, p. 542–546, out. 1976. DOI: https://doi.org/10.1145/360349.360353

CHAOS GROUP. V-Ray for Blender – Texture Compression Documentation. 2023. Disponível em: https://docs.chaos.com Acesso em: 21 maio 2026.

CLARK, J. H. Hierarchical Geometric Models for Visible Surface Algorithms. Communications of the ACM, v. 19, n. 10, p. 547–554, out. 1976. DOI: https://doi.org/10.1145/360349.360354

CONLAN, C. The Blender Python API: Precision 3D Modeling and Add-on Development. Berkeley: Apress, 2017. DOI: https://doi.org/10.1007/978-1-4842-2802-9

COORG, S.; TELLER, S. Real-Time Occlusion Culling for Models with Large Occluders. In: SYMPOSIUM ON INTERACTIVE 3D GRAPHICS, 1997, Providence. Proceedings [...]. New York: ACM, 1997. p. 83–90. DOI: https://doi.org/10.1145/253284.253312

DUMONT, R.; PELLACINI, F.; FERWERDA, J. A. Perceptually-Driven Decision Theory for Interactive Realistic Rendering. ACM Transactions on Graphics, v. 22, n. 2, p. 152–181, abr. 2003. DOI: https://doi.org/10.1145/636886.636888

GARLAND, M.; HECKBERT, P. S. Surface Simplification Using Quadric Error Metrics. In: ANNUAL CONFERENCE ON COMPUTER GRAPHICS AND INTERACTIVE TECHNIQUES, 24., 1997, Los Angeles. Proceedings [...]. New York: ACM Press/Addison-Wesley, 1997. p. 209–216. DOI: https://doi.org/10.1145/258734.258849

GONZALEZ, R. C.; WOODS, R. E. Digital Image Processing. 4. ed. New York: Pearson, 2018.

GREENE, N.; KASS, M.; MILLER, G. Hierarchical Z-Buffer Visibility. In: ANNUAL CONFERENCE ON COMPUTER GRAPHICS AND INTERACTIVE TECHNIQUES, 20., 1993, Anaheim. Proceedings [...]. New York: ACM, 1993. p. 231–238. DOI: https://doi.org/10.1145/166117.166147

KHRONOS GROUP. NPOT Texture. OpenGL Wiki, [s.d.]. Disponível em: https://www.khronos.org/opengl/wiki/NPOT_Texture Acesso em: 3 set. 2026.

LUEBKE, D.; REDDY, M.; COHEN, J. D.; VARSHNEY, A.; WATSON, B.; HUEBNER, R. Level of Detail for 3D Graphics. San Francisco: Morgan Kaufmann, 2003. DOI: https://doi.org/10.1016/B978-155860838-2/50009-1

LUTZ, M. Learning Python. 5. ed. Sebastopol: O'Reilly Media, 2013.

MITCHELL, D. P.; NETRAVALI, A. N. Reconstruction Filters in Computer Graphics. In: ANNUAL CONFERENCE ON COMPUTER GRAPHICS AND INTERACTIVE TECHNIQUES, 15., 1988, Atlanta. Proceedings [...]. New York: ACM, 1988. p. 221–228. DOI: https://doi.org/10.1145/54852.378514

POLIJUNIOR. O que é Python: Guia Definitivo da Linguagem. 2025. Disponível em: https://polijunior.com.br/blog/oqueepython/ Acesso em: 21 jul. 2026.

PRESSMAN, R. S. Engenharia de Software: Uma Abordagem Profissional. 8. ed. Porto Alegre: AMGH, 2014.

PYTHON SOFTWARE FOUNDATION. Estendendo o Python com C ou C++. 2026a. Disponível em: https://docs.python.org/pt-br/3/extending/extending.html#reference-counts Acesso em: 28 jul. 2026.

PYTHON SOFTWARE FOUNDATION. Python Geral. 2026b. Disponível em: https://docs.python.org/pt-br/3/faq/general.html Acesso em: 26 jul. 2026.

TORRALBA, A.; ISOLA, P.; FREEMAN, W. T. Foundations of Computer Vision. Cambridge: MIT Press, 2024.

VAN LOMMEL, B. Cycles Texture Cache. Blender Developers Blog, 1 maio 2026. Disponível em: https://code.blender.org/2026/05/cycles-texture-cache/ Acesso em: 17 ago. 2026.

WILLIAMS, L. Pyramidal Parametrics. Computer Graphics, v. 17, n. 3, p. 1–11, jul. 1983. DOI: https://doi.org/10.1145/964967.801126

How to Cite

Basso, O., Dallilo, F. D., & Florian, F. (2026). 3D SCENE AUDITOR VIA PYTHON SCRIPTS. RECIMA21 - Revista Científica Multidisciplinar - ISSN 2675-6218, 7(12), e7129754. https://doi.org/10.47820/recima21.v7i12.9754
Crossmark logo

Most read articles by the same author(s)

Similar Articles

You may also start an advanced similarity search for this article.