如何用C来学习的OpenGL 3.x的? [英] How to learn OpenGL 3.x using C?

查看:207
本文介绍了如何用C来学习的OpenGL 3.x的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道还有的许多的OpenGL的在那里教程,但所有好的教程,我发现使用一些C ++库(主要是GLM),使其难以遵循,就是想用C的人,和/或具体针对的Microsoft Windows。

我的问题是:


  1. 有谁知道,采用C,而不是具体的Windows一个很好的OpenGL 3.x的教程?

  2. 的编程语言确实OpenGL的红皮书使用?


解决方案

  

有谁知道,采用C,而不是具体的Windows?

一个很好的OpenGL 3.x的教程

呼,好问题!

IIRC尼科尔流星锤的教程使用C ++(对于GLM)。我建议你​​看一下 http://arcsynthesis.org/gltut 并与我的 linmath.h 适用。


  

哪种编程语言并OpenGL的红皮书使用?


旧的版本(小于= OpenGL的2.1),使用纯C.较新的我居然没读

I know there are many tutorials on OpenGL out there, but all good tutorials I found use some C++ libraries (mostly GLM) that make it hard to follow for people that would like to use C, or/and were specific to Microsoft Windows.

My Questions are:

  1. Does anybody know a good OpenGL 3.x tutorial that uses C and is not Windows specific?
  2. Which programming language does the OpenGL "redbook" use?

解决方案

Does anybody know a good OpenGL 3.x tutorial that uses C and is not Windows specific?

Phew, good question!

IIRC Nicol Bolas' tutorials use C++ (for GLM). I suggest you look at http://arcsynthesis.org/gltut and replace GLM with my linmath.h where applicable.

Which programming language does the OpenGL "redbook" use?

The older editions (<= OpenGL-2.1) used pure C. The newer ones I actually didn't read.

这篇关于如何用C来学习的OpenGL 3.x的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆