1、本文所以内容来自 著名高校课件和学生笔记(校园里面经常见到有人高价买笔记)
2、任课教师不会提供参考文献,所以只能对作者表示感谢,如果引用了您的作品,可以用回
复方式补充参考文献。
3、我不对文章无关问题进行解答,文章内容也比较难,我也很难解答您遇到的问题,如果发
现BUG可以用回复方式帮我修正。
4、本课 属于Computer Graphics
,适用于计算机图形学课程,教材为电子工业出版
社Computer Graphics(计算机图形学,中文版和英文版)
本课其他部分的导航条见页面底部
Overview of Graphics System
§2.1 Video Display Devices
The primary output device is a video monitor.
Stereoscopic(立体的) and Virtual-Reality Systems
Display stereoscopic(立体的) views of objects.
This method does not produce true 3-D images, but provide a 3-D effect by presenting a different view to each eye of an viewer.
§2.2 Raster-Scan Systems (光栅扫描系统)
Interactive raster-graphics systems typically employ several processing units.
§2.7 Graphics Software
There are two broad classifications for computer-graphics software:
Special-purpose packages
General programming packages
General Programming Packages
A general programming package provides a library of graphics functions that can be used in C, C++, Java etc.
Such as GL (Graphics Library), OpenGL, VRML (Virtual-Reality Modeling Language), Java 2D, Java 3D.
A set of graphics functions is often called computer-graphics application programming interface (CG API).
Graphics Functions
The basic building blocks for pictures are referred to as graphics output primitives.
Attributes are properties of the output primitives.
We can change the size, position, orientation of the object using geometric transformations.
Viewing transformations are used to select a view of scene.
Input functions are used to control and process the data flow from the interactive devices.
OpenGL Language Binding
Graphics functions in any package are typically defined as a set of specifications that are independent of any programming language.
A language binding is then defined for a particularly high-level programming language.
This binding gives the syntax for accessing the various graphics functions.
Basic OpenGL Syntax
Function names in the OpenGL basic (core) library are prefixed with gl, such as:
glBegin, glClear, glCopyPixels
Certain function require one (or more) of their arguments be assigned a symbolic constant, such as:
GL_2D, GL_RGB, GL_POLYGON
The OpenGL functions also expect specific data types:
GLbyte, GLshort, GLint, GLfloat, GLdouble, GLboolean
Header Files
To use the OpenGL ibraries, we should:
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <GL/glaux.h>
#include <GL/gl.h> #include <GL/glaux.h>
void main(void) { auxInitDisplayMode(AUX_SINGLE|AUX_RGBA); auxInitPosition(0,0,500,500); auxInitWindow(“simple”); glClearColor(0.0,0.0,0.0,0.0); glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1.0,0.0,0.0); glRectf(-0.5,-0.5,0.5,0.5);
glFlush(); _sleep(1000); }
分享到:
相关推荐
Overview of the System Engineering Process System Engineering 系统工程 信息化 ERP 大数据
Graphics System Overview Graphics System Overview DDK
全球移动通信系统(Global System for Mobile Telecommunications,简称GSM)是欧洲电信标准协会(CEPT)定义的一套标准化体系,旨在为泛欧地区的数字陆地移动通信提供服务。GSM基于国际电报电话咨询委员会(CCITT)...
for MTL in Deep Learning, gives an overview of the literature, and discusses recent advances. In particular, it seeks to help ML practitioners apply MTL by shedding light on how MTL works and ...
Overview of data mining. Emphasis is placed on basic data mining concepts. Techniques for uncovering interesting data patterns hidden in large data sets.
unit 1 overview of IT industry
Overview of the OMG Data Distribution Service
An overview of gradient descent optimization algorithms
If Alice and Bob each know their own private key and the other's public key, they can communicate securely, through any number of public key based protocols such as IPSec, PGP, S/MIME, or SSL....
根据提供的文件信息,我们可以提炼出以下知识点关于“VIP System Overview”: ***系统概述的版本信息:这份文档是2005年的版本,提供了一个高级别和一般性的概述关于VisaNet集成支付(V.I.P.)系统以及其组件、...
overview of MTL by first giving a definition of MTL. Then several different settings of MTL are introduced, including multi-task supervised learning, multi-task unsupervised learning, multi-task semi...
A Technical Overview of VP9--the Latest Open-Source Video Codec Google has recently finalized a next generation open-source video codec called VP9, as part of the libvpx repository of the WebM project...
its results, and then vanished back under the same cloak of secrecy under which it had been developed. Now for the first time, details of the architecture and algorithms can be revealed.
该文件为CCSDS发布的《空间通信协议概览》(Overview of Space Communications Protocols),版本号为CCSDS 130.0-G-2,属于绿色手册系列,发布日期为2007年12月。该文档作为一份信息报告,详细介绍了由CCSDS推荐的...
The RANdom SAmple Consensus (RANSAC) algorithm proposed by Fischler and Bolles [1] is a general parameter estimation approach designed to cope with a large proportion of outliers in the input data....
HEVC/H.265标准综述文章 视频编码,算法,H.264/AV1 Inter prediction Intra prediciton Overview High efficiency video coding (HEVC) standard PDF
overview_of_deep_learning_final 深度学习综述资料,很值得推荐!
Overview of DriverStudio Tools
Abstract: Servlet program running in the server-side, dynamically generated Web page with the traditional CGI and many other similar compared to CGI technology, Java Servlet with a more efficient, ...