Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
e06e9892
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,发现更多精彩内容 >>
提交
e06e9892
编写于
1月 02, 2020
作者:
M
Mugen87
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Docs: Clean up.
上级
83a04cf6
变更
30
显示空白变更内容
内联
并排
Showing
30 changed file
with
99 addition
and
99 deletion
+99
-99
docs/api/en/helpers/PointLightHelper.html
docs/api/en/helpers/PointLightHelper.html
+3
-1
docs/api/en/lights/PointLight.html
docs/api/en/lights/PointLight.html
+0
-1
docs/api/en/lights/SpotLight.html
docs/api/en/lights/SpotLight.html
+2
-21
docs/api/en/loaders/BufferGeometryLoader.html
docs/api/en/loaders/BufferGeometryLoader.html
+3
-1
docs/api/en/loaders/TextureLoader.html
docs/api/en/loaders/TextureLoader.html
+4
-2
docs/api/en/materials/MeshDistanceMaterial.html
docs/api/en/materials/MeshDistanceMaterial.html
+3
-1
docs/api/en/materials/MeshPhysicalMaterial.html
docs/api/en/materials/MeshPhysicalMaterial.html
+5
-3
docs/api/en/materials/ShadowMaterial.html
docs/api/en/materials/ShadowMaterial.html
+4
-1
docs/api/en/materials/SpriteMaterial.html
docs/api/en/materials/SpriteMaterial.html
+2
-2
docs/api/en/objects/InstancedMesh.html
docs/api/en/objects/InstancedMesh.html
+6
-2
docs/api/en/textures/DepthTexture.html
docs/api/en/textures/DepthTexture.html
+3
-1
docs/api/zh/helpers/PointLightHelper.html
docs/api/zh/helpers/PointLightHelper.html
+3
-1
docs/api/zh/lights/PointLight.html
docs/api/zh/lights/PointLight.html
+4
-5
docs/api/zh/lights/SpotLight.html
docs/api/zh/lights/SpotLight.html
+3
-22
docs/api/zh/loaders/BufferGeometryLoader.html
docs/api/zh/loaders/BufferGeometryLoader.html
+3
-1
docs/api/zh/loaders/TextureLoader.html
docs/api/zh/loaders/TextureLoader.html
+4
-2
docs/api/zh/materials/MeshDistanceMaterial.html
docs/api/zh/materials/MeshDistanceMaterial.html
+3
-1
docs/api/zh/materials/MeshPhysicalMaterial.html
docs/api/zh/materials/MeshPhysicalMaterial.html
+6
-3
docs/api/zh/materials/ShadowMaterial.html
docs/api/zh/materials/ShadowMaterial.html
+4
-1
docs/api/zh/materials/SpriteMaterial.html
docs/api/zh/materials/SpriteMaterial.html
+2
-2
docs/api/zh/objects/InstancedMesh.html
docs/api/zh/objects/InstancedMesh.html
+6
-2
docs/api/zh/textures/DepthTexture.html
docs/api/zh/textures/DepthTexture.html
+3
-2
docs/examples/en/geometries/DecalGeometry.html
docs/examples/en/geometries/DecalGeometry.html
+1
-1
docs/examples/en/math/Lut.html
docs/examples/en/math/Lut.html
+1
-1
docs/examples/en/objects/Lensflare.html
docs/examples/en/objects/Lensflare.html
+4
-5
docs/examples/zh/geometries/DecalGeometry.html
docs/examples/zh/geometries/DecalGeometry.html
+1
-1
docs/examples/zh/math/Lut.html
docs/examples/zh/math/Lut.html
+1
-1
docs/examples/zh/objects/Lensflare.html
docs/examples/zh/objects/Lensflare.html
+4
-5
docs/manual/en/introduction/Creating-text.html
docs/manual/en/introduction/Creating-text.html
+6
-3
docs/manual/zh/introduction/Creating-text.html
docs/manual/zh/introduction/Creating-text.html
+5
-4
未找到文件。
docs/api/en/helpers/PointLightHelper.html
浏览文件 @
e06e9892
...
...
@@ -20,7 +20,9 @@
<h2>
Example
</h2>
<p>
[example:webgl_helpers WebGL / helpers]
</p>
<code>
var pointLight = new THREE.PointLight( 0xff0000, 1, 100 );
...
...
docs/api/en/lights/PointLight.html
浏览文件 @
e06e9892
...
...
@@ -25,7 +25,6 @@
<p>
[example:webgl_lights_pointlights lights / pointlights ]
<br
/>
[example:webgl_lights_pointlights2 lights / pointlights2 ]
<br
/>
[example:webgldeferred_animation animation ]
<br
/>
[example:webgl_effects_anaglyph effects / anaglyph ]
<br
/>
[example:webgl_geometry_text geometry / text ]
<br
/>
[example:webgl_lensflares lensflares ]
...
...
docs/api/en/lights/SpotLight.html
浏览文件 @
e06e9892
...
...
@@ -19,30 +19,11 @@
This light can cast shadows - see the [page:SpotLightShadow] page for details.
</p>
<h2>
Example
</h2>
<iframe
src=
'../examples/webgl_lights_spotlight.html'
></iframe>
<p>
[example:webgl_lights_spotlight View in Examples ]
</p>
<h2>
Other Examples
</h2>
<p>
[example:webgl_interactive_cubes_gpu interactive / cubes / gpu ]
<br
/>
[example:webgl_interactive_draggablecubes interactive / draggablecubes ]
<br
/>
[example:webgl_materials_bumpmap_skin materials / bumpmap / skin ]
<br
/>
[example:webgl_materials_cubemap_dynamic materials / cubemap / dynamic ]
<br
/>
[example:webgl_loader_md2 loader / md2 ]
<br
/>
[example:webgl_shading_physical shading / physical ]
<br
/>
[example:webgl_materials_bumpmap materials / bumpmap]
<br/>
[example:webgl_shading_physical shading / physical]
<br/>
[example:webgl_shadowmap shadowmap]
<br/>
[example:webgl_shadowmap_performance shadowmap / performance]
<br/>
[example:webgl_shadowmap_viewer shadowmap / viewer]
[example:webgl_lights_spotlight lights / spotlight ]
<br
/>
[example:webgl_lights_spotlights lights / spotlights ]
</p>
<h2>
Code Example
</h2>
...
...
docs/api/en/loaders/BufferGeometryLoader.html
浏览文件 @
e06e9892
...
...
@@ -19,7 +19,9 @@
<h2>
Example
</h2>
[example:webgl_geometry_colors_lookuptable WebGL / geometry / colors / lookuptable]
<p>
[example:webgl_performance WebGL / performance]
</p>
<code>
// instantiate a loader
...
...
docs/api/en/loaders/TextureLoader.html
浏览文件 @
e06e9892
...
...
@@ -19,6 +19,10 @@
<h2>
Example
</h2>
<p>
[example:webgl_geometry_cube geometry / cube]
</p>
<code>
var texture = new THREE.TextureLoader().load( 'textures/land_ocean_ice_cloud_2048.jpg' );
...
...
@@ -26,8 +30,6 @@
var material = new THREE.MeshBasicMaterial( { map: texture } );
</code>
[example:webgl_geometry_cube geometry / cube]
<h2>
Example with Callbacks
</h2>
<code>
...
...
docs/api/en/materials/MeshDistanceMaterial.html
浏览文件 @
e06e9892
...
...
@@ -21,7 +21,9 @@
<h2>
Example
</h2>
<p>
[example:webgl_shadowmap_pointlight WebGL / shadowmap / pointlight]
</p>
<script>
...
...
docs/api/en/materials/MeshPhysicalMaterial.html
浏览文件 @
e06e9892
...
...
@@ -37,8 +37,10 @@
</script>
<h2>
Examples
</h2>
<p>
[example:webgl_materials_variations_physical materials / variations / physical]
<br
/>
[example:webgl_materials_reflectivity materials / reflectivity]
</p>
<h2>
Constructor
</h2>
...
...
docs/api/en/materials/ShadowMaterial.html
浏览文件 @
e06e9892
...
...
@@ -17,7 +17,10 @@
</p>
<h3>
Example
</h3>
<p>
[example:webgl_geometry_spline_editor geometry / spline / editor]
</p>
<code>
var planeGeometry = new THREE.PlaneGeometry( 2000, 2000 );
...
...
docs/api/en/materials/SpriteMaterial.html
浏览文件 @
e06e9892
...
...
@@ -15,12 +15,12 @@
<p
class=
"desc"
>
A material for a use with a [page:Sprite].
</p>
<h2>
Examples
</h2>
<
div
>
<
p
>
[example:webgl_sprites WebGL / sprites]
<br
/>
[example:software_sandbox software / sandbox]
<br
/>
[example:svg_sandbox svg / sandbox]
<br
/>
[example:webgl_materials_cubemap_dynamic webgl / materials / cubemap / dynamic]
</
div
>
</
p
>
<code>
var spriteMap = new THREE.TextureLoader().load( 'textures/sprite.png' );
...
...
docs/api/en/objects/InstancedMesh.html
浏览文件 @
e06e9892
...
...
@@ -18,10 +18,14 @@
to reduce the number of draw calls and thus improve the overall rendering performance in your application.
</p>
<h3>
Example
</h3>
<h3>
Example
s
</h3>
<p>
[example:webgl_instancing_suzanne WebGL / instancing / suzanne]
<br
/>
[example:webgl_instancing_dynamic WebGL / instancing / dynamic]
<br
/>
[example:webgl_instancing_modified WebGL / instancing / modified]
<br
/>
[example:webgl_instancing_performance WebGL / instancing / performance]
<br
/>
[example:webgl_instancing_scatter WebGL / instancing / scatter]
<br
/>
[example:webgl_instancing_raycast WebGL / instancing / raycast]
</p>
<h2>
Constructor
</h2>
...
...
docs/api/en/textures/DepthTexture.html
浏览文件 @
e06e9892
...
...
@@ -19,7 +19,9 @@
<h2>
Example
</h2>
<p>
[example:webgl_depth_texture depth / texture]
</p>
<h2>
Constructor
</h2>
<h3>
[name]( [param:Number width], [param:Number height], [param:Constant type], [param:Constant wrapS], [param:Constant wrapT], [param:Constant magFilter], [param:Constant minFilter], [param:Number anisotropy], [param:Constant format] )
</h3>
...
...
docs/api/zh/helpers/PointLightHelper.html
浏览文件 @
e06e9892
...
...
@@ -20,7 +20,9 @@
<h2>
例子
</h2>
<p>
[example:webgl_helpers WebGL / helpers]
</p>
<code>
var pointLight = new THREE.PointLight( 0xff0000, 1, 100 );
...
...
docs/api/zh/lights/PointLight.html
浏览文件 @
e06e9892
...
...
@@ -24,7 +24,6 @@
<p>
[example:webgl_lights_pointlights lights / pointlights ]
<br
/>
[example:webgl_lights_pointlights2 lights / pointlights2 ]
<br
/>
[example:webgldeferred_animation animation ]
<br
/>
[example:webgl_effects_anaglyph effects / anaglyph ]
<br
/>
[example:webgl_geometry_text geometry / text ]
<br
/>
[example:webgl_lensflares lensflares ]
...
...
docs/api/zh/lights/SpotLight.html
浏览文件 @
e06e9892
...
...
@@ -18,30 +18,11 @@
该光源可以投射阴影 - 跳转至 [page:SpotLightShadow] 查看更多细节。
</p>
<h2>
示例
</h2>
<iframe
src=
'../examples/webgl_lights_spotlight.html'
></iframe>
<p>
[example:webgl_lights_spotlight View in Examples ]
</p>
<h2>
其他例子
</h2>
<p>
[example:webgl_interactive_cubes_gpu interactive / cubes / gpu ]
<br
/>
[example:webgl_interactive_draggablecubes interactive / draggablecubes ]
<br
/>
[example:webgl_materials_bumpmap_skin materials / bumpmap / skin ]
<br
/>
[example:webgl_materials_cubemap_dynamic materials / cubemap / dynamic ]
<br
/>
[example:webgl_loader_md2 loader / md2 ]
<br
/>
[example:webgl_shading_physical shading / physical ]
<br
/>
[example:webgl_materials_bumpmap materials / bumpmap]
<br/>
[example:webgl_shading_physical shading / physical]
<br/>
[example:webgl_shadowmap shadowmap]
<br/>
[example:webgl_shadowmap_performance shadowmap / performance]
<br/>
[example:webgl_shadowmap_viewer shadowmap / viewer]
[example:webgl_lights_spotlight lights / spotlight ]
<br
/>
[example:webgl_lights_spotlights lights / spotlights ]
</p>
<h2>
代码示例
</h2>
...
...
docs/api/zh/loaders/BufferGeometryLoader.html
浏览文件 @
e06e9892
...
...
@@ -19,7 +19,9 @@
<h2>
例子
</h2>
[example:webgl_geometry_colors_lookuptable WebGL / geometry / colors / lookuptable]
<p>
[example:webgl_performance WebGL / performance]
</p>
<code>
// 初始化一个加载器
...
...
docs/api/zh/loaders/TextureLoader.html
浏览文件 @
e06e9892
...
...
@@ -19,6 +19,10 @@
<h2>
例子
</h2>
<p>
[example:webgl_geometry_cube geometry / cube]
</p>
<code>
var texture = new THREE.TextureLoader().load( 'textures/land_ocean_ice_cloud_2048.jpg' );
...
...
@@ -26,8 +30,6 @@
var material = new THREE.MeshBasicMaterial( { map: texture } );
</code>
[example:webgl_geometry_cube geometry / cube]
<h2>
Example with Callbacks
</h2>
<code>
...
...
docs/api/zh/materials/MeshDistanceMaterial.html
浏览文件 @
e06e9892
...
...
@@ -21,7 +21,9 @@
<h2>
示例
</h2>
<p>
[example:webgl_shadowmap_pointlight WebGL / shadowmap / pointlight]
</p>
<script>
...
...
docs/api/zh/materials/MeshPhysicalMaterial.html
浏览文件 @
e06e9892
...
...
@@ -35,8 +35,11 @@
</script>
<h2>
例子(Examples)
</h2>
<p>
[example:webgl_materials_variations_physical materials / variations / physical]
<br
/>
[example:webgl_materials_reflectivity materials / reflectivity]
</p>
<h2>
构造函数(Constructor)
</h2>
...
...
docs/api/zh/materials/ShadowMaterial.html
浏览文件 @
e06e9892
...
...
@@ -17,7 +17,10 @@
</p>
<h3>
例子(Example)
</h3>
<p>
[example:webgl_geometry_spline_editor geometry / spline / editor]
</p>
<code>
var planeGeometry = new THREE.PlaneGeometry( 2000, 2000 );
...
...
docs/api/zh/materials/SpriteMaterial.html
浏览文件 @
e06e9892
...
...
@@ -15,12 +15,12 @@
<p
class=
"desc"
>
一种使用[page:Sprite]的材质。
</p>
<h2>
例子(Examples)
</h2>
<
div
>
<
p
>
[example:webgl_sprites WebGL / sprites]
<br
/>
[example:software_sandbox software / sandbox]
<br
/>
[example:svg_sandbox svg / sandbox]
<br
/>
[example:webgl_materials_cubemap_dynamic webgl / materials / cubemap / dynamic]
</
div
>
</
p
>
<code>
var spriteMap = new THREE.TextureLoader().load( 'textures/sprite.png' );
...
...
docs/api/zh/objects/InstancedMesh.html
浏览文件 @
e06e9892
...
...
@@ -18,10 +18,14 @@
to reduce the number of draw calls and thus improve the overall rendering performance in your application.
</p>
<h3>
Example
</h3>
<h3>
Example
s
</h3>
<p>
[example:webgl_instancing_suzanne WebGL / instancing / suzanne]
<br
/>
[example:webgl_instancing_dynamic WebGL / instancing / dynamic]
<br
/>
[example:webgl_instancing_modified WebGL / instancing / modified]
<br
/>
[example:webgl_instancing_performance WebGL / instancing / performance]
<br
/>
[example:webgl_instancing_scatter WebGL / instancing / scatter]
<br
/>
[example:webgl_instancing_raycast WebGL / instancing / raycast]
</p>
<h2>
Constructor
</h2>
...
...
docs/api/zh/textures/DepthTexture.html
浏览文件 @
e06e9892
...
...
@@ -17,8 +17,9 @@
</p>
<h2>
示例
</h2>
<p>
[example:webgl_depth_texture depth / texture]
</p>
<h2>
构造函数
</h2>
<h3>
[name]( [param:Number width], [param:Number height], [param:Constant type], [param:Constant wrapS], [param:Constant wrapT], [param:Constant magFilter], [param:Constant minFilter], [param:Number anisotropy], [param:Constant format] )
</h3>
...
...
docs/examples/en/geometries/DecalGeometry.html
浏览文件 @
e06e9892
...
...
@@ -32,7 +32,7 @@
<h2>
Example
</h2>
<p>
[example:webgl_decals
decals
]
</p>
<p>
[example:webgl_decals
WebGL / decals
]
</p>
<code>
var geometry = new THREE.DecalGeometry( mesh, position, orientation, size );
var material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
...
...
docs/examples/en/math/Lut.html
浏览文件 @
e06e9892
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<base
href=
"../../
../
"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"page.css"
/>
...
...
docs/examples/en/objects/Lensflare.html
浏览文件 @
e06e9892
...
...
@@ -19,7 +19,8 @@
<h2>
Example
</h2>
<p>
[example:webgl_lensflares lensflares]
[example:webgl_lensflares WebGL / lensflares]
</p>
<code>
var light = new THREE.PointLight( 0xffffff, 1.5, 2000 );
...
...
@@ -39,8 +40,6 @@ lensflare.addElement( new THREE.LensflareElement( textureFlare2, 60, 0.6 ) );
light.add( lensflare );
</code>
</p>
<h2>
Constructor
</h2>
...
...
docs/examples/zh/geometries/DecalGeometry.html
浏览文件 @
e06e9892
...
...
@@ -32,7 +32,7 @@
<h2>
Example
</h2>
<p>
[example:webgl_decals
decals
]
</p>
<p>
[example:webgl_decals
WebGL / decals
]
</p>
<code>
var geometry = new THREE.DecalGeometry( mesh, position, orientation, size );
var material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
...
...
docs/examples/zh/math/Lut.html
浏览文件 @
e06e9892
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<base
href=
"../../
../
"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"page.css"
/>
...
...
docs/examples/zh/objects/Lensflare.html
浏览文件 @
e06e9892
...
...
@@ -19,7 +19,8 @@
<h2>
示例
</h2>
<p>
[example:webgl_lensflares lensflares]
[example:webgl_lensflares WebGL / lensflares]
</p>
<code>
var light = new THREE.PointLight( 0xffffff, 1.5, 2000 );
...
...
@@ -39,8 +40,6 @@ lensflare.addElement( new THREE.LensflareElement( textureFlare2, 60, 0.6 ) );
light.add( lensflare );
</code>
</p>
<h2>
Constructor
</h2>
...
...
docs/manual/en/introduction/Creating-text.html
浏览文件 @
e06e9892
...
...
@@ -76,8 +76,11 @@
</p>
<h3>
Examples
</h3>
<p>
[example:webgl_geometry_text WebGL / geometry / text]
<br
/>
[example:webgl_shadowmap WebGL / shadowmap]
</p>
<p>
If Typeface is down, or you want to use a font that is not there, there's a tutorial
...
...
docs/manual/zh/introduction/Creating-text.html
浏览文件 @
e06e9892
...
...
@@ -70,9 +70,10 @@
</p>
<h3>
示例
</h3>
<p>
[example:webgl_geometry_text WebGL / geometry / text]
<br
/>
[example:canvas_geometry_text canvas / geometry / text]
<br
/>
[example:webgl_shadowmap WebGL / shadowmap]
</p>
<p>
如果Typeface已经关闭,或者没有你所想使用的字体,这有一个教程:[link:http://www.jaanga.com/2012/03/blender-to-threejs-create-3d-text-with.html]
<br>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录