日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

NVIDIA Jetson TK1学习与开发(八):图文详解OpenGL在Jetson TK1上的安装和使用

發(fā)布時間:2025/4/16 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 NVIDIA Jetson TK1学习与开发(八):图文详解OpenGL在Jetson TK1上的安装和使用 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

圖文詳解OpenGL在Jetson TK1上的安裝和使用

1、入門介紹與資源推介

OpenGL(全寫Open Graphics Library)是個定義了一個跨編程語言、跨平臺的編程接口規(guī)格的專業(yè)的圖形程序接口。它用于三維圖像(二維的亦可),是一個功能強(qiáng)大,調(diào)用方便的底層圖形庫。

OpenGL ES (OpenGL for Embedded Systems) 是 OpenGL 三維圖形 API 的子集,針對手機(jī)、PDA和游戲主機(jī)等嵌入式設(shè)備而設(shè)計。該API由Khronos集團(tuán)定義推廣,Khronos是一個圖形軟硬件行業(yè)協(xié)會,該協(xié)會主要關(guān)注圖形和多媒體方面的開放標(biāo)準(zhǔn)。

下面推薦學(xué)習(xí)OpenGL的一些網(wǎng)址:

OpenGL tutorial:http://www.opengl-tutorial.org/

OpenGL samples:https://github.com/NVIDIAGameWorks/OpenGLSamples

Cross-platform OpenGL and OpenGL ES samples (for Windows, Android, and Linux):https://developer.nvidia.com/gameworks-opengl-samples

OpenGL study?documentation:http://docs.nvidia.com/gameworks/index.html#gameworkslibrary/graphicssamples/opengl_samples/opengl_index.htm

2、OpenGL Graphics and Compute Samples下載

下載地址:https://developer.nvidia.com/gameworksdownload#?tx=$gameworks,graphics_library$graphics_api,opengl_4.3

如下圖所示:


The OpenGL Graphics and Compute Samples pack is a resource for cross-platform OpenGL 4 (GL4) and OpenGL ES 2 and 3 (ES2 and ES3) development, targeting Android, Windows, and Linux (x86/x64 and Linux for Tegra). The samples run on all four target platforms from a single source base.

3、OpenGL Samples Prerequisites


4、OpenGL Samples Setup Guide

將下載好的gl-graphics-compute-samples-linux-2.0拷貝到Jetson TK1平臺中,如下圖:



解壓samples pack并且把它移到工作目錄,如下圖:



Install the Linux target pre-requisites:



sudo apt-get update(this is critical, or else the next line will do nothing) sudo apt-get install g++進(jìn)入目錄make:

生成的apps位于..../samples/bin/linux-arm32/,如下圖所示:


5、示例演示

進(jìn)入apps所在的目錄后,./xxxx即可,以Bindless Graphics Sample為例,演示結(jié)果如下圖所示:





總結(jié)

以上是生活随笔為你收集整理的NVIDIA Jetson TK1学习与开发(八):图文详解OpenGL在Jetson TK1上的安装和使用的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。