看板 Browsers 關於我們 聯絡資訊
A long time ago, in an office far far away...Opera released a custom build showing an implementation of a 3D canvas context. Now, more than 3 years later, we are releasing the first public build with a standards-based 3D canvas implementation using WebGL for Windows. 很久以前,在一個很遙遠的辦公室...Opera 釋出了一個特製的 3D Canvas Context 實作的建置。3年過去了,今天我們釋出第一個 Windows 系統底 下基於 3D Canvas 標準並使用 Web GL 的實作。 WebGL is a standard developed by the Khronos group, where Opera is an active member participating in the standardization process. We have been working on a WebGL implementation since early 2009, when the standardization process started. The specification has been changing quite frequently over the past few years, but now it is starting to mature and stabilise, which makes this the perfect time to release a public preview of our current WebGL implementation. WebGL 是一個由 Khronos Group 開發的標準,Opera 同時也是積極參與 標準化程序的其中一個成員。我們從 2009 年初開始參與 WebGL 的實作 ,既標準化程序開始之際。這類的規範在這幾年間有了頻繁的變化,但 現在它已經開始進入成熟和穩定期了,這也正是釋出我們目前的 WebGL 實作公開預覽的最佳時機。 For those of you who have never heard of WebGL, it is a context to the canvas element which gives you hardware-accelerated 3D rendering in JavaScript. The API is based on OpenGL ES 2.0, which means that it is possible to run WebGL on many different devices, such as desktop computers, mobile phones and TVs. The WebGL public wiki contains more information about the standard, including tutorials and lots of demos – so it is a good place to go if you want to see our WebGL implementation in action. 對於不曾聽過 WebGL 的人而言,它其實就是讓你在 JavaScript 中使用 3D 渲染硬體加速的 Canvas 元素的環境(編:這句不太會翻)。API 是 基於 OpenGL ES 2.0,換句話說就是它可以很多不同設備中執行 WebGL, 譬如桌面的電腦、行動電話和電視。你可以在 WebGL 的公開維基中找到 更多有關標準的資訊,包含教學和很多的展示--如果你想要看到我們的 WebGL 實作的動作,那會是一個不錯的地方。 Hardware acceleration In June 2008 – around the same time as our first 3D canvas experiments – we showed a video preview of our fully hardware-accelerated renderer. One of the requirements we had for enabling that code was that the software fallback – used when hardware acceleration is not available – should be at least as fast as what we were using in our desktop product at the time. To achieve that, we spent a lot of time and resources on optimizing our software renderer, which has been used in Opera's desktop browser since version 10.50 and has proven to be one of the fastest renderers around. Following the release of 10.50, we once again focused on our hardware renderer. 在 2008 年 6 月 - 就在我們第一個 3D Canvas 實驗的同時 - 我們秀了 一段關於我們完整的硬體加速渲染器的預覽影片。我們對硬體加速有一個 應變能力的要求,就是當硬體加速無法使用時,它起碼要達到我們目前所 使用的桌面版本的速度(編:這句也不敢保證翻對)。為了完成這個目標 ,我們投入了大量的資源和時間在最佳化我們的軟體渲染器,也就是從 10.50 版時開始在 Opera 的桌面瀏覽器所使用的那一個,同時還得保證 它是其中一個最快的渲染器。以下是本次釋出的 10.50 版,我們再一次 把焦點集中在我們的硬體渲染器上。 The results of this work have been rolled into this preview as well, meaning that this build also has full hardware acceleration enabled (on systems with compatible hardware and drivers). 這項工作的成果已經被放置到這個預覽版本中了,意思是這個建置有著完 整的啟用硬體加速(需在相容的硬體和驅動程式中) Our hardware acceleration is a bit different from what other browsers are doing. Like IE9 and Firefox 4, we do full hardware acceleration of all draw operations - but unlike those browsers, who only offer this acceleration on Windows Vista and Windows 7, our implementation will run on any OS with sufficient hardware support. This means we can have full hardware acceleration on Windows XP, Linux, Mac OS X and OpenGL ES 2 capable devices such as recent smart-phones and web-enabled TVs. 我們的硬體加速和其他瀏覽器有一點不一樣。譬如 IE9 和 Firefox4,我 們的硬體加速更完整的涵蓋到所有的繪畫作業 - 而且不像其他的瀏覽器只 在 Windows Vista 和 Windows 7 中才提供加速效果,我們的實作將可以 在任何有足夠的硬體支援的作業系統下執行。這表示無論是在 Windows XP 、Linux、Mac OS X 和 OpenGL ES 2 相容的裝置如智慧型手機和可上網的 電視下都可以有完整的硬體加速。 OpenGL This build only has an OpenGL backend. That means your system must have an OpenGL 2.x compatible graphics card and related drivers for hardware acceleration and WebGL to work. In future builds we will also add a Direct3D backend, which will reduce the requirements on drivers and should work out of the box on most modern systems. 這個建置只有一個 OpenGL Backend。意思就是你的系統必須要有一張相容 於 OpenGL 2.x 的顯示卡和能夠讓硬體加速與 WebGL 運作的相關驅動程式 。在未來建置中我們還會加入一個 Direct3D backend,以便可以減低對 驅動程式的要求同時在最現代的系統中執行。 So how can you tell if hardware acceleration is enabled? There are two easy ways to check. The first option is to load some WebGL content – if it works that means your hardware and drivers are compatbile, and hardware acceleration is enabled in the browser. Alternatively, you can check the new "Vega backend" entry in opera:about – if the backend listed is OpenGL, you have hardware acceleration enabled; otherwise, the entry will show that the browser is using Software backend. Download it! 你要如何確定硬體加速已經被啟用呢?有兩個簡單的方法,第一是載入一些 WebGL 內容,如果它可以執行既表示你的硬體和驅動程式是相容,而且瀏覽 器也已經啟用了硬體加速。另一個方法是,你可以利用 Opera:about 來檢查 是否有多了一個「Vega backend」項目 - 如果 Backend 項目列出的是 OpenGL,就表示已經啟用硬體加速。否則該項目會顯示瀏覽器正使用軟體的 Backend。 下載吧! This preview is currently only available for Windows – builds for other operating systems will be coming soon. 目前只提供 Windows 版的預覽版 - 其他作業系統的預覽版將會儘快釋出。 http://snapshot.opera.com/labs/webgl/Opera_1150_24661_WebGL_en.exe Opera 11 preview with WebGL and Hardware Acceleration for Windows Disclaimer: this is not a stable build – it is an early preview of upcoming technologies in Opera. Neither WebGL nor hardware acceleration will be included in the upcoming release of Opera 11.10 for desktop. Some other aspects, such as SVG rendering, may not work correctly. We will continue working on these new features – fixing on all remaining bugs and optimizing our code – and we will release further preview builds to keep you up to date with our progress. 免責聲明:這並不是一個穩定版本 - 它僅僅是一個 Opera 未來技術的預覽版。無論是 WebGL 或硬體加速都不會包含在即將釋出的 Opera 11.10 的桌面版中。還有像 SVG 渲染 也無法正確的運作。我們會持續對這項功能付出努力 - 修復所有剩餘的 Bugs 和最佳化 我們的程式碼 - 同時我們還會釋出更進一步的預覽版以便讓你可以跟上我們的進度。 Please give us your feedback – but remember to include information about which graphics card and driver version you have, and if Vega is using the OpenGL or Software backend. 請給予你的使用回報 - 但也請記得把顯示卡和驅動程式的資訊也附上, 還有別忘了 Vega 是使用 OpenGL 或 Software Backend 的資訊。 -- 翻譯聲明: 本翻譯為個人業餘即興之翻譯,非屬官方正式中文翻譯,若有錯誤歡迎指正。因為時間和 專業程度關係,本譯文出現錯誤和省略原文在所難免,若讀者發現錯誤之處,請務必通知 ,以避免影響誤導其他讀者。最後提醒讀者,若發現譯文與原文產生衝突時,一切以原文 為準。 -- t7: 看到這個消息真的很開心,我盡量在最短的時間內把文章翻譯出來,就算再忙也要 偷閒一下跟大家分享這個資訊。我甚至自己都還沒有安裝來測試,各位的測試情況 如何,別忘了跟大家一起分享。 另外要提的是,這篇的真的很難翻。好吧...我承認是我英文太菜 老話一句,有錯請通知我修改。 -- ◆◆◆◆◆ [t7度空間] ◆◆◆◆◆ http://t7yang.blogspot.com 一個屬於我的創作空間 ◆◆ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.230.27
t7yang:忘了放來源: http://labs.opera.com/news/2011/02/28/ 03/01 16:50
Weal:看這檔案的名稱 可能代表這東西到了11.5才會正式放進來? 03/01 17:20
weiyucsie:推~ 03/01 17:59
delphinus:希望那些舊的3d卡也能用webgl! 03/01 18:09
weiyucsie:看回應... 好像有些理論上支援opengl的顯卡, 03/01 18:29
weiyucsie:還是software backend... 03/01 18:29
weiyucsie:等等看directx backend的需求版本囉orz... 03/01 18:30
AsDfJJJ:推翻譯,辛苦了! 03/02 23:09
t7yang:我的筆電 G105M NV的 可以用 XDD 不過我自己測試過 03/03 14:33
t7yang:在PeaceKeeper上的分數比上一個穩定版要來得差一些 03/03 14:34
t7yang:昨天則是從DownloadSquad那裏看到測試文 就是測那個微軟 03/03 14:35
t7yang:搞得測試網站 只有在1000條魚時小輸IE9一點 03/03 14:35
t7yang:http://goo.gl/2DqJC 03/03 14:42