survey of computer graphics programming languages jerry yee november 30, 2004
TRANSCRIPT
![Page 1: Survey of Computer Graphics Programming Languages Jerry Yee November 30, 2004](https://reader036.vdocument.in/reader036/viewer/2022072011/56649dde5503460f94ad7a0b/html5/thumbnails/1.jpg)
Survey of Computer Graphics Programming Languages
Jerry YeeNovember 30, 2004
![Page 2: Survey of Computer Graphics Programming Languages Jerry Yee November 30, 2004](https://reader036.vdocument.in/reader036/viewer/2022072011/56649dde5503460f94ad7a0b/html5/thumbnails/2.jpg)
Computer Graphics Programming Languages
•Why do we need them?
To make cool films like The Lord of the Rings: The Two Towers (920 special effect shots, 10 months to render on 1000 Linux workstations)
To provide an abstraction for 3D modeling, animation, scientific visualization because programming in a general programming language is inefficient and not very intuitive.
•Some Languages: OpenGL, Cg, VRML, Fran
•Design Goals: ease of use, portability, scalability, extensibility, well documented
![Page 3: Survey of Computer Graphics Programming Languages Jerry Yee November 30, 2004](https://reader036.vdocument.in/reader036/viewer/2022072011/56649dde5503460f94ad7a0b/html5/thumbnails/3.jpg)
OpenGL (Open Graphics Library)
•Application programming interface for 3D modeling and animation
•Supported across most operating systems
•API is available for C, C++, Java, Fortran, and Ada programming languages.
•Key Design Goals: ease of use, portability, openness, extensibility
![Page 4: Survey of Computer Graphics Programming Languages Jerry Yee November 30, 2004](https://reader036.vdocument.in/reader036/viewer/2022072011/56649dde5503460f94ad7a0b/html5/thumbnails/4.jpg)
Cg (C for Graphics)
•Primarily a shading language (describes how to fill display pixels)
•Designed to program NVIDIA’s programmable graphical processing units (GPU)
•Uses OpenGL API for 3D modeling
•Key Design Goals: to support GPU features, to be a general programming language for GPUs, extensibility
![Page 5: Survey of Computer Graphics Programming Languages Jerry Yee November 30, 2004](https://reader036.vdocument.in/reader036/viewer/2022072011/56649dde5503460f94ad7a0b/html5/thumbnails/5.jpg)
VRML (Virtual Reality Modeling Language)
•Designed to model 3D scenes over the Internet
•Supports object manipulation and animation, allows the viewer to move about in the scene
•Key Design Goals: performance, portability
![Page 6: Survey of Computer Graphics Programming Languages Jerry Yee November 30, 2004](https://reader036.vdocument.in/reader036/viewer/2022072011/56649dde5503460f94ad7a0b/html5/thumbnails/6.jpg)
Fran (Functional Reactive Animation)
•Designed for 3D modeling and reactive animation
•Embedded in the Haskell functional programming language
•Design Goals: Ease of construction, composability, and regulation of sampling rates for animation
![Page 7: Survey of Computer Graphics Programming Languages Jerry Yee November 30, 2004](https://reader036.vdocument.in/reader036/viewer/2022072011/56649dde5503460f94ad7a0b/html5/thumbnails/7.jpg)
Why OpenGL?
OpenGL was designed to be open and available on a wide range of systems.
The OpenGL Architecture Review Board (ARB) consists of representatives from industry, universities, and private research groups.
The OpenGL ARB gathers a wide range of feedback and modifies OpenGL according to industry needs.
OpenGL is the oldest of the four languages surveyed here (released in 1992).