Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
d3bb3179
T
three.js
项目概览
Ablesons
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d3bb3179
编写于
1月 27, 2020
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Examples: Renamed webgl_geometry_compression example and clean up.
上级
896b87b6
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
313 addition
and
299 deletion
+313
-299
examples/files.js
examples/files.js
+1
-1
examples/webgl_buffergeometry_compression.html
examples/webgl_buffergeometry_compression.html
+312
-0
examples/webgl_geometry_compression.html
examples/webgl_geometry_compression.html
+0
-298
未找到文件。
examples/files.js
浏览文件 @
d3bb3179
...
...
@@ -25,7 +25,6 @@ var files = {
"
webgl_geometries_parametric
"
,
"
webgl_geometry_colors
"
,
"
webgl_geometry_colors_lookuptable
"
,
"
webgl_geometry_compression
"
,
"
webgl_geometry_convex
"
,
"
webgl_geometry_cube
"
,
"
webgl_geometry_dynamic
"
,
...
...
@@ -273,6 +272,7 @@ var files = {
],
"
webgl / advanced
"
:
[
"
webgl_buffergeometry
"
,
"
webgl_buffergeometry_compression
"
,
"
webgl_buffergeometry_constructed_from_geometry
"
,
"
webgl_buffergeometry_custom_attributes_particles
"
,
"
webgl_buffergeometry_drawrange
"
,
...
...
examples/webgl_buffergeometry_compression.html
0 → 100644
浏览文件 @
d3bb3179
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
three.js webgl - materials - standard
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"
>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"main.css"
>
</head>
<body>
<div
id=
"info"
>
<a
href=
"http://threejs.org"
target=
"_blank"
rel=
"noopener"
>
three.js
</a>
- Geometry Compression Example
<br
/>
Octahedron and Quantization encoding methods from
<a>
Tarek Sherif @tsherif
</a>
</div>
<script
type=
"module"
>
import
*
as
THREE
from
'
../build/three.module.js
'
;
import
Stats
from
'
./jsm/libs/stats.module.js
'
;
import
{
OrbitControls
}
from
'
./jsm/controls/OrbitControls.js
'
;
import
{
GeometryCompressionUtils
}
from
'
./jsm/utils/GeometryCompressionUtils.js
'
;
import
{
GUI
}
from
'
./jsm/libs/dat.gui.module.js
'
;
var
statsEnabled
=
true
;
var
container
,
stats
,
gui
;
var
camera
,
scene
,
renderer
,
controls
;
var
lights
=
[];
// options
var
data
=
{
"
wireframe
"
:
false
,
"
texture
"
:
false
,
"
detail
"
:
4
,
"
rotationSpeed
"
:
0.1
,
"
quantizeEncodePos
"
:
false
,
"
defaultEncodeNormal
"
:
false
,
"
anglesEncodeNormal
"
:
false
,
"
oct1bytesEncode
"
:
false
,
"
oct2bytesEncode
"
:
false
,
"
defaultEncodeUV
"
:
false
,
"
totalGPUMemory
"
:
"
0 bytes
"
};
var
memoryDisplay
;
// geometry params
var
radius
=
100
;
// materials
var
lineMaterial
=
new
THREE
.
LineBasicMaterial
(
{
color
:
0xaaaaaa
,
transparent
:
true
,
opacity
:
0.8
}
);
var
meshMaterial
=
new
THREE
.
MeshPhongMaterial
(
{
color
:
0xffffff
,
emissive
:
0x111111
}
);
// texture
var
texture
=
new
THREE
.
TextureLoader
().
load
(
'
textures/uv_grid_opengl.jpg
'
);
texture
.
wrapS
=
THREE
.
RepeatWrapping
;
texture
.
wrapT
=
THREE
.
RepeatWrapping
;
//
init
();
animate
();
function
init
()
{
//
container
=
document
.
createElement
(
'
div
'
);
document
.
body
.
appendChild
(
container
);
renderer
=
new
THREE
.
WebGLRenderer
(
{
antialias
:
true
}
);
renderer
.
setPixelRatio
(
window
.
devicePixelRatio
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
//
scene
=
new
THREE
.
Scene
();
camera
=
new
THREE
.
PerspectiveCamera
(
50
,
window
.
innerWidth
/
window
.
innerHeight
,
0.01
,
10000000
);
camera
.
position
.
x
=
2
*
radius
;
camera
.
position
.
y
=
2
*
radius
;
camera
.
position
.
z
=
2
*
radius
;
controls
=
new
OrbitControls
(
camera
,
renderer
.
domElement
);
//
lights
[
0
]
=
new
THREE
.
PointLight
(
0xffffff
,
1
,
0
);
lights
[
1
]
=
new
THREE
.
PointLight
(
0xffffff
,
1
,
0
);
lights
[
2
]
=
new
THREE
.
PointLight
(
0xffffff
,
1
,
0
);
lights
[
0
].
position
.
set
(
0
,
2
*
radius
,
0
);
lights
[
1
].
position
.
set
(
2
*
radius
,
-
2
*
radius
,
2
*
radius
);
lights
[
2
].
position
.
set
(
-
2
*
radius
,
-
2
*
radius
,
-
2
*
radius
);
scene
.
add
(
lights
[
0
]
);
scene
.
add
(
lights
[
1
]
);
scene
.
add
(
lights
[
2
]
);
//
scene
.
add
(
new
THREE
.
AxesHelper
(
radius
*
5
)
);
//
var
ballGeom
=
newGeometry
();
var
ballMesh
=
new
THREE
.
Mesh
(
ballGeom
,
meshMaterial
);
var
ballLineSegments
=
new
THREE
.
LineSegments
(
new
THREE
.
WireframeGeometry
(
ballGeom
),
lineMaterial
);
ballLineSegments
.
visible
=
data
.
wireframe
;
scene
.
add
(
ballMesh
);
scene
.
add
(
ballLineSegments
);
//
gui
=
new
GUI
();
gui
.
width
=
350
;
function
newGeometry
()
{
var
geom
=
new
THREE
.
IcosahedronBufferGeometry
(
radius
,
data
.
detail
);
// var geom = new THREE.CylinderBufferGeometry( 5, 5, 20, 32 );
// var geom = new THREE.OctahedronBufferGeometry( radius, data.detail );
// var geom = new THREE.BoxBufferGeometry(radius, radius, radius, data.detail, data.detail, data.detail);
return
geom
;
}
function
generateGeometry
()
{
updateGroupGeometry
(
ballMesh
,
ballLineSegments
,
newGeometry
(),
data
);
}
// updateLineSegments
function
updateLineSegments
()
{
ballLineSegments
.
visible
=
data
.
wireframe
;
}
var
folder
=
gui
.
addFolder
(
'
Scene
'
);
folder
.
open
();
folder
.
add
(
data
,
'
wireframe
'
,
false
).
onChange
(
updateLineSegments
);
folder
.
add
(
data
,
'
texture
'
,
false
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
detail
'
,
0
,
6
,
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
rotationSpeed
'
,
0
,
0.5
,
0.1
);
folder
=
gui
.
addFolder
(
'
Position Compression
'
);
folder
.
open
();
folder
.
add
(
data
,
'
quantizeEncodePos
'
,
false
).
onChange
(
generateGeometry
);
folder
=
gui
.
addFolder
(
'
Normal Compression
'
);
folder
.
open
();
folder
.
add
(
data
,
'
defaultEncodeNormal
'
,
false
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
anglesEncodeNormal
'
,
false
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
oct1bytesEncode
'
,
false
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
oct2bytesEncode
'
,
false
).
onChange
(
generateGeometry
);
folder
=
gui
.
addFolder
(
'
UV Compression
'
);
folder
.
open
();
folder
.
add
(
data
,
'
defaultEncodeUV
'
,
false
).
onChange
(
generateGeometry
);
folder
=
gui
.
addFolder
(
'
Memory Info
'
);
folder
.
open
();
memoryDisplay
=
folder
.
add
(
data
,
'
totalGPUMemory
'
,
"
0 bytes
"
);
computeGPUMemory
(
ballMesh
);
//
if
(
statsEnabled
)
{
stats
=
new
Stats
();
container
.
appendChild
(
stats
.
dom
);
}
window
.
addEventListener
(
'
resize
'
,
onWindowResize
,
false
);
}
//
function
onWindowResize
()
{
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
camera
.
aspect
=
window
.
innerWidth
/
window
.
innerHeight
;
camera
.
updateProjectionMatrix
();
}
//
function
updateLightsPossition
()
{
lights
.
forEach
(
light
=>
{
var
direction
=
light
.
position
.
clone
();
direction
.
applyAxisAngle
(
new
THREE
.
Vector3
(
1
,
1
,
0
),
data
.
rotationSpeed
/
180
*
Math
.
PI
);
light
.
position
.
add
(
direction
.
sub
(
light
.
position
)
);
}
);
}
//
function
animate
()
{
requestAnimationFrame
(
animate
);
controls
.
update
();
updateLightsPossition
();
renderer
.
render
(
scene
,
camera
);
if
(
statsEnabled
)
stats
.
update
();
}
//
function
updateGroupGeometry
(
mesh
,
lineSegments
,
geometry
,
data
)
{
if
(
geometry
.
isGeometry
)
{
geometry
=
new
THREE
.
BufferGeometry
().
fromGeometry
(
geometry
);
console
.
warn
(
'
THREE.GeometryBrowser: Converted Geometry to BufferGeometry.
'
);
}
lineSegments
.
geometry
.
dispose
();
mesh
.
geometry
.
dispose
();
lineSegments
.
geometry
=
new
THREE
.
WireframeGeometry
(
geometry
);
mesh
.
geometry
=
geometry
;
mesh
.
material
=
new
THREE
.
MeshPhongMaterial
(
{
color
:
0xffffff
,
emissive
:
0x111111
}
);
mesh
.
material
.
map
=
data
.
texture
?
texture
:
null
;
var
normalEncode
=
""
;
if
(
data
.
oct1bytesEncode
)
{
/**
* It is not recommended to use 1-byte octahedron normals encoding unless you want to extremely reduce the memory usage
* As it makes vertex data not aligned to a 4 byte boundary which may harm some WebGL implementations and sometimes the normal distortion is visible
* Please refer to @zeux 's comments in https://github.com/mrdoob/three.js/pull/18208
*/
normalEncode
=
"
OCT1Byte
"
;
}
else
if
(
data
.
oct2bytesEncode
)
{
normalEncode
=
"
OCT2Byte
"
;
}
else
if
(
data
.
anglesEncodeNormal
)
{
normalEncode
=
"
ANGLES
"
;
}
else
if
(
data
.
defaultEncodeNormal
)
{
normalEncode
=
"
DEFAULT
"
;
}
if
(
normalEncode
!=
""
)
{
GeometryCompressionUtils
.
compressNormals
(
mesh
,
normalEncode
);
}
if
(
data
.
quantizeEncodePos
)
{
GeometryCompressionUtils
.
compressPositions
(
mesh
);
}
if
(
data
.
defaultEncodeUV
)
{
GeometryCompressionUtils
.
compressUvs
(
mesh
);
}
computeGPUMemory
(
mesh
);
}
function
computeGPUMemory
(
mesh
)
{
let
posBytes
=
mesh
.
geometry
.
attributes
.
position
.
bytes
||
mesh
.
geometry
.
attributes
.
position
.
array
.
length
*
4
;
let
normBytes
=
mesh
.
geometry
.
attributes
.
normal
.
bytes
||
mesh
.
geometry
.
attributes
.
normal
.
array
.
length
*
4
;
let
uvBytes
=
mesh
.
geometry
.
attributes
.
uv
.
bytes
||
mesh
.
geometry
.
attributes
.
uv
.
array
.
length
*
4
;
memoryDisplay
.
setValue
(
posBytes
+
normBytes
+
uvBytes
+
"
bytes
"
);
}
</script>
</body>
</html>
examples/webgl_geometry_compression.html
已删除
100644 → 0
浏览文件 @
896b87b6
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
three.js webgl - materials - standard
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"
>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"main.css"
>
</head>
<body>
<div
id=
"info"
>
<a
href=
"http://threejs.org"
target=
"_blank"
rel=
"noopener"
>
three.js
</a>
- Geometry Compression Example
<br
/>
Octahedron and Quantization encoding methods from
<a>
Tarek Sherif @tsherif
</a>
</div>
<script
type=
"module"
>
import
*
as
THREE
from
'
../build/three.module.js
'
;
import
Stats
from
'
./jsm/libs/stats.module.js
'
;
import
{
OrbitControls
}
from
'
./jsm/controls/OrbitControls.js
'
;
import
{
GeometryCompressionUtils
,
PackedPhongMaterial
}
from
'
./jsm/utils/GeometryCompressionUtils.js
'
;
import
{
GUI
}
from
'
./jsm/libs/dat.gui.module.js
'
;
var
statsEnabled
=
true
;
var
container
,
stats
,
gui
;
var
camera
,
scene
,
renderer
,
controls
;
var
lights
=
[];
// options
var
data
=
{
"
wireframe
"
:
false
,
"
texture
"
:
false
,
"
detail
"
:
4
,
"
rotationSpeed
"
:
0.1
,
"
quantizeEncodePos
"
:
false
,
"
defaultEncodeNormal
"
:
false
,
"
anglesEncodeNormal
"
:
false
,
"
oct1bytesEncode
"
:
false
,
"
oct2bytesEncode
"
:
false
,
"
defaultEncodeUV
"
:
false
,
"
totalGPUMemory
"
:
"
0 bytes
"
};
var
memoryDisplay
;
// geometry params
var
radius
=
100
;
// materials
var
lineMaterial
=
new
THREE
.
LineBasicMaterial
({
color
:
0xaaaaaa
,
transparent
:
true
,
opacity
:
0.8
});
var
meshMaterial
=
new
THREE
.
MeshPhongMaterial
({
color
:
0xffffff
,
emissive
:
0x111111
});
// texture
var
texture
=
new
THREE
.
TextureLoader
().
load
(
"
textures/uv_grid_opengl.jpg
"
);
texture
.
wrapS
=
THREE
.
RepeatWrapping
;
texture
.
wrapT
=
THREE
.
RepeatWrapping
;
//
init
();
animate
();
function
init
()
{
//
container
=
document
.
createElement
(
'
div
'
);
document
.
body
.
appendChild
(
container
);
renderer
=
new
THREE
.
WebGLRenderer
({
antialias
:
true
});
renderer
.
setPixelRatio
(
window
.
devicePixelRatio
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
//
scene
=
new
THREE
.
Scene
();
camera
=
new
THREE
.
PerspectiveCamera
(
50
,
window
.
innerWidth
/
window
.
innerHeight
,
0.01
,
10000000
);
camera
.
position
.
x
=
2
*
radius
;
camera
.
position
.
y
=
2
*
radius
;
camera
.
position
.
z
=
2
*
radius
;
controls
=
new
OrbitControls
(
camera
,
renderer
.
domElement
);
//
lights
[
0
]
=
new
THREE
.
PointLight
(
0xffffff
,
1
,
0
);
lights
[
1
]
=
new
THREE
.
PointLight
(
0xffffff
,
1
,
0
);
lights
[
2
]
=
new
THREE
.
PointLight
(
0xffffff
,
1
,
0
);
lights
[
0
].
position
.
set
(
0
,
2
*
radius
,
0
);
lights
[
1
].
position
.
set
(
2
*
radius
,
-
2
*
radius
,
2
*
radius
);
lights
[
2
].
position
.
set
(
-
2
*
radius
,
-
2
*
radius
,
-
2
*
radius
);
scene
.
add
(
lights
[
0
]);
scene
.
add
(
lights
[
1
]);
scene
.
add
(
lights
[
2
]);
//
scene
.
add
(
new
THREE
.
AxesHelper
(
radius
*
5
));
//
var
ballGeom
=
newGeometry
();
var
ballMesh
=
new
THREE
.
Mesh
(
ballGeom
,
meshMaterial
);
var
ballLineSegments
=
new
THREE
.
LineSegments
(
new
THREE
.
WireframeGeometry
(
ballGeom
),
lineMaterial
);
ballLineSegments
.
visible
=
data
.
wireframe
;
scene
.
add
(
ballMesh
);
scene
.
add
(
ballLineSegments
);
//
gui
=
new
GUI
();
gui
.
width
=
350
;
// generateGeometry
function
newGeometry
()
{
var
geom
=
new
THREE
.
IcosahedronBufferGeometry
(
radius
,
data
.
detail
);
// var geom = new THREE.CylinderBufferGeometry( 5, 5, 20, 32 );
// var geom = new THREE.OctahedronBufferGeometry( radius, data.detail );
// var geom = new THREE.BoxBufferGeometry(radius, radius, radius, data.detail, data.detail, data.detail);
return
geom
;
}
function
generateGeometry
()
{
updateGroupGeometry
(
ballMesh
,
ballLineSegments
,
newGeometry
(),
data
);
}
// updateLineSegments
function
updateLineSegments
()
{
ballLineSegments
.
visible
=
data
.
wireframe
;
}
var
folder
=
gui
.
addFolder
(
'
Scene
'
);
folder
.
open
();
folder
.
add
(
data
,
'
wireframe
'
,
false
).
onChange
(
updateLineSegments
);
folder
.
add
(
data
,
'
texture
'
,
false
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
detail
'
,
0
,
6
,
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
rotationSpeed
'
,
0
,
0.5
,
0.1
);
folder
=
gui
.
addFolder
(
'
Position Compression
'
);
folder
.
open
();
folder
.
add
(
data
,
'
quantizeEncodePos
'
,
false
).
onChange
(
generateGeometry
);
folder
=
gui
.
addFolder
(
'
Normal Compression
'
);
folder
.
open
();
folder
.
add
(
data
,
'
defaultEncodeNormal
'
,
false
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
anglesEncodeNormal
'
,
false
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
oct1bytesEncode
'
,
false
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
oct2bytesEncode
'
,
false
).
onChange
(
generateGeometry
);
folder
=
gui
.
addFolder
(
'
UV Compression
'
);
folder
.
open
();
folder
.
add
(
data
,
'
defaultEncodeUV
'
,
false
).
onChange
(
generateGeometry
);
folder
=
gui
.
addFolder
(
'
Memory Info
'
);
folder
.
open
();
memoryDisplay
=
folder
.
add
(
data
,
'
totalGPUMemory
'
,
"
0 bytes
"
);
computeGPUMemory
(
ballMesh
);
//
if
(
statsEnabled
)
{
stats
=
new
Stats
();
container
.
appendChild
(
stats
.
dom
);
}
window
.
addEventListener
(
'
resize
'
,
onWindowResize
,
false
);
}
//
function
onWindowResize
()
{
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
camera
.
aspect
=
window
.
innerWidth
/
window
.
innerHeight
;
camera
.
updateProjectionMatrix
();
}
//
function
updateLightsPossition
()
{
lights
.
forEach
(
light
=>
{
var
direction
=
light
.
position
.
clone
();
direction
.
applyAxisAngle
(
new
THREE
.
Vector3
(
1
,
1
,
0
),
data
.
rotationSpeed
/
180
*
Math
.
PI
);
light
.
position
.
add
(
direction
.
sub
(
light
.
position
));
});
}
//
function
animate
()
{
requestAnimationFrame
(
animate
);
controls
.
update
();
updateLightsPossition
();
renderer
.
render
(
scene
,
camera
);
if
(
statsEnabled
)
stats
.
update
();
}
//
function
updateGroupGeometry
(
mesh
,
lineSegments
,
geometry
,
data
)
{
if
(
geometry
.
isGeometry
)
{
geometry
=
new
THREE
.
BufferGeometry
().
fromGeometry
(
geometry
);
console
.
warn
(
'
THREE.GeometryBrowser: Converted Geometry to BufferGeometry.
'
);
}
lineSegments
.
geometry
.
dispose
();
mesh
.
geometry
.
dispose
();
lineSegments
.
geometry
=
new
THREE
.
WireframeGeometry
(
geometry
);
mesh
.
geometry
=
geometry
;
mesh
.
material
=
new
THREE
.
MeshPhongMaterial
({
color
:
0xffffff
,
emissive
:
0x111111
});
mesh
.
material
.
map
=
data
.
texture
?
texture
:
null
;
var
normalEncode
=
""
;
if
(
data
.
oct1bytesEncode
)
{
/**
* It is not recommended to use 1-byte octahedron normals encoding unless you want to extremely reduce the memory usage
* As it makes vertex data not aligned to a 4 byte boundary which may harm some WebGL implementations and sometimes the normal distortion is visible
* Please refer to @zeux 's comments in https://github.com/mrdoob/three.js/pull/18208
*/
normalEncode
=
"
OCT1Byte
"
;
}
else
if
(
data
.
oct2bytesEncode
)
{
normalEncode
=
"
OCT2Byte
"
;
}
else
if
(
data
.
anglesEncodeNormal
)
{
normalEncode
=
"
ANGLES
"
;
}
else
if
(
data
.
defaultEncodeNormal
)
{
normalEncode
=
"
DEFAULT
"
;
}
if
(
normalEncode
!=
""
)
{
GeometryCompressionUtils
.
compressNormals
(
mesh
,
normalEncode
);
}
if
(
data
.
quantizeEncodePos
)
{
GeometryCompressionUtils
.
compressPositions
(
mesh
);
}
if
(
data
.
defaultEncodeUV
)
{
GeometryCompressionUtils
.
compressUvs
(
mesh
);
}
computeGPUMemory
(
mesh
);
}
function
computeGPUMemory
(
mesh
)
{
let
posBytes
=
mesh
.
geometry
.
attributes
.
position
.
bytes
||
mesh
.
geometry
.
attributes
.
position
.
array
.
length
*
4
;
let
normBytes
=
mesh
.
geometry
.
attributes
.
normal
.
bytes
||
mesh
.
geometry
.
attributes
.
normal
.
array
.
length
*
4
;
let
uvBytes
=
mesh
.
geometry
.
attributes
.
uv
.
bytes
||
mesh
.
geometry
.
attributes
.
uv
.
array
.
length
*
4
;
memoryDisplay
.
setValue
(
posBytes
+
normBytes
+
uvBytes
+
"
bytes
"
);
}
</script>
</body>
</html>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录