skip to main content
10.1145/2775292.2775295acmconferencesArticle/Chapter ViewAbstractPublication Pagesweb3dConference Proceedingsconference-collections
research-article

A CSS integration model for declarative 3D

Published:18 June 2015Publication History

ABSTRACT

Declarative 3D (Dec3D) implementations, most notably XML3D and X3DOM, have enabled a seamless integration of 3D and 2D content on the same web page. Yet one of the major web technologies, Cascading Style Sheets (CSS), has not been integrated. The usage of CSS for 3D content has always been envisaged but never fully approached, because only polyfills for declarative 3D implementations exist and only recent developments have made custom CSS properties available.

In this paper we will present a deep integration and adaption of CSS for Dec3D content and, hence, provide the final component necessary to fully integrate 3D content into the web technology stack. Our integration model allows for appearance definitions, such as visibility and materials, at a novel level of expressiveness. CSS-Selectors, inheritance, as well as media types provide unique means to change a scene's final appearance in a flexible and powerful way. Using CSS, it is possible to define the appearance of a 3D object dependent on the DOM hierarchy position or the screen resolution and orientation without a single line of JavaScript. The integration of CSS further enables the use of browser debugging facilities that have not been usable before. Because the requirements of 3D content are different compared to those of 2D content, we will point out existing limitations and necessary future additions to improve the interoperability of CSS with 3D content.

References

  1. Behr, J., Eschler, P., Jung, Y., and Zöllner, M. 2009. X3DOM: A DOM-based HTML5/X3D Integration Model. In Proceedings of the 14th International Conference on 3D Web Technology, ACM, New York, NY, USA, Web3D '09, 127--135. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Behr, J., Jung, Y., Drevensek, T., and Aderhold, A. 2011. Dynamic and Interactive Aspects of X3DOM. In Proceedings of the 16th International Conference on 3D Web Technology, ACM, New York, NY, USA, Web3D '11, 81--87. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Jankowski, J., Ressler, S., Sons, K., Jung, Y., Behr, J., and Slusallek, P. 2013. Declarative Integration of Interactive 3D Graphics into the World-Wide Web: Principles, Current Approaches, and Research Agenda. In Proceedings of the 18th International Conference on 3D Web Technology, ACM, New York, NY, USA, Web3D '13, 39--45. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Khronos, 2011. WebGL Specification Version 1.0, Khronos Specification. https://www.khronos.org/registry/webgl/specs/1.0.0/, Feb.Google ScholarGoogle Scholar
  5. Klein, F., Sons, K., Rubinstein, D., Byelozyorov, S., John, S., and Slusallek, P. 2012. Xflow - Declarative Data Processing for the Web. In Proceedings of the 17th International Conference on 3D Web Technology, ACM, New York, NY, USA, Web3D '12, 37--46. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Klein, F., Spieldenner, T., Sons, K., And Slusallek, P. 2014. Configurable Instances of 3D Models for Declarative 3D in the Web. In Proceedings of the Nineteenth International ACM Conference on 3D Web Technologies, ACM, New York, NY, USA, Web3D '14, 71--79. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Limper, M., Jung, Y., Behr, J., and Alexa, M. 2013. The POP Buffer: Rapid Progressive Clustering by Geometry Quantization. Computer Graphics Forum 32, 7, 197--206.Google ScholarGoogle ScholarCross RefCross Ref
  8. Schwenk, K., Jung, Y., Behr, J., and Fellner, D. W. 2010. A Modern Declarative Surface Shader for X3D. In Proceedings of the 15th International Conference on Web 3D Technology, ACM, New York, NY, USA, Web3D '10, 7--16. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Sons, K., Klein, F., Rubinstein, D., Byelozyorov, S., and Slusallek, P. 2010. XML3D: Interactive 3D Graphics for the Web. In Proceedings of the 15th International Conference on Web 3D Technology, ACM, New York, NY, USA, Web3D '10, 175--184. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Sons, K., Schlinkmann, C., Klein, F., Rubinstein, D., and Slusallek, P. 2013. xml3d.js: Architecture of a Polyfill Implementation of XML3D. In Proceedings of the 6th Workshop on Software Engineering and Architectures for Realtime Interactive Systems, IEEE, New York, NY, USA, SEARIS '13, 17--24.Google ScholarGoogle Scholar
  11. Sons, K., Klein, F., Sutter, J., and Slusallek, P. 2014. shade.js: Adaptive Material Descriptions. Computer Graphics Forum 33, 7 (Oct.), 51--60. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Sutter, J., Sons, K., and Slusallek, P. 2014. Blast: A Binary Large Structured Transmission Format for the Web. In Proceedings of the Nineteenth International ACM Conference on 3D Web Technologies, ACM, New York, NY, USA, Web3D '14, 45--52. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. W3C, 2011. Scalable Vector Graphics (SVG) 1.1 (Second Edition), W3C Recommendation (work in progress). http://www.w3.org/TR/2011/REC-SVG11-20110816/, Aug.Google ScholarGoogle Scholar
  14. W3C, 2011. Selectors Level 3, W3C Recommendation (work in progress). http://www.w3.org/TR/2011/REC-css3-selectors-20110929/, Sept.Google ScholarGoogle Scholar
  15. W3C, 2012. Media Queries, W3C Recommendation (work in progress). http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/, June.Google ScholarGoogle Scholar
  16. W3C, 2013. CSS Conditional Rules Module Level 3, W3C Candidate Recommendation (work in progress). http://www.w3.org/TR/2013/CR-css3-conditional-20130404/, Apr.Google ScholarGoogle Scholar
  17. W3C, 2013. CSS Transforms Module Level 1, W3C Working Draft (work in progress). http://www.w3.org/TR/2013/WD-csstransforms-1-20131126/, Nov.Google ScholarGoogle Scholar
  18. W3C, 2013. Filter Effects Module Level 1, W3C Working Draft (work in progress). http://www.w3.org/TR/2013/WDfilter-effects-1-20131126/, Nov.Google ScholarGoogle Scholar
  19. W3C, 2014. CSS Custom Properties for Cascading Variables Module Level 1, W3C Last Call Working Draft (work in progress). http://www.w3.org/TR/2014/WD-css-variables-1-20140506/, May.Google ScholarGoogle Scholar
  20. W3C, 2014. Custom Elements, W3C Working Draft (work in progress). http://www.w3.org/TR/2014/WD-custom-elements-20141216/, Dec.Google ScholarGoogle Scholar
  21. W3C, 2014. Media Queries Level 4, W3C Working Draft (work in progress). http://www.w3.org/TR/2014/WD-mediaqueries-4-20140605/, June.Google ScholarGoogle Scholar
  22. W3C, 2014. Shadow DOM, W3C Working Draft (work in progress). http://www.w3.org/TR/2014/WD-shadow-dom-20140617/, June.Google ScholarGoogle Scholar

Index Terms

  1. A CSS integration model for declarative 3D

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          Web3D '15: Proceedings of the 20th International Conference on 3D Web Technology
          June 2015
          274 pages
          ISBN:9781450336475
          DOI:10.1145/2775292

          Copyright © 2015 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 18 June 2015

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate27of71submissions,38%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader