没有合适的资源?快使用搜索试试~ 我知道了~
gltf20-reference-guide
需积分: 0 1 下载量 152 浏览量
2023-03-08
15:48:30
上传
评论
收藏 970KB PDF 举报
温馨提示
试读
8页
gltf20-reference-guide
资源推荐
资源详情
资源评论
www.khronos.org/glRev. 0922
glTF 2.0 API Reference Guide Page 1
glTF was designed and specified by the Khronos
Group, for the efficient transfer of 3D content
over networks.
glTF and the glTF logo
are trademarks of the
Khronos Group Inc.
Further resources
The Khronos glTF landing page:
https://www.khronos.org/gltf
The Khronos glTF GitHub repository:
https://github.com/KhronosGroup/glTF
glTF - what the ?
An overview of the basics of
the GL Transmission Format
The core of glTF is a JSON file that describes the
structure and composition of a scene containing
3D models. The top-level elements of this file are:
These elements are contained in arrays. References
between the objects are established by using their
indices to look up the objects in the arrays.
©2016-2022 Marco Hutter
www.marco-hutter.de
Feedback:
gltf@marco-hutter.de
Version 2.0d
glTF version 2.0
For glTF
2.0!
This overview is
non-normative!
It is also possible to store the whole asset in a single
binary glTF file. In this case, the JSON data is stored
as a string, followed by the binary data of buffers
or images.
scenes, nodes
Basic structure of the scene
meshes
Geometry of 3D objects
materials
Definitions of how objects should be rendered
skins
Information for vertex skinning
animations
Changes of properties over time
cameras
View configurations for the scene
textures, images, samplers
Surface appearance of objects
buffers, bufferViews, accessors
Data references and data layout descriptions
bufferView
buffer
accessor
mesh
node
scene
skincamera
animation
material
texture
sampler image
Concepts
Binary data references
The images and buffers of a glTF asset may refer to
external files that contain the data that are required
for rendering the 3D content:
The data is referred to via URIs, but can also be
included directly in the JSON using data URIs. The
data URI defines the MIME type, and contains the
data as a base64 encoded string:
"buffers": [
{
"uri": "buffer01.bin"
"byteLength": 102040,
}
],
"images": [
{
"uri": "image01.png"
}
],
"data:application/gltf-buffer;base64,AAABAAIAAgA..."
"data:image/png;base64,iVBORw0K..."
Buffer data:
Image data (PNG):
The buffers refer to binary
files (.BIN) that contain
geometry- or animation
data.
The images refer to image
files (PNG, JPG...) that
contain texture data for
the models.
The conceptual relationships between the top-level
elements of a glTF asset are shown here:
资源评论
EndlessDaydream
- 粉丝: 4013
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功