Skip to main content
Log in

Geometry-shader-based real-time voxelization and applications

  • Original Article
  • Published:
The Visual Computer Aims and scope Submit manuscript

An Erratum to this article was published on 13 January 2016

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.

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
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  1. Adelson, S.J.: Simulating refraction using geometric transforms. Master’s thesis, University of Utah (2003)

  2. Bavoil, L., Myers, K.: Order independent transparency with dual depth peeling. Tech. rep., NVidia (2008)

  3. Chen, H., Fang, S.: Fast voxelization of three-dimensional synthetic objects. J. Graph. Tools 3(4), 33–45 (1998)

    Article  Google Scholar 

  4. Diefenbach, P.J.: Pipeline rendering: Interaction and realism through hardware-based multi-pass rendering. PhD thesis, University of Pennsylvania (1996)

  5. 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)

    Chapter  Google Scholar 

  6. 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)

    Google Scholar 

  7. Eisemann, E., Décoret, X.: Fast scene voxelization and applications. In: ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games, pp. 71–78 (2006)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. Everitt, C.: Interactive order-independent transparency. Tech. rep., NVidia (2001)

  10. Fang, S., Chen, H.: Hardware accelerated voxelization. Comput. Graph. 24, 200 (2000)

    Article  Google Scholar 

  11. Forest, V., Barthe, L., Paulin, M.: Real-time hierarchical binary-scene voxelization. J. Graph. Tools 29(2), 21–34 (2009)

    Article  Google Scholar 

  12. Guy, S., Soler, C.: Graphics gems revisited. ACM Trans. Graph. (Proceedings of the SIGGRAPH Conference) (2004)

  13. Haumont, D., Warzee, N.: Complete polygonal scene voxelization. J. Graph. Tools 7, 3 (2002)

    Article  Google Scholar 

  14. Heidelberger, B., Teschner, M., Gross, M.: Real-time volumetric intersections of deforming objects. In: Proceedings of Vision, Modeling, and Visualization, pp. 461–468 (2003)

    Google Scholar 

  15. 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)

    Chapter  Google Scholar 

  16. 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)

    Chapter  Google Scholar 

  17. Ix, F.D., Kaufman, A.: (2000). Incremental triangle voxelization

  18. Kajiya, J.T., Kay, T.L.: Rendering fur with three dimensional textures. Comput. Graph. 23(3), 271–280 (1989)

    Article  Google Scholar 

  19. Kalaiah, A., Varshney, A.: Statistical geometry representation for efficient transmission and rendering. ACM Trans. Graph. 24(2), 348–373 (2005)

    Article  Google Scholar 

  20. Karabassi, E.A., Papaioannou, G., Theoharis, T.: A fast depth-buffer-based voxelization algorithm. J. Graph. GPU Game Tools 4(4), 5–10 (1999)

    Article  Google Scholar 

  21. Kay, D.S., Greenberg, D.: Transparency for computer synthesized images. Comput. Graph. 13, 158–164 (1979)

    Article  Google Scholar 

  22. Lauterbach, C., Garl, M., Sengupta, S., Luebke, D., Manocha, D.: Fast bvh construction on gpus. In: Proc. Eurographics ’09 (2009)

    Google Scholar 

  23. 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)

    Chapter  Google Scholar 

  24. Llamas, I.: Real-time voxelization of triangle meshes on the GPU. In: SIGGRAPH ’07, ACM SIGGRAPH Sketches, p. 18 (2007)

    Google Scholar 

  25. 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)

    Chapter  Google Scholar 

  26. Mammen, A.: Transparency and antialiasing algorithms implemented with the virtual pixel maps technique. IEEE Comput. Graph. Appl. 9(4), 43–55 (1989)

    Article  Google Scholar 

  27. 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)

    Chapter  Google Scholar 

  28. Oliveira, G.: Refractive texture mapping, part two. Online tutorial (2000). http://www.gamasutra.com/view/feature/3122/refractive_texture_mapping_part_.php

  29. 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)

    Chapter  Google Scholar 

  30. 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)

    Chapter  Google Scholar 

  31. Sigg, C., Peikert, R., Gross, M.: Signed distance transform using graphics hardware. In: IEEE Visualization Conference, p. 12 (2003)

    Google Scholar 

  32. Sramek, M., Kaufman, A.: Alias-free voxelization of geometric objects. IEEE Trans. Vis. Comput. Graph. 5(3), 251–267 (1999)

    Article  Google Scholar 

  33. Stolte, N.: Robust voxelization of surfaces. Tech. rep., State University of New York at Stony Brook (1997)

  34. 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)

    Google Scholar 

  35. 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)

    Google Scholar 

  36. Williams, L.: Casting curved shadows on curved surfaces. In: Computer Graphics (SIGGRAPH ’78 Proceedings), pp. 270–274 (1978)

    Google Scholar 

  37. Wyman, C.: An approximate image-space approach for interactive refraction. ACM Trans. Graph. 24(3), 1050–1053 (2005)

    Article  Google Scholar 

  38. 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)

    Chapter  Google Scholar 

  39. 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)

    Google Scholar 

  40. Zhang, L., Chen, W., Ebert, D.S., Peng, Q.: Conservative voxelization. Vis. Comput. 23, 783–792 (2007)

    Article  Google Scholar 

  41. 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)

    Article  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Yu-Chi Lai.

Rights and permissions

Reprints 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

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00371-013-0858-5

Keywords

Navigation