Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
f0a65f2a
T
three.js
项目概览
车家大少爷
/
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,发现更多精彩内容 >>
提交
f0a65f2a
编写于
2月 06, 2014
作者:
W
WestLangley
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Miscelaneous examples fixes
上级
40f145ee
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
23 addition
and
21 deletion
+23
-21
examples/obj/male02/male02_dds.mtl
examples/obj/male02/male02_dds.mtl
+15
-15
examples/webgl_loader_ctm_materials.html
examples/webgl_loader_ctm_materials.html
+5
-3
examples/webgl_loader_obj_mtl.html
examples/webgl_loader_obj_mtl.html
+1
-1
examples/webgl_materials_cars_camaro.html
examples/webgl_materials_cars_camaro.html
+1
-1
examples/webgl_performance_doublesided.html
examples/webgl_performance_doublesided.html
+1
-1
未找到文件。
examples/obj/male02/male02_dds.mtl
浏览文件 @
f0a65f2a
# Material Count: 5
newmtl _01_-_Default1noCulli__01_-_Default1noCulli
Ns
154.901961
Ka 0.
000000 0.000000 0.00
0000
Ns
30.0000
Ka 0.
640000 0.640000 0.64
0000
Kd 0.640000 0.640000 0.640000
Ks 0.
165000 0.165000 0.165
000
Ks 0.
050000 0.050000 0.050
000
Ni 1.000000
d 1.000000
illum 2
...
...
@@ -11,10 +11,10 @@ map_Kd 01_-_Default1noCulling.dds
newmtl FrontColorNoCullingID_male-02-1noCulling.JP
Ns
154.901961
Ka 0.
000000 0.000000 0.0
00000
Ns
30.0000
Ka 0.
800000 0.800000 0.8
00000
Kd 0.800000 0.800000 0.800000
Ks 0.
165000 0.165000 0.165
000
Ks 0.
050000 0.050000 0.050
000
Ni 1.000000
d 1.000000
illum 2
...
...
@@ -22,10 +22,10 @@ map_Kd male-02-1noCulling.dds
newmtl male-02-1noCullingID_male-02-1noCulling.JP
Ns
154.901961
Ka 0.
000000 0.000000 0.00
0000
Ns
30.0000
Ka 0.
640000 0.640000 0.64
0000
Kd 0.640000 0.640000 0.640000
Ks 0.
165000 0.165000 0.165
000
Ks 0.
050000 0.050000 0.050
000
Ni 1.000000
d 1.000000
illum 2
...
...
@@ -33,10 +33,10 @@ map_Kd male-02-1noCulling.dds
newmtl orig_02_-_Defaul1noCu_orig_02_-_Defaul1noCu
Ns
154.901961
Ka 0.
000000 0.000000 0.00
0000
Ns
30.0000
Ka 0.
640000 0.640000 0.64
0000
Kd 0.640000 0.640000 0.640000
Ks 0.
165000 0.165000 0.165
000
Ks 0.
050000 0.050000 0.050
000
Ni 1.000000
d 1.000000
illum 2
...
...
@@ -44,10 +44,10 @@ map_Kd orig_02_-_Defaul1noCulling.dds
newmtl FrontColorNoCullingID_orig_02_-_Defaul1noCu
Ns
154.901961
Ka 0.
000000 0.000000 0.0
00000
Ns
30.0000
Ka 0.
800000 0.800000 0.8
00000
Kd 0.800000 0.800000 0.800000
Ks 0.
165000 0.165000 0.165
000
Ks 0.
050000 0.050000 0.050
000
Ni 1.000000
d 1.000000
illum 2
...
...
examples/webgl_loader_ctm_materials.html
浏览文件 @
f0a65f2a
...
...
@@ -46,7 +46,7 @@
<script
src=
"../build/three.min.js"
></script>
<script
src=
"js/controls/
Trackball
Controls.js"
></script>
<script
src=
"js/controls/
Orbit
Controls.js"
></script>
<script
src=
"js/loaders/ctm/lzma.js"
></script>
<script
src=
"js/loaders/ctm/ctm.js"
></script>
...
...
@@ -93,8 +93,10 @@
camera
=
new
THREE
.
PerspectiveCamera
(
25
,
SCREEN_WIDTH
/
SCREEN_HEIGHT
,
1
,
10000
);
camera
.
position
.
set
(
185
,
40
,
170
);
controls
=
new
THREE
.
TrackballControls
(
camera
);
controls
.
dynamicDampingFactor
=
0.25
;
controls
=
new
THREE
.
OrbitControls
(
camera
);
controls
.
maxPolarAngle
=
Math
.
PI
/
2
;
controls
.
minDistance
=
200
;
controls
.
maxDistance
=
500
;
// SCENE
...
...
examples/webgl_loader_obj_mtl.html
浏览文件 @
f0a65f2a
...
...
@@ -66,7 +66,7 @@
scene
=
new
THREE
.
Scene
();
var
ambient
=
new
THREE
.
AmbientLight
(
0x
101030
);
var
ambient
=
new
THREE
.
AmbientLight
(
0x
444444
);
scene
.
add
(
ambient
);
var
directionalLight
=
new
THREE
.
DirectionalLight
(
0xffeedd
);
...
...
examples/webgl_materials_cars_camaro.html
浏览文件 @
f0a65f2a
...
...
@@ -18,7 +18,7 @@
a
{
color
:
skyblue
}
canvas
{
pointer-events
:
none
;
z-index
:
10
;
position
:
relative
;
}
#d
{
text-align
:
center
;
margin
:
1em
0
-
2.5em
0
;
z-index
:
0
;
position
:
relative
;
display
:
block
}
#d
{
text-align
:
center
;
margin
:
1em
0
2.5em
0
;
z-index
:
0
;
position
:
relative
;
display
:
block
}
#buttons
{
margin
:
0.5em
0
0
0
}
button
{
font-family
:
georgia
;
border
:
0
;
background
:
#222
;
color
:
#fff
;
padding
:
0.2em
0.5em
;
cursor
:
pointer
;
border-radius
:
3px
}
button
:hover
{
background
:
#333
}
...
...
examples/webgl_performance_doublesided.html
浏览文件 @
f0a65f2a
...
...
@@ -81,7 +81,7 @@
var
reflectionCube
=
THREE
.
ImageUtils
.
loadTextureCube
(
urls
);
reflectionCube
.
format
=
THREE
.
RGBFormat
;
var
material
=
new
THREE
.
MeshPhongMaterial
(
{
specular
:
0x
ffffff
,
shininess
:
100
,
envMap
:
reflectionCube
,
combine
:
THREE
.
MixOperation
,
reflectivity
:
0.1
,
side
:
THREE
.
DoubleSide
}
);
var
material
=
new
THREE
.
MeshPhongMaterial
(
{
specular
:
0x
101010
,
shininess
:
100
,
envMap
:
reflectionCube
,
combine
:
THREE
.
MixOperation
,
reflectivity
:
0.1
,
side
:
THREE
.
DoubleSide
}
);
material
.
wrapAround
=
true
;
material
.
wrapRGB
.
set
(
0.5
,
0.5
,
0.5
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录