[程式] 請問 OpenGL 的 Client-Server 架構

看板GameDesign (遊戲設計)作者 (mat)時間15年前 (2011/05/17 16:53), 編輯推噓1(103)
留言4則, 2人參與, 最新討論串1/1
小弟我正在讀OpenGL Red book 裡面偶爾會提到 OpenGL 是設計成 Client-Server 架構 關於這個我有一些困惑,想請教各位 1. 如果我是在單機下寫OpenGL程式 那 client在哪裡? server又在哪裡呢? 它們是兩條不同的process嗎? 2. 資料在client-server之間傳送會不會有cost ? 3. 這個 client-server 的觀念是否重要? 比如說書裡寫 vertex array 是儲存在 client buffer object 儲存在 server 那這兩者儲存的位置不同,會不會有效率上的差別? 我需不需要時常分辨東西屬於Server端或client端呢 ? 謝謝各位 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.45.102.82 ※ 編輯: chchwy 來自: 114.45.102.82 (05/17 16:56)

05/17 16:59, , 1F

05/17 18:49, , 2F
If an OpenGL program isn’t running across a network,
05/17 18:49, 2F

05/17 18:50, , 3F
then there's only one computer, and it is both the
05/17 18:50, 3F

05/17 18:51, , 4F
client and the server. red book上寫的
05/17 18:51, 4F
文章代碼(AID): #1DqZU9e1 (GameDesign)
文章代碼(AID): #1DqZU9e1 (GameDesign)