You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/tutorial-history.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ There are many, many changes to version 2.0.0-beta1 from version 1.5.1. Here ar
35
35
as an extra that adds methods that compute the intersection, difference, union, and XOR of two
36
36
polygons. Path triangulation now supports polygons with holes.
37
37
- The default light configuration is no lights when creating a <ahref="H3DU.LightSource.md">H3DU.LightSource</a>. The exception, for compatibility purposes, is when using a <ahref="H3DU.Scene3D.md">H3DU.Scene3D</a> without rendering a custom `Batch3D`, in which case the default is one light source with its default values.
38
-
- The default value for specular materials (<ahref="H3DU.Material.md">H3DU.Material</a>) is now (0.1, 0.1, 0.1).
38
+
- The default value for specular materials (<ahref="H3DU.Material.md">H3DU.Material</a>) is now (0.1, 0.1, 0.1). The default value for shininess is now 32.
39
39
- The Mesh class no longer supports multiple primitive types (lines, triangles, points). Using different modes that use the same primitive type (for example, TRIANGLE_FAN and QUAD_STRIP) in the same mesh is still supported.
40
40
- Many of the tutorials were edited heavily to accommodate the new version. The `GraphicsPath` tutorial was added.
Copy file name to clipboardExpand all lines: doc/tutorial-overview.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,8 +339,6 @@ The following is a simple example of an HTML page that uses the HTML 3D library.
339
339
340
340
Version 2.0.0-beta1:
341
341
342
-
There are many, many changes to version 2.0.0-beta1 from version 1.5.1. Here are some of them, including the most important ones.
343
-
344
342
- All classes in the main library are moved to a new namespace called `H3DU`. For example, `Shape` is now <ahref="H3DU.Shape.md">H3DU.Shape</a> and `Mesh` is now <ahref="H3DU.Mesh.md">H3DU.Mesh</a>. Many classes in the "extras" directory are also moved to the `H3DU` namespace.
345
343
-`Scene3D`, now <ahref="H3DU.Scene3D.md">H3DU.Scene3D</a>, is no longer meant to be a scene graph of objects to draw. That job now belongs to the new <ahref="H3DU.Batch3D.md">H3DU.Batch3D</a> class. Scene3D's `render` method now takes an array of `Batch3D`s to render. For compatibility, though, the methods allowing it to manage 3D models and the coordinate system, such as `makeShape` and `setPerspective`, can still be used until `H3DU.Scene3D` renders a custom `H3DU.Batch3D`. This compatibility behavior may be dropped in the future.
346
344
- Alpha is disabled in WebGL contexts created with the <ahref="H3DU.md#H3DU.get3DOr2DContext">H3DU.get3DOr2DContext</a> method.
@@ -368,7 +366,7 @@ There are many, many changes to version 2.0.0-beta1 from version 1.5.1. Here ar
368
366
as an extra that adds methods that compute the intersection, difference, union, and XOR of two
369
367
polygons. Path triangulation now supports polygons with holes.
370
368
- The default light configuration is no lights when creating a <ahref="H3DU.LightSource.md">H3DU.LightSource</a>. The exception, for compatibility purposes, is when using a <ahref="H3DU.Scene3D.md">H3DU.Scene3D</a> without rendering a custom `Batch3D`, in which case the default is one light source with its default values.
371
-
- The default value for specular materials (<ahref="H3DU.Material.md">H3DU.Material</a>) is now (0.1, 0.1, 0.1).
369
+
- The default value for specular materials (<ahref="H3DU.Material.md">H3DU.Material</a>) is now (0.1, 0.1, 0.1). The default value for shininess is now 32.
372
370
- The Mesh class no longer supports multiple primitive types (lines, triangles, points). Using different modes that use the same primitive type (for example, TRIANGLE_FAN and QUAD_STRIP) in the same mesh is still supported.
373
371
- Many of the tutorials were edited heavily to accommodate the new version. The `GraphicsPath` tutorial was added.
Copy file name to clipboardExpand all lines: tutorials/history.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ There are many, many changes to version 2.0.0-beta1 from version 1.5.1. Here ar
31
31
as an extra that adds methods that compute the intersection, difference, union, and XOR of two
32
32
polygons. Path triangulation now supports polygons with holes.
33
33
- The default light configuration is no lights when creating a {@link H3DU.LightSource}. The exception, for compatibility purposes, is when using a {@link H3DU.Scene3D} without rendering a custom `Batch3D`, in which case the default is one light source with its default values.
34
-
- The default value for specular materials ({@link H3DU.Material}) is now (0.1, 0.1, 0.1).
34
+
- The default value for specular materials ({@link H3DU.Material}) is now (0.1, 0.1, 0.1). The default value for shininess is now 32.
35
35
- The Mesh class no longer supports multiple primitive types (lines, triangles, points). Using different modes that use the same primitive type (for example, TRIANGLE_FAN and QUAD_STRIP) in the same mesh is still supported.
36
36
- Many of the tutorials were edited heavily to accommodate the new version. The `GraphicsPath` tutorial was added.
Copy file name to clipboardExpand all lines: tutorials/overview.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -335,8 +335,6 @@ The following is a simple example of an HTML page that uses the HTML 3D library.
335
335
336
336
Version 2.0.0-beta1:
337
337
338
-
There are many, many changes to version 2.0.0-beta1 from version 1.5.1. Here are some of them, including the most important ones.
339
-
340
338
- All classes in the main library are moved to a new namespace called `H3DU`. For example, `Shape` is now {@link H3DU.Shape} and `Mesh` is now {@link H3DU.Mesh}. Many classes in the "extras" directory are also moved to the `H3DU` namespace.
341
339
-`Scene3D`, now {@link H3DU.Scene3D}, is no longer meant to be a scene graph of objects to draw. That job now belongs to the new {@link H3DU.Batch3D} class. Scene3D's `render` method now takes an array of `Batch3D`s to render. For compatibility, though, the methods allowing it to manage 3D models and the coordinate system, such as `makeShape` and `setPerspective`, can still be used until `H3DU.Scene3D` renders a custom `H3DU.Batch3D`. This compatibility behavior may be dropped in the future.
342
340
- Alpha is disabled in WebGL contexts created with the {@link H3DU.get3DOr2DContext} method.
@@ -364,7 +362,7 @@ There are many, many changes to version 2.0.0-beta1 from version 1.5.1. Here ar
364
362
as an extra that adds methods that compute the intersection, difference, union, and XOR of two
365
363
polygons. Path triangulation now supports polygons with holes.
366
364
- The default light configuration is no lights when creating a {@link H3DU.LightSource}. The exception, for compatibility purposes, is when using a {@link H3DU.Scene3D} without rendering a custom `Batch3D`, in which case the default is one light source with its default values.
367
-
- The default value for specular materials ({@link H3DU.Material}) is now (0.1, 0.1, 0.1).
365
+
- The default value for specular materials ({@link H3DU.Material}) is now (0.1, 0.1, 0.1). The default value for shininess is now 32.
368
366
- The Mesh class no longer supports multiple primitive types (lines, triangles, points). Using different modes that use the same primitive type (for example, TRIANGLE_FAN and QUAD_STRIP) in the same mesh is still supported.
369
367
- Many of the tutorials were edited heavily to accommodate the new version. The `GraphicsPath` tutorial was added.
0 commit comments