Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
9dcaea32
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,发现更多精彩内容 >>
提交
9dcaea32
编写于
2月 18, 2014
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated all canvasrenderer examples.
上级
32ecf787
变更
21
隐藏空白更改
内联
并排
Showing
21 changed file
with
22 addition
and
13 deletion
+22
-13
examples/canvas_camera_orthographic.html
examples/canvas_camera_orthographic.html
+1
-0
examples/canvas_camera_orthographic2.html
examples/canvas_camera_orthographic2.html
+1
-0
examples/canvas_geometry2_sandbox.html
examples/canvas_geometry2_sandbox.html
+1
-0
examples/canvas_geometry_birds.html
examples/canvas_geometry_birds.html
+1
-1
examples/canvas_geometry_cube.html
examples/canvas_geometry_cube.html
+1
-0
examples/canvas_geometry_earth.html
examples/canvas_geometry_earth.html
+1
-0
examples/canvas_geometry_hierarchy.html
examples/canvas_geometry_hierarchy.html
+1
-1
examples/canvas_geometry_nurbs.html
examples/canvas_geometry_nurbs.html
+1
-0
examples/canvas_geometry_shapes.html
examples/canvas_geometry_shapes.html
+2
-2
examples/canvas_geometry_terrain.html
examples/canvas_geometry_terrain.html
+1
-0
examples/canvas_geometry_text.html
examples/canvas_geometry_text.html
+1
-0
examples/canvas_interactive_cubes.html
examples/canvas_interactive_cubes.html
+1
-0
examples/canvas_interactive_cubes_tween.html
examples/canvas_interactive_cubes_tween.html
+1
-0
examples/canvas_interactive_lines.html
examples/canvas_interactive_lines.html
+1
-1
examples/canvas_interactive_particles.html
examples/canvas_interactive_particles.html
+1
-1
examples/canvas_interactive_voxelpainter.html
examples/canvas_interactive_voxelpainter.html
+1
-1
examples/canvas_materials_video.html
examples/canvas_materials_video.html
+1
-1
examples/canvas_morphtargets_horse.html
examples/canvas_morphtargets_horse.html
+0
-1
examples/canvas_particles_shapes.html
examples/canvas_particles_shapes.html
+2
-3
examples/canvas_performance.html
examples/canvas_performance.html
+1
-0
examples/canvas_sandbox.html
examples/canvas_sandbox.html
+1
-1
未找到文件。
examples/canvas_camera_orthographic.html
浏览文件 @
9dcaea32
...
...
@@ -108,6 +108,7 @@
scene
.
add
(
directionalLight
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_camera_orthographic2.html
浏览文件 @
9dcaea32
...
...
@@ -175,6 +175,7 @@
scene
.
add
(
directionalLight
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_geometry2_sandbox.html
浏览文件 @
9dcaea32
...
...
@@ -93,6 +93,7 @@
scene
.
add
(
plane
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_geometry_birds.html
浏览文件 @
9dcaea32
...
...
@@ -366,7 +366,7 @@
}
renderer
=
new
THREE
.
CanvasRenderer
();
// renderer.autoClear = false
;
renderer
.
setClearColor
(
0xffffff
)
;
renderer
.
setSize
(
SCREEN_WIDTH
,
SCREEN_HEIGHT
);
document
.
addEventListener
(
'
mousemove
'
,
onDocumentMouseMove
,
false
);
...
...
examples/canvas_geometry_cube.html
浏览文件 @
9dcaea32
...
...
@@ -87,6 +87,7 @@
scene
.
add
(
plane
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_geometry_earth.html
浏览文件 @
9dcaea32
...
...
@@ -108,6 +108,7 @@
group
.
add
(
mesh
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xffffff
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_geometry_hierarchy.html
浏览文件 @
9dcaea32
...
...
@@ -70,8 +70,8 @@
scene
.
add
(
group
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xffffff
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
renderer
.
sortObjects
=
false
;
container
.
appendChild
(
renderer
.
domElement
);
stats
=
new
Stats
();
...
...
examples/canvas_geometry_nurbs.html
浏览文件 @
9dcaea32
...
...
@@ -121,6 +121,7 @@
//
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_geometry_shapes.html
浏览文件 @
9dcaea32
...
...
@@ -286,9 +286,9 @@
//
renderer
=
new
THREE
.
CanvasRenderer
(
{
antialias
:
true
}
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
renderer
.
sortObjects
=
false
;
renderer
.
sortElements
=
false
;
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_geometry_terrain.html
浏览文件 @
9dcaea32
...
...
@@ -88,6 +88,7 @@
scene
.
add
(
mesh
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xbfd1e5
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
innerHTML
=
""
;
...
...
examples/canvas_geometry_text.html
浏览文件 @
9dcaea32
...
...
@@ -103,6 +103,7 @@
scene
.
add
(
group
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_interactive_cubes.html
浏览文件 @
9dcaea32
...
...
@@ -88,6 +88,7 @@
projector
=
new
THREE
.
Projector
();
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_interactive_cubes_tween.html
浏览文件 @
9dcaea32
...
...
@@ -68,6 +68,7 @@
projector
=
new
THREE
.
Projector
();
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_interactive_lines.html
浏览文件 @
9dcaea32
...
...
@@ -127,7 +127,7 @@
raycaster
.
linePrecision
=
3
;
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
s
ortObjects
=
false
;
renderer
.
s
etClearColor
(
0xf0f0f0
)
;
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_interactive_particles.html
浏览文件 @
9dcaea32
...
...
@@ -80,8 +80,8 @@
projector
=
new
THREE
.
Projector
();
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
stats
=
new
Stats
();
...
...
examples/canvas_interactive_voxelpainter.html
浏览文件 @
9dcaea32
...
...
@@ -113,8 +113,8 @@
scene
.
add
(
directionalLight
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
stats
=
new
Stats
();
...
...
examples/canvas_materials_video.html
浏览文件 @
9dcaea32
...
...
@@ -151,8 +151,8 @@
}
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
stats
=
new
Stats
();
...
...
examples/canvas_morphtargets_horse.html
浏览文件 @
9dcaea32
...
...
@@ -76,7 +76,6 @@
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
//
...
...
examples/canvas_particles_shapes.html
浏览文件 @
9dcaea32
...
...
@@ -156,8 +156,7 @@
var
setTargetParticle
=
function
()
{
var
material
=
new
THREE
.
SpriteCanvasMaterial
(
{
program
:
hearts
,
blending
:
THREE
.
AdditiveBlending
program
:
hearts
}
);
material
.
color
.
setHSL
(
hue
,
1
,
0.75
);
...
...
@@ -212,8 +211,8 @@
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
stats
=
new
Stats
();
...
...
examples/canvas_performance.html
浏览文件 @
9dcaea32
...
...
@@ -93,6 +93,7 @@
scene
.
add
(
light
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
...
...
examples/canvas_sandbox.html
浏览文件 @
9dcaea32
...
...
@@ -130,8 +130,8 @@
scene
.
add
(
pointLight
);
renderer
=
new
THREE
.
CanvasRenderer
();
renderer
.
setClearColor
(
0xf0f0f0
);
renderer
.
setSize
(
window
.
innerWidth
,
window
.
innerHeight
);
container
.
appendChild
(
renderer
.
domElement
);
var
debugCanvas
=
document
.
createElement
(
'
canvas
'
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录