Skip to Content
図解まるわかり VR・AR・MRのしくみ
book

図解まるわかり VR・AR・MRのしくみ

by monoAI technology株式会社
October 2024
Intermediate
240 pages
6h 57m
Japanese
Shōeisha
Content preview from 図解まるわかり VR・AR・MRのしくみ
156
WebGL
ブラウザ向け3Dグラフィックス
6-16
利便性に優れているWebGL
ブラウザ向け3Dグラフィックス技術は、Web上での充実したXR体験を
可能にするうえで欠かせません。高品質な3Dコンテンツにアクセスする
ことで、仮想空間と現実世界をシームレスにし、没入感のある仮想空間を
簡単に体験できるようになります。
ブラウザ向けに3Dグラフィックス表現を提供する主な技術として、
WebGLがあります 6-31)。WebGL は、KhronosGroup によって管理
される、OpenGLES2.0 をベースとした API です。
従来では、Webブラウザ上で3Dコンテンツを閲覧するには、Flash
Playerなどのプラグインが必要でした。しかし、WebGL プラグイン不要
3Dコンテンツを閲覧することができるため、ユーザーの利便性が向上
しています。また、プラットフォームに依存しないため、さまざまなデバ
イスやブラウザでの互換性もあります。
多彩な機能で高度な3Dグラフィックスを実現
OpenGLのWeb版ともいえるWebGLは、プログラミング言語の
JavaScriptと連携しており、多彩な機能を持ちます。また、WebGLでは
次のような流れで3D グラフィックスを生成します 6-32)
まず、3Dモデルのデータ頂点座標、色情報、テクスチャ座標など
を用意し、WebGLのAPIを使ってそのデータをGPUに転送します。頂点
シェーダーとフラグメントシェーダーを使って、3
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

図解まるわかり プログラミングのしくみ

図解まるわかり プログラミングのしくみ

増井 敏克
図解まるわかり 仮想化のしくみ

図解まるわかり 仮想化のしくみ

鈴木 健治, 宗村 拓実, 丸山 勝康, 欧 肖

Publisher Resources

ISBN: 9784798185811