Real-Time 3D Visualization of Accurate Specular Reflections in Curved Mirrors - A GPU Implementation

André Lages Miguel, Ana Catarina Nogueira, Nuno Gonçalves

Abstract

This paper presents a vertex-based solution for rendering real-time accurate reflections in quadric mirrors in dynamic scenes using CUDA and OpenGL. Our method, based on forward projection, exploits the global information of the vertices and textures as they are computed from its original positions, to their reflections points in the mirror, and finally, to the eye. This solution does not suffer from parallax or visibility issues, neither does it needs to deal with ray intersection. As viewers navigate through the scene, the reflection points are instantly recalculated, depending on the position of the camera. Thus, given a 3D scene, this method gathers all vertex, light, and texture information and computes them at every instance, finding the reflection points and rendering the reflections on the mirror surface. We also demonstrate the accuracy and performance of our method by rendering two sample scenes.

References

  1. Agrawal, A., Taguchi, Y., and Ramalingam, S. (2011). Beyond alhazen's problem: Analytical projection model for non-central catadioptric cameras with quadric mirrors. In IEEE CVPR.
  2. Bjorke, K. (2004). Image-based lighting. In NVidia, editor, GPU Gems, pages 307-322.
  3. Blinn, J. F. and Newell, M. E. (1976). Texture and reflection in computer generated images. Commun. ACM, 19(10):542-547.
  4. Carr, N., Hoberock, J., Craneh, K., and Hart, J. (2006). Fast gpu ray tracing of dynamic meshes using geometry image. In Proceedings of Graphics Interface 2006.
  5. D. Roger, U. Assarsson, N. H. (2007). Whitted ray-tracing for dynamic scenes using a rayspace hierarchy on the gpu. Eurographics Symposium on Rendering.
  6. Estalella, P., Martin, I., Drettakis, G., and Tost, D. (2006). A gpu-driven algorithm for accurate interactive specular reflections on curved objects. In Eurographics Symposium on Rendering, pages 313-318.
  7. Estalella, P., Martin, I., Drettakis, G., Tost, D., Devilliers, O., and Cazals, F. (2005). Accurate interactive specular reflections on curved objects. In Vision, Modeling, and Visualization - VMV.
  8. Goncalves, N. (2010). On the reflection point where light reflects to a known destination in quadric surfaces. Optics Letters, 35(2):100-102.
  9. Goncalves, N. and Nogueira, A. C. (2009). Projection through quadric mirrors made faster. In ICCVW: 9th Workshop on Omnidirectional Vision, Camera Networks and Non-Classical Cameras, Kyoto, Japan.
  10. Greene, N. (1986). Environment mapping and other applications of world projections. In IEEE Computer Graphics and Applications, volume 6.
  11. Haeberli, P. and Segal, M. (1993). Texture mapping as a fundamental drawing primitive. In Fourth EuroGraphics Workshop on Rendering, pages 259-266.
  12. Hoy, K., Niels, N., Christensen, J., and Informatics (2002). Real-time recursive specular reflections on planar and curved surfaces using graphics hardware. Journal of WSCG, 10(3):91-98.
  13. Liu, B., Wei, L.-Y., Yang, X., Ma, C., Xu, Y.-Q., Guo, B., and Wu, E. (2011). Non-linear beam tracing on a gpu. Comput. Graph. Forum, pages 2156-2169.
  14. McReynolds, T., Blythe, D., Grantham, B., and Nelson, S. (2000). Advanced graphics programming techniques using OpenGL. SIGGRAPH 2000 Course 32.
  15. Meyer, A. and Loscos, C. (2003). Real-time reflection on moving vehicles in urban environments. In VRST'03: Proceedings of the ACM symposium on virtual reality software and technology, pages 32-40.
  16. Ofek, E. and Rappoport, A. (1998). Interactive reflections on curved objects. In SIGGRAPH'98, pages 333-342.
  17. Parker, S. G., Bigler, J., Dietrich, A., Friedrich, H., Hoberock, J., Luebke, D., McAllister, D., McGuire, M., Morley, K., Robison, A., and Stich, M. (2010). Optix: A general purpose ray tracing engine. ACM Transactions on Graphics.
  18. Purcell, T. J. (2004). Ray Tracing on a Stream Processor. PhD thesis, Department of Computer Science, Stanford University, Stanford, CA.
  19. Roger, D. and Holzschuch, N. (2006). Accurate specular reflections in real-time. Computer Graphics Forum, 25(3):293-302.
  20. Szirmay-Kalos, L., Aszodi, B., Lazanyi, I., and Premecz, M. (2005). Approximate ray-tracing on the gpu with distance impostors. In Computer Graphics Forum (Proceedings of Eurographics 2005), volume 24.
  21. Voorhies, D. and Foran, J. (1994). Reflection vector shading hardware. In SIGGRAPH'94.
  22. Wald, I., Benthin, C., and Slusallek, P. (2003). Distributed interactive ray tracing of dynamic scenes. In IEEE Symposium on Parallel and Large-Data Visualization and Graphics, pages 11-20.
  23. Woop, S., Schmittler, J., and Slusallek, P. (2005). A programmable ray processing unit for realtime ray tracing. In ACM Transactions on Graphics.
Download


Paper Citation


in Harvard Style

Lages Miguel A., Nogueira A. and Gonçalves N. (2014). Real-Time 3D Visualization of Accurate Specular Reflections in Curved Mirrors - A GPU Implementation . In Proceedings of the 9th International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2014) ISBN 978-989-758-002-4, pages 136-143. DOI: 10.5220/0004691901360143


in Bibtex Style

@conference{grapp14,
author={André Lages Miguel and Ana Catarina Nogueira and Nuno Gonçalves},
title={Real-Time 3D Visualization of Accurate Specular Reflections in Curved Mirrors - A GPU Implementation},
booktitle={Proceedings of the 9th International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2014)},
year={2014},
pages={136-143},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004691901360143},
isbn={978-989-758-002-4},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 9th International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2014)
TI - Real-Time 3D Visualization of Accurate Specular Reflections in Curved Mirrors - A GPU Implementation
SN - 978-989-758-002-4
AU - Lages Miguel A.
AU - Nogueira A.
AU - Gonçalves N.
PY - 2014
SP - 136
EP - 143
DO - 10.5220/0004691901360143