An XML-based visual shading language for vertex and fragment shaders

  • Authors:
  • Frank Goetz;Ralf Borau;Gitta Domik

  • Affiliations:
  • University of Paderborn Germany;University of Paderborn Germany;University of Paderborn Germany

  • Venue:
  • Proceedings of the ninth international conference on 3D Web technology
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a new system for the visual development of complex vertex and fragment shaders. The system makes usage of the advantages of visual programming languages. The core of the system is a Java program. With this program users can develop and test dataflow diagrams that describe the functionality of OpenGL ARB vertex and fragment programs. To get a graphical feedback the system is able to display rendered and shaded scenes immediately. The rendering of these three dimensional scenes will be done with the common Java-OpenGL binding GL4Java. Further on Cg4Java, a new binding for connecting Java to NVIDIA's High-Level Shading Language C for graphics (Cg) was developed. For an easy and fast way of verification, and for the possibility of a future integration into XML based 3D formats like Extensible 3D (X3D), the whole topology of the dataflow diagrams will be stored in XML. The concept of shader programming with dataflow diagrams and the architecture of our system will be described in detail. For a better understanding two examples will be presented and explained.