CoSMo: Intent-based Composition of Shader Modules




Information

  • Proceedings of International Conference on Computer Graphics Theory and Applications (Grapp 2014), 189-199
  • Publication Type: Conference Paper with Conference Talk
  • VISIGRAPP Selected Papers, Communications in Computer and Information Science, 45-61
  • Publication Type: Extended Journal paper
  • Year: 2014
  • Keywords: Scenegraph, Attribute Grammar, Rendering Engine, Domain-Specific-Languages, Incremental Evaluation

Abstract

We propose a novel shader programming model which operates on intent-oriented shader modules instead of specific programs for dedicated GPU rasterization pipeline stages. In constrast to existing pipeline shader frameworks, our system exposes a radically simplified pipeline, which we purposefully aligned with our basic intuition of shaders as per-primitive and per-pixel operations and compositions thereof. This simplicity lends itself to structure modules purely based on their intent, instead of dealing with structure enforced by specific versions of graphics APIs. Consequently, this offers great flexibility when it comes to reusing and combining modules with completely different semantics, or when targeting different graphics APIs. The simplicity and uniformity of our system also motivates automatic parameterization and simplification of shader programs as well as interesting interactive shader development and management techniques.

Acknowledgements

We would like to thank Manuel Wieser for providing 3D models, especially Eigi, The Dinosaur. The competence center VRVis is funded by BMVIT, BMWFJ, and City of Vienna (ZIT) within the scope of COMET Competence Centers for Excellent Technologies. The program COMET is managed by FFG.

Downloads



Paper (Draft): [9 MB]
This is the authors preprint. The definitive version of the paper is be available at
the IEEE Computer Society.
Extended Journal Paper (Draft): [7 MB]
This is the authors preprint. The definitive version of the paper is be available at
the Springer.


Bibtex

@inproceedings{DBLP:conf/grapp/HaaserSMSMT14,
  author    = {Georg Haaser and
               Harald Steinlechner and
               Michael May and
               Michael Schw{\"{a}}rzler and
               Stefan Maierhofer and
               Robert F. Tobler},
  title     = {CoSMo: Intent-based Composition of Shader Modules},
  booktitle = {{GRAPP}},
  pages     = {189--199},
  publisher = {SciTePress},
  year      = {2014}
}

@inproceedings{DBLP:conf/visapp/HaaserSMSMT14,
  author    = {Georg Haaser and
               Harald Steinlechner and
               Michael May and
               Michael Schw{\"{a}}rzler and
               Stefan Maierhofer and
               Robert F. Tobler},
  title     = {Semantic Composition of Language-Integrated Shaders},
  booktitle = {{VISIGRAPP} (Selected Papers)},
  series    = {Communications in Computer and Information Science},
  volume    = {550},
  pages     = {45--61},
  publisher = {Springer},
  year      = {2014}
}
									
|  maintained by harald steinlechner   |   hs -at- vrvis.at   |   last update: 06.12.2018   |