Abstract
This work proposes a new voxelization algorithm based on newly available GPU functionalities and designs several real-time applications to render complex lighting effects with the voxelization result. The voxelization algorithm can efficiently transform a highly complex scene in a surface-boundary representation into a set of voxels in one GPU pass using the geometry shader. Newly available 3D textures are used to directly record the surficial and volumetric properties of objects such as opaqueness, refraction, and transmittance. In the first, the usage of 3D textures can remove those strenuous efforts required to modify the encoding and decoding scheme when adjusting the voxel resolution. Second, surficial and volumetric properties recorded in 3D textures can be used to interactively compute and render more realistic lighting effects including the shadow of objects with complex occlusion and the refraction and transmittance of transparent objects. The shadow can be rendered with an absorption coefficient which is computed according to the number of surfaces drawing in each voxel during voxelization and used to compute the amount of light passing through partially occluded complex objects. The surface normal, transmittance coefficient and refraction index recorded in each voxel can be used to simulate the refraction and transmittance lighting effects of transparent objects using our multiple-surfaced refraction algorithm. Finally, the results demonstrate that our algorithm can transform a dynamic scene into a set of voxels and render complex lighting effects in real time without any pre-processing.
Similar content being viewed by others
References
Adelson, S.J.: Simulating refraction using geometric transforms. Master’s thesis, University of Utah (2003)
Bavoil, L., Myers, K.: Order independent transparency with dual depth peeling. Tech. rep., NVidia (2008)
Chen, H., Fang, S.: Fast voxelization of three-dimensional synthetic objects. J. Graph. Tools 3(4), 33–45 (1998)
Diefenbach, P.J.: Pipeline rendering: Interaction and realism through hardware-based multi-pass rendering. PhD thesis, University of Pennsylvania (1996)
Diefenbach, P.J., Badler, N.I.: Multi-pass pipeline rendering: realism for dynamic environments. In: Proceedings of the 1997 Symposium on Interactive 3D Graphics, I3D ’97, pp. 59–70 (1997)
Dong, Z., Chen, W., Bao, H., Zhang, H., Peng, Q.: Real-time voxelization for complex polygonal models. In: PG ’04: Proceedings of the Computer Graphics and Applications, 12th Pacific Conference, pp. 43–50 (2004)
Eisemann, E., Décoret, X.: Fast scene voxelization and applications. In: ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games, pp. 71–78 (2006)
Eisemann, E., Décoret, X.: Single-pass GPU solid voxelization and applications. In: GI ’08: Proceedings of Graphics Interface 2008. ACM International Conference Proceeding Series, vol. 322, pp. 73–80 (2008)
Everitt, C.: Interactive order-independent transparency. Tech. rep., NVidia (2001)
Fang, S., Chen, H.: Hardware accelerated voxelization. Comput. Graph. 24, 200 (2000)
Forest, V., Barthe, L., Paulin, M.: Real-time hierarchical binary-scene voxelization. J. Graph. Tools 29(2), 21–34 (2009)
Guy, S., Soler, C.: Graphics gems revisited. ACM Trans. Graph. (Proceedings of the SIGGRAPH Conference) (2004)
Haumont, D., Warzee, N.: Complete polygonal scene voxelization. J. Graph. Tools 7, 3 (2002)
Heidelberger, B., Teschner, M., Gross, M.: Real-time volumetric intersections of deforming objects. In: Proceedings of Vision, Modeling, and Visualization, pp. 461–468 (2003)
Heidrich, W., Lensch, H., Cohen, M.F., Seidel, H.-P.: Light field techniques for reflections and refractions. In: Rendering Techniques ’99, pp. 187–196 (1999)
Huang, J., Yagel, R., Filippov, V., Kurzion, Y.: An accurate method for voxelizing polygon meshes. In: Proceedings of the 1998 IEEE Symposium on Volume Visualization, VVS ’98, pp. 119–126 (1998)
Ix, F.D., Kaufman, A.: (2000). Incremental triangle voxelization
Kajiya, J.T., Kay, T.L.: Rendering fur with three dimensional textures. Comput. Graph. 23(3), 271–280 (1989)
Kalaiah, A., Varshney, A.: Statistical geometry representation for efficient transmission and rendering. ACM Trans. Graph. 24(2), 348–373 (2005)
Karabassi, E.A., Papaioannou, G., Theoharis, T.: A fast depth-buffer-based voxelization algorithm. J. Graph. GPU Game Tools 4(4), 5–10 (1999)
Kay, D.S., Greenberg, D.: Transparency for computer synthesized images. Comput. Graph. 13, 158–164 (1979)
Lauterbach, C., Garl, M., Sengupta, S., Luebke, D., Manocha, D.: Fast bvh construction on gpus. In: Proc. Eurographics ’09 (2009)
Lindholm, E., Kilgard, M.J., Moreton, H.: A user-programmable vertex engine. In: Proceedings of the 28th Annual Conference on Computer Graphics and Interactive Techniques, SIGGRAPH ’01, New York, NY, USA, pp. 149–158 (2001)
Llamas, I.: Real-time voxelization of triangle meshes on the GPU. In: SIGGRAPH ’07, ACM SIGGRAPH Sketches, p. 18 (2007)
Lokovic, T., Veach, E.: Deep shadow maps. In: Proceedings of the 27th Annual Conference on Computer Graphics and Interactive Techniques, SIGGRAPH ’00, pp. 385–392 (2000)
Mammen, A.: Transparency and antialiasing algorithms implemented with the virtual pixel maps technique. IEEE Comput. Graph. Appl. 9(4), 43–55 (1989)
Ohbuchi, E.: A real-time refraction renderer for volume objects using a polygon-rendering scheme. In: Proceedings of Computer Graphics International, 2003, pp. 190–195 (2003)
Oliveira, G.: Refractive texture mapping, part two. Online tutorial (2000). http://www.gamasutra.com/view/feature/3122/refractive_texture_mapping_part_.php
Oliveira, M.M., Brauwers, M.: Real-time refraction through deformable objects. In: Proceedings of the 2007 Symposium on Interactive 3D Graphics and Games, I3D ’07, New York, NY, USA, pp. 89–96 (2007)
Shade, J., Gortler, S., He, L.W., Szeliski, R.: Layered depth images. In: SIGGRAPH ’98: Proceedings of the 25th Annual Conference on Computer Graphics and Interactive Techniques, pp. 231–242 (1998)
Sigg, C., Peikert, R., Gross, M.: Signed distance transform using graphics hardware. In: IEEE Visualization Conference, p. 12 (2003)
Sramek, M., Kaufman, A.: Alias-free voxelization of geometric objects. IEEE Trans. Vis. Comput. Graph. 5(3), 251–267 (1999)
Stolte, N.: Robust voxelization of surfaces. Tech. rep., State University of New York at Stony Brook (1997)
Varadhan, G., Krishnan, S., Kim, Y.J., Diggavi, S., Manocha, D.: Efficient max-norm distance computation and reliable voxelization. In: SGP ’03: Proceedings of the 2003 Eurographics/ACM SIGGRAPH Symposium on Geometry Processing, pp. 116–126 (2003)
Wang, S.W., Kaufman, A.E.: Volume sampled voxelization of geometric primitives. In: VIS ’93: Proceedings of the 4th Conference on Visualization ’93, pp. 78–84 (1993)
Williams, L.: Casting curved shadows on curved surfaces. In: Computer Graphics (SIGGRAPH ’78 Proceedings), pp. 270–274 (1978)
Wyman, C.: An approximate image-space approach for interactive refraction. ACM Trans. Graph. 24(3), 1050–1053 (2005)
Wyman, C., Davis, S.: Interactive image-space techniques for approximating caustics. In: Proceedings of the 2006 Symposium on Interactive 3D Graphics and Games, I3D ’06, pp. 153–160 (2006)
Xu, K., Ma, L.Q., Ren, B., Wang, R., Hu, S.M.: Interactive hair rendering and appearance editing under environment lighting. ACM Trans. Graph. 30(6), 173:1–173:10 (2011)
Zhang, L., Chen, W., Ebert, D.S., Peng, Q.: Conservative voxelization. Vis. Comput. 23, 783–792 (2007)
Zhou, K., Hou, Q., Wang, R., Guo, B.: Real-time KD-tree construction on graphics hardware. ACM Trans. Graph. 27(5), 126:1–126:11 (2008)
Acknowledgements
This work is supported in part by National Science Council (NSC 101-2221-E-011-151, and 101-2221-E-011-153), Taiwan.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Chang, HH., Lai, YC., Yao, CY. et al. Geometry-shader-based real-time voxelization and applications. Vis Comput 30, 327–340 (2014). https://doi.org/10.1007/s00371-013-0858-5
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00371-013-0858-5