---
title: "Hello, OpenGL!"
author: "leavingme"
date: "2006-04-14T23:57:00Z"
tags: ["C", "C#", "C++"]
slug: "hello-opengl"
draft: false
lastmod: "2006-04-14T23:57:00Z"
id: 216607
url: "https://leavingme.iteye.com/blog/216607"
---

摘要: 在学习C语言的时候,第一个程序是“Hello, world!”。这里我借用一下这个名字。因为这是一个最基本的OpenGL程序，一共只有大约50行代码（没算上注释）。程序结果并不是显示“Hello, OpenGL”，而是显示了一个茶壶（在OpenGL中可是一个著名的角色），也许名字应该叫做“Hello, Teapot”。 以下...  [阅读全文](http://www.cnblogs.com/leavingme/archive/2006/04/14/1166236.html)![](http://www.cnblogs.com/leavingme/aggbug/1166236.html)

[陈源](http://leavingme.cnblogs.com/) 2006-04-14 23:57 [发表评论](http://www.cnblogs.com/leavingme/archive/2006/04/14/1166236.html#Feedback)