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-overview.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ NOTE: This section and the rest of this page will largely discuss the 2.0.0-beta
23
23
<aid=Contents></a>
24
24
## Contents
25
25
26
-
[Public-Domain HTML 3D Library](#Public_Domain_HTML_3D_Library)<br>[Example](#Example)<br>[Contents](#Contents)<br>[How to Use](#How_to_Use)<br> [List of Classes](#List_of_Classes)<br> [`H3DU.Scene3D`](#H3DU_Scene3D)<br> [The "Camera"](#The_Camera)<br> [3D Models](#3D_Models)<br> [Shapes](#Shapes)<br> [The Render Loop](#The_Render_Loop)<br>[A Skeleton for 3D Apps](#A_Skeleton_for_3D_Apps)<br>[Demos](#Demos)<br> [Simple Demos](#Simple_Demos)<br> [Materials](#Materials)<br> [Shapes and meshes](#Shapes_and_meshes)<br> [Paths](#Paths)<br> [Curves and Surfaces](#Curves_and_Surfaces)<br> [Textures](#Textures)<br> [Shaders](#Shaders)<br> [Particle Systems](#Particle_Systems)<br> [Loading 3D Models](#Loading_3D_Models)<br> [Selecting Objects](#Selecting_Objects)<br> [Lights](#Lights)<br> [Text](#Text)<br> [Projections](#Projections)<br> [Miscellaneous](#Miscellaneous)<br>[Example](#Example)<br>[History](#History)<br> [Version 2.0.0-beta2](#Version_2_0_0_beta2)<br> [Version 2.0.0-beta1:](#Version_2_0_0_beta1)<br>
26
+
[Public-Domain HTML 3D Library](#Public_Domain_HTML_3D_Library)<br>[Example](#Example)<br>[Contents](#Contents)<br>[How to Use](#How_to_Use)<br> [List of Classes](#List_of_Classes)<br> [`H3DU.Scene3D`](#H3DU_Scene3D)<br> [The "Camera"](#The_Camera)<br> [3D Models](#3D_Models)<br> [Shapes](#Shapes)<br> [The Render Loop](#The_Render_Loop)<br>[A Skeleton for 3D Apps](#A_Skeleton_for_3D_Apps)<br>[Demos](#Demos)<br> [Simple Demos](#Simple_Demos)<br> [Materials](#Materials)<br> [Shapes and meshes](#Shapes_and_meshes)<br> [Paths](#Paths)<br> [Curves and Surfaces](#Curves_and_Surfaces)<br> [Textures](#Textures)<br> [Shaders](#Shaders)<br> [Particle Systems](#Particle_Systems)<br> [Loading 3D Models](#Loading_3D_Models)<br> [Selecting Objects](#Selecting_Objects)<br> [Lights](#Lights)<br> [Text](#Text)<br> [Projections](#Projections)<br> [Miscellaneous](#Miscellaneous)<br>[Example](#Example)<br>[History](#History)<br> [Version 2.0.0-beta3](#Version_2_0_0_beta3)<br> [Version 2.0.0-beta2](#Version_2_0_0_beta2)<br> [Version 2.0.0-beta1:](#Version_2_0_0_beta1)<br>
27
27
28
28
## How to Use
29
29
@@ -399,6 +399,40 @@ The following is a simple example of an HTML page that uses the HTML 3D library.
399
399
<aid=History></a>
400
400
## History
401
401
402
+
<aid=Version_2_0_0_beta3></a>
403
+
### Version 2.0.0-beta3
404
+
405
+
The changes in beta 3 from beta 2 include:
406
+
407
+
- The main library files were converted to ECMAScript's import/export convention. The `rollup` tool
408
+
is used to help generate the `h3du_min.js` file.
409
+
- HTML documentation included in distribution.
410
+
- "Norm" methods in H3DU.Math were renamed to use "Normalize" instead.
411
+
- New `convex.js` in extras folder generates the convex hull of a set of points.
412
+
- New `interp.js` in extras folder provides a cubic Bézier interpolation function.
413
+
- New `spline.js` in extras folder generates piecewise interpolating curves.
414
+
- New demos added, including demos showing how to generate procedural content using shaders.
415
+
- Several methods in H3DU.GraphicsPath were reimplemented.
416
+
- H3DU.BezierCurve and H3DU.BezierSpline are deprecated.
417
+
- H3DU.CurveBuilder and H3DU.SurfaceBuilder classes were created; they replace now-deprecated
418
+
H3DU.CurveEval and H3DU.SurfaceEval classes.
419
+
- H3DU.MeshBuffer contains many new methods; in exchange, many of the H3DU.Mesh
420
+
methods reimplemented in H3DU.MeshBuffer are deprecated.
421
+
- H3DU.Mesh is considerably deemphasized in this version; that class should only be used
422
+
for building meshes, not storing them.
423
+
- H3DU.Curve and H3DU.Surface were created; these classes represent parametric curves
424
+
and surfaces and offer methods for querying information at a given point on the curve or surface.
425
+
Made several class derive from either class, including H3DU.BSplineCurve, H3DU.BSplineSurface,
426
+
and new class H3DU.PiecewiseCurve.
427
+
- H3DU.RenderPass3D renamed to H3DU.RenderPass.
428
+
- Deleted fromBasic and fromBasicTexture methods from H3DU.PbrMaterial.
429
+
- Added JOINTS and WEIGHTS constants to H3DU.Semantic.
430
+
- Preliminary support for occlusion maps.
431
+
- Default diffuse/albedo in Material and PbrMaterial is now (1,1,1,1).
432
+
- New H3DU.BufferAccessor class represents a single vertex buffer.
433
+
- Many methods outside H3DU.Mesh now return H3DU.MeshBuffer instead of H3DU.Mesh.
<h2>Contents</h2><p><ahref="#Public_Domain_HTML_3D_Library">Public-Domain HTML 3D Library</a><br><ahref="#Example">Example</a><br><ahref="#Contents">Contents</a><br><ahref="#How_to_Use">How to Use</a><br> <ahref="#List_of_Classes">List of Classes</a><br> <ahref="#H3DU_Scene3D"><code>H3DU.Scene3D</code></a><br> <ahref="#The_Camera">The "Camera"</a><br> <ahref="#3D_Models">3D Models</a><br> <ahref="#Shapes">Shapes</a><br> <ahref="#The_Render_Loop">The Render Loop</a><br><ahref="#A_Skeleton_for_3D_Apps">A Skeleton for 3D Apps</a><br><ahref="#Demos">Demos</a><br> <ahref="#Simple_Demos">Simple Demos</a><br> <ahref="#Materials">Materials</a><br> <ahref="#Shapes_and_meshes">Shapes and meshes</a><br> <ahref="#Paths">Paths</a><br> <ahref="#Curves_and_Surfaces">Curves and Surfaces</a><br> <ahref="#Textures">Textures</a><br> <ahref="#Shaders">Shaders</a><br> <ahref="#Particle_Systems">Particle Systems</a><br> <ahref="#Loading_3D_Models">Loading 3D Models</a><br> <ahref="#Selecting_Objects">Selecting Objects</a><br> <ahref="#Lights">Lights</a><br> <ahref="#Text">Text</a><br> <ahref="#Projections">Projections</a><br> <ahref="#Miscellaneous">Miscellaneous</a><br><ahref="#Example">Example</a><br><ahref="#History">History</a><br> <ahref="#Version_2_0_0_beta2">Version 2.0.0-beta2</a><br> <ahref="#Version_2_0_0_beta1">Version 2.0.0-beta1:</a><br></p>
10
+
<h2>Contents</h2><p><ahref="#Public_Domain_HTML_3D_Library">Public-Domain HTML 3D Library</a><br><ahref="#Example">Example</a><br><ahref="#Contents">Contents</a><br><ahref="#How_to_Use">How to Use</a><br> <ahref="#List_of_Classes">List of Classes</a><br> <ahref="#H3DU_Scene3D"><code>H3DU.Scene3D</code></a><br> <ahref="#The_Camera">The "Camera"</a><br> <ahref="#3D_Models">3D Models</a><br> <ahref="#Shapes">Shapes</a><br> <ahref="#The_Render_Loop">The Render Loop</a><br><ahref="#A_Skeleton_for_3D_Apps">A Skeleton for 3D Apps</a><br><ahref="#Demos">Demos</a><br> <ahref="#Simple_Demos">Simple Demos</a><br> <ahref="#Materials">Materials</a><br> <ahref="#Shapes_and_meshes">Shapes and meshes</a><br> <ahref="#Paths">Paths</a><br> <ahref="#Curves_and_Surfaces">Curves and Surfaces</a><br> <ahref="#Textures">Textures</a><br> <ahref="#Shaders">Shaders</a><br> <ahref="#Particle_Systems">Particle Systems</a><br> <ahref="#Loading_3D_Models">Loading 3D Models</a><br> <ahref="#Selecting_Objects">Selecting Objects</a><br> <ahref="#Lights">Lights</a><br> <ahref="#Text">Text</a><br> <ahref="#Projections">Projections</a><br> <ahref="#Miscellaneous">Miscellaneous</a><br><ahref="#Example">Example</a><br><ahref="#History">History</a><br> <ahref="#Version_2_0_0_beta3">Version 2.0.0-beta3</a><br> <ahref="#Version_2_0_0_beta2">Version 2.0.0-beta2</a><br> <ahref="#Version_2_0_0_beta1">Version 2.0.0-beta1:</a><br></p>
11
11
<h2>How to Use</h2><ol>
12
12
<li><ahref="https://github.com/peteroupc/html3dutil/releases"><strong>Download the HTML 3D library</strong></a>.</li>
13
13
<li><p>Extract the file <i>"h3du_min.js"</i>, and write the following code in every HTML page where you will use the library.</p>
@@ -318,7 +318,39 @@ <h2>Example</h2><p>The following is a simple example of an HTML page that uses t
Copy file name to clipboardExpand all lines: tutorials/overview.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ NOTE: This section and the rest of this page will largely discuss the 2.0.0-beta
19
19
<aid=Contents></a>
20
20
## Contents
21
21
22
-
[Public-Domain HTML 3D Library](#Public_Domain_HTML_3D_Library)<br>[Example](#Example)<br>[Contents](#Contents)<br>[How to Use](#How_to_Use)<br> [List of Classes](#List_of_Classes)<br> [`H3DU.Scene3D`](#H3DU_Scene3D)<br> [The "Camera"](#The_Camera)<br> [3D Models](#3D_Models)<br> [Shapes](#Shapes)<br> [The Render Loop](#The_Render_Loop)<br>[A Skeleton for 3D Apps](#A_Skeleton_for_3D_Apps)<br>[Demos](#Demos)<br> [Simple Demos](#Simple_Demos)<br> [Materials](#Materials)<br> [Shapes and meshes](#Shapes_and_meshes)<br> [Paths](#Paths)<br> [Curves and Surfaces](#Curves_and_Surfaces)<br> [Textures](#Textures)<br> [Shaders](#Shaders)<br> [Particle Systems](#Particle_Systems)<br> [Loading 3D Models](#Loading_3D_Models)<br> [Selecting Objects](#Selecting_Objects)<br> [Lights](#Lights)<br> [Text](#Text)<br> [Projections](#Projections)<br> [Miscellaneous](#Miscellaneous)<br>[Example](#Example)<br>[History](#History)<br> [Version 2.0.0-beta2](#Version_2_0_0_beta2)<br> [Version 2.0.0-beta1:](#Version_2_0_0_beta1)<br>
22
+
[Public-Domain HTML 3D Library](#Public_Domain_HTML_3D_Library)<br>[Example](#Example)<br>[Contents](#Contents)<br>[How to Use](#How_to_Use)<br> [List of Classes](#List_of_Classes)<br> [`H3DU.Scene3D`](#H3DU_Scene3D)<br> [The "Camera"](#The_Camera)<br> [3D Models](#3D_Models)<br> [Shapes](#Shapes)<br> [The Render Loop](#The_Render_Loop)<br>[A Skeleton for 3D Apps](#A_Skeleton_for_3D_Apps)<br>[Demos](#Demos)<br> [Simple Demos](#Simple_Demos)<br> [Materials](#Materials)<br> [Shapes and meshes](#Shapes_and_meshes)<br> [Paths](#Paths)<br> [Curves and Surfaces](#Curves_and_Surfaces)<br> [Textures](#Textures)<br> [Shaders](#Shaders)<br> [Particle Systems](#Particle_Systems)<br> [Loading 3D Models](#Loading_3D_Models)<br> [Selecting Objects](#Selecting_Objects)<br> [Lights](#Lights)<br> [Text](#Text)<br> [Projections](#Projections)<br> [Miscellaneous](#Miscellaneous)<br>[Example](#Example)<br>[History](#History)<br> [Version 2.0.0-beta3](#Version_2_0_0_beta3)<br> [Version 2.0.0-beta2](#Version_2_0_0_beta2)<br> [Version 2.0.0-beta1:](#Version_2_0_0_beta1)<br>
23
23
24
24
## How to Use
25
25
@@ -395,6 +395,40 @@ The following is a simple example of an HTML page that uses the HTML 3D library.
395
395
<aid=History></a>
396
396
## History
397
397
398
+
<aid=Version_2_0_0_beta3></a>
399
+
### Version 2.0.0-beta3
400
+
401
+
The changes in beta 3 from beta 2 include:
402
+
403
+
- The main library files were converted to ECMAScript's import/export convention. The `rollup` tool
404
+
is used to help generate the `h3du_min.js` file.
405
+
- HTML documentation included in distribution.
406
+
- "Norm" methods in H3DU.Math were renamed to use "Normalize" instead.
407
+
- New `convex.js` in extras folder generates the convex hull of a set of points.
408
+
- New `interp.js` in extras folder provides a cubic Bézier interpolation function.
409
+
- New `spline.js` in extras folder generates piecewise interpolating curves.
410
+
- New demos added, including demos showing how to generate procedural content using shaders.
411
+
- Several methods in H3DU.GraphicsPath were reimplemented.
412
+
- H3DU.BezierCurve and H3DU.BezierSpline are deprecated.
413
+
- H3DU.CurveBuilder and H3DU.SurfaceBuilder classes were created; they replace now-deprecated
414
+
H3DU.CurveEval and H3DU.SurfaceEval classes.
415
+
- H3DU.MeshBuffer contains many new methods; in exchange, many of the H3DU.Mesh
416
+
methods reimplemented in H3DU.MeshBuffer are deprecated.
417
+
- H3DU.Mesh is considerably deemphasized in this version; that class should only be used
418
+
for building meshes, not storing them.
419
+
- H3DU.Curve and H3DU.Surface were created; these classes represent parametric curves
420
+
and surfaces and offer methods for querying information at a given point on the curve or surface.
421
+
Made several class derive from either class, including H3DU.BSplineCurve, H3DU.BSplineSurface,
422
+
and new class H3DU.PiecewiseCurve.
423
+
- H3DU.RenderPass3D renamed to H3DU.RenderPass.
424
+
- Deleted fromBasic and fromBasicTexture methods from H3DU.PbrMaterial.
425
+
- Added JOINTS and WEIGHTS constants to H3DU.Semantic.
426
+
- Preliminary support for occlusion maps.
427
+
- Default diffuse/albedo in Material and PbrMaterial is now (1,1,1,1).
428
+
- New H3DU.BufferAccessor class represents a single vertex buffer.
429
+
- Many methods outside H3DU.Mesh now return H3DU.MeshBuffer instead of H3DU.Mesh.
0 commit comments