Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
1d2cd5aa
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,发现更多精彩内容 >>
提交
1d2cd5aa
编写于
1月 13, 2017
作者:
M
Mugen87
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
GridHelper: Adjust examples
上级
7cf8b236
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
15 addition
and
15 deletion
+15
-15
examples/misc_animation_authoring.html
examples/misc_animation_authoring.html
+1
-1
examples/misc_controls_transform.html
examples/misc_controls_transform.html
+1
-1
examples/misc_sound.html
examples/misc_sound.html
+1
-1
examples/webgl_geometry_extrude_shapes2.html
examples/webgl_geometry_extrude_shapes2.html
+3
-3
examples/webgl_geometry_spline_editor.html
examples/webgl_geometry_spline_editor.html
+1
-1
examples/webgl_helpers.html
examples/webgl_helpers.html
+1
-1
examples/webgl_loader_amf.html
examples/webgl_loader_amf.html
+1
-1
examples/webgl_loader_bvh.html
examples/webgl_loader_bvh.html
+1
-1
examples/webgl_loader_fbx.html
examples/webgl_loader_fbx.html
+1
-1
examples/webgl_loader_msgpack.html
examples/webgl_loader_msgpack.html
+1
-1
examples/webgl_shaders_sky.html
examples/webgl_shaders_sky.html
+1
-1
examples/webvr_vive_paint.html
examples/webvr_vive_paint.html
+1
-1
examples/webvr_vive_sculpt.html
examples/webvr_vive_sculpt.html
+1
-1
未找到文件。
examples/misc_animation_authoring.html
浏览文件 @
1d2cd5aa
...
...
@@ -57,7 +57,7 @@
camera
.
lookAt
(
new
THREE
.
Vector3
(
0
,
200
,
0
)
);
scene
=
new
THREE
.
Scene
();
scene
.
add
(
new
THREE
.
GridHelper
(
5
00
,
10
)
);
scene
.
add
(
new
THREE
.
GridHelper
(
10
00
,
10
)
);
var
light
=
new
THREE
.
DirectionalLight
(
0xffffff
,
2
);
light
.
position
.
set
(
1
,
1
,
1
);
...
...
examples/misc_controls_transform.html
浏览文件 @
1d2cd5aa
...
...
@@ -55,7 +55,7 @@
camera
.
lookAt
(
new
THREE
.
Vector3
(
0
,
200
,
0
)
);
scene
=
new
THREE
.
Scene
();
scene
.
add
(
new
THREE
.
GridHelper
(
5
00
,
10
)
);
scene
.
add
(
new
THREE
.
GridHelper
(
10
00
,
10
)
);
var
light
=
new
THREE
.
DirectionalLight
(
0xffffff
,
2
);
light
.
position
.
set
(
1
,
1
,
1
);
...
...
examples/misc_sound.html
浏览文件 @
1d2cd5aa
...
...
@@ -156,7 +156,7 @@
// ground
var
helper
=
new
THREE
.
GridHelper
(
5
00
,
10
,
0x444444
,
0x444444
);
var
helper
=
new
THREE
.
GridHelper
(
10
00
,
10
,
0x444444
,
0x444444
);
helper
.
position
.
y
=
0.1
;
scene
.
add
(
helper
);
...
...
examples/webgl_geometry_extrude_shapes2.html
浏览文件 @
1d2cd5aa
...
...
@@ -289,7 +289,7 @@ var addGeoObject = function( group, svgObject ) {
len
=
thePaths
.
length
;
for
(
i
=
0
;
i
<
len
;
++
i
)
{
path
=
$d3g
.
transformSVGPath
(
thePaths
[
i
]
);
color
=
new
THREE
.
Color
(
theColors
[
i
]
);
color
=
new
THREE
.
Color
(
theColors
[
i
]
);
material
=
new
THREE
.
MeshLambertMaterial
({
color
:
color
,
emissive
:
color
...
...
@@ -342,7 +342,7 @@ var init3d = function(){
scene
.
add
(
ambientLight
);
/// backgroup grids
var
helper
=
new
THREE
.
GridHelper
(
8
0
,
10
);
var
helper
=
new
THREE
.
GridHelper
(
16
0
,
10
);
helper
.
rotation
.
x
=
Math
.
PI
/
2
;
group
.
add
(
helper
);
...
...
@@ -371,7 +371,7 @@ var initSVGObject = function() {
"
L350.9772,115.1221 L354.5759,112.5371 L354.5667,110.6949 L357.4098,105.7489 L362.3963,101.8443
"
+
"
L364.4415,101.0819 L364.5314,101.0828 L364.6209,101.1230 L364.7698,101.2029 L368.1221,101.5115
"
+
"
L371.7216,104.1338 L372.2958,106.7261 L375.5949,109.6971 L377.0415,108.8875 L377.0737,108.6526
"
+
"
L377.4037,108.6165 L376.8840,109.7091 L376.7323,109.9037 L377.9416,112.0705 L371.7970,114.8736
"
+
"
L377.4037,108.6165 L376.8840,109.7091 L376.7323,109.9037 L377.9416,112.0705 L371.7970,114.8736
"
+
"
L374.0935,119.4031 L380.7848,122.7963 L382.6529,121.9897 L381.5792,117.8256 L385.0339,117.3069
"
+
"
L385.4082,115.6247 L388.7014,116.3969 L389.8697,116.6024 L390.0206,116.4860 L391.0396,116.6118
"
+
"
L394.6665,116.9929 L394.4694,119.2255 L394.3172,119.4987 L395.3792,121.8977 L395.2728,124.0526
"
+
...
...
examples/webgl_geometry_spline_editor.html
浏览文件 @
1d2cd5aa
...
...
@@ -89,7 +89,7 @@
plane
.
receiveShadow
=
true
;
scene
.
add
(
plane
);
var
helper
=
new
THREE
.
GridHelper
(
1
000
,
100
);
var
helper
=
new
THREE
.
GridHelper
(
2
000
,
100
);
helper
.
position
.
y
=
-
199
;
helper
.
material
.
opacity
=
0.25
;
helper
.
material
.
transparent
=
true
;
...
...
examples/webgl_helpers.html
浏览文件 @
1d2cd5aa
...
...
@@ -45,7 +45,7 @@
scene
.
add
(
new
THREE
.
PointLightHelper
(
light
,
5
)
);
var
gridHelper
=
new
THREE
.
GridHelper
(
2
00
,
40
,
0x0000ff
,
0x808080
);
var
gridHelper
=
new
THREE
.
GridHelper
(
4
00
,
40
,
0x0000ff
,
0x808080
);
gridHelper
.
position
.
y
=
-
150
;
gridHelper
.
position
.
x
=
-
150
;
scene
.
add
(
gridHelper
);
...
...
examples/webgl_loader_amf.html
浏览文件 @
1d2cd5aa
...
...
@@ -74,7 +74,7 @@
scene
.
add
(
camera
);
var
grid
=
new
THREE
.
GridHelper
(
25
,
50
,
0xffffff
,
0x555555
);
var
grid
=
new
THREE
.
GridHelper
(
50
,
50
,
0xffffff
,
0x555555
);
grid
.
rotateOnAxis
(
new
THREE
.
Vector3
(
1
,
0
,
0
),
90
*
(
Math
.
PI
/
180
)
);
scene
.
add
(
grid
);
...
...
examples/webgl_loader_bvh.html
浏览文件 @
1d2cd5aa
...
...
@@ -71,7 +71,7 @@
scene
=
new
THREE
.
Scene
();
scene
.
add
(
new
THREE
.
GridHelper
(
2
00
,
10
)
);
scene
.
add
(
new
THREE
.
GridHelper
(
4
00
,
10
)
);
// renderer
renderer
=
new
THREE
.
WebGLRenderer
(
{
antialias
:
true
}
);
...
...
examples/webgl_loader_fbx.html
浏览文件 @
1d2cd5aa
...
...
@@ -64,7 +64,7 @@
scene
=
new
THREE
.
Scene
();
// grid
var
gridHelper
=
new
THREE
.
GridHelper
(
14
,
28
,
0x303030
,
0x303030
);
var
gridHelper
=
new
THREE
.
GridHelper
(
28
,
28
,
0x303030
,
0x303030
);
gridHelper
.
position
.
set
(
0
,
-
0.04
,
0
);
scene
.
add
(
gridHelper
);
...
...
examples/webgl_loader_msgpack.html
浏览文件 @
1d2cd5aa
...
...
@@ -86,7 +86,7 @@ https://github.com/creationix/msgpack-js-browser
function
setupScene
(
result
)
{
scene
=
result
;
scene
.
add
(
new
THREE
.
GridHelper
(
1
0
,
8
)
);
scene
.
add
(
new
THREE
.
GridHelper
(
2
0
,
8
)
);
threePointLight
();
...
...
examples/webgl_shaders_sky.html
浏览文件 @
1d2cd5aa
...
...
@@ -141,7 +141,7 @@
scene
=
new
THREE
.
Scene
();
var
helper
=
new
THREE
.
GridHelper
(
5
000
,
2
,
0xffffff
,
0xffffff
);
var
helper
=
new
THREE
.
GridHelper
(
10
000
,
2
,
0xffffff
,
0xffffff
);
scene
.
add
(
helper
);
renderer
=
new
THREE
.
WebGLRenderer
();
...
...
examples/webvr_vive_paint.html
浏览文件 @
1d2cd5aa
...
...
@@ -114,7 +114,7 @@
floor
.
receiveShadow
=
true
;
scene
.
add
(
floor
);
scene
.
add
(
new
THREE
.
GridHelper
(
1
0
,
40
,
0x111111
,
0x111111
)
);
scene
.
add
(
new
THREE
.
GridHelper
(
2
0
,
40
,
0x111111
,
0x111111
)
);
scene
.
add
(
new
THREE
.
HemisphereLight
(
0x888877
,
0x777788
)
);
...
...
examples/webvr_vive_sculpt.html
浏览文件 @
1d2cd5aa
...
...
@@ -95,7 +95,7 @@
floor
.
receiveShadow
=
true
;
scene
.
add
(
floor
);
scene
.
add
(
new
THREE
.
GridHelper
(
1
0
,
40
,
0x111111
,
0x111111
)
);
scene
.
add
(
new
THREE
.
GridHelper
(
2
0
,
40
,
0x111111
,
0x111111
)
);
scene
.
add
(
new
THREE
.
HemisphereLight
(
0x888877
,
0x777788
)
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录