Learning Three.js : the JavaScript 3D Library for WebGL.: the JavaScript 3D Library for WebGL. (2013)
- Record Type:
- Book
- Title:
- Learning Three.js : the JavaScript 3D Library for WebGL.: the JavaScript 3D Library for WebGL. (2013)
- Main Title:
- Learning Three.js : the JavaScript 3D Library for WebGL.
- Other Names:
- Dirksen, Jos
- Contents:
- Cover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Creating Your First 3D Scene with Three.js; Requirements for using Three.js; Getting the source code; Using Git to clone the repository; Downloading and extracting the archive; Testing the examples; Python-based approach should work on most Unix/Mac systems; NPM-based approach if you've got Node.js installed; Portable version of Mongoose for Mac/Windows; Creating an HTML skeleton page; Rendering and viewing a 3D object. Adding materials, lights, and shadowsExpanding your first scene with animations; Introducing the requestAnimationFrame() method; Animating the cube; Bouncing the ball; Using the dat. GUI library to make experimenting easier; Using the ASCII effect; Summary; Chapter 2:Working with the Basic Components That Make Up a Three.js Scene; Creating a scene; Basic functionality of the scene; Adding the fog effect to the scene; Using the overrideMaterial property; Working with the Geometry and Mesh objects; The properties and functions of a geometry; The functions and attributes for a mesh. Using the available cameras for different usesThe orthographic camera versus the perspective camera; Focusing the camera on a specific point; Summary; Chapter 3:Working with the Different Light Sources Available in Three.js; Exploring the lights provided by Three.js; Learning about the basic lights; AmbientLight -- a globally applied light source;Cover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Creating Your First 3D Scene with Three.js; Requirements for using Three.js; Getting the source code; Using Git to clone the repository; Downloading and extracting the archive; Testing the examples; Python-based approach should work on most Unix/Mac systems; NPM-based approach if you've got Node.js installed; Portable version of Mongoose for Mac/Windows; Creating an HTML skeleton page; Rendering and viewing a 3D object. Adding materials, lights, and shadowsExpanding your first scene with animations; Introducing the requestAnimationFrame() method; Animating the cube; Bouncing the ball; Using the dat. GUI library to make experimenting easier; Using the ASCII effect; Summary; Chapter 2:Working with the Basic Components That Make Up a Three.js Scene; Creating a scene; Basic functionality of the scene; Adding the fog effect to the scene; Using the overrideMaterial property; Working with the Geometry and Mesh objects; The properties and functions of a geometry; The functions and attributes for a mesh. Using the available cameras for different usesThe orthographic camera versus the perspective camera; Focusing the camera on a specific point; Summary; Chapter 3:Working with the Different Light Sources Available in Three.js; Exploring the lights provided by Three.js; Learning about the basic lights; AmbientLight -- a globally applied light source; Using the THREE. Color() object; PointLight -- the light that shines in all directions; SpotLight -- the light with a cone effect; DirectionalLight -- for a far away sun-like light source; Using special lights for advanced lighting; HemisphereLight. AreaLightLensFlare; Summary; Chapter 4:Working with the Three.js Materials; Understanding the common material properties; Basic properties; Blending properties; Advanced properties; Starting with the simple Mesh materials (basic, depth, and face); The MeshBasicMaterial for simple surfaces; The MeshDepthMaterial for depth-based coloring; Combining the materials; The MeshNormalMaterial for normal-based colors; The MeshFaceMaterial for assigning a material to each face; Learning about the advanced materials; The MeshLambertMaterial for dull, non-shiny surfaces. The MeshPhongMaterial for shiny objectsCreating your own shaders with the ShaderMaterial; Using the materials for a line geometry; The LineBasicMaterial; The LineDashedMaterial; Summary; Chapter 5:Learning to Work with Geometries; The basic geometries provided by Three.js; Two-dimensional geometries; PlaneGeometry; CircleGeometry; ShapeGeometry; Three-dimensional geometries; CubeGeometry; SphereGeometry; CylinderGeometry; TorusGeometry; TorusKnotGeometry; PolyhedronGeometry; Summary; Chapter 6:Using Advanced Geometries and Binary Operations; ConvexGeometry; LatheGeometry. … (more)
- Publisher Details:
- Birmingham : Packt Publishing
- Publication Date:
- 2013
- Extent:
- 1 online resource (402 pages)
- Subjects:
- 006.76
COMPUTERS -- Programming Languages -- HTML
Application software -- Development -- Computer programs
Computer graphics -- Computer programs
Web sites -- Design
WebGL (Computer program language)
Application software -- Development -- Computer programs
Computer graphics -- Computer programs
Web sites -- Design
WebGL (Computer program language)
COMPUTERS -- Web -- Design
Electronic books - Languages:
- English
- ISBNs:
- 9781782166290
1782166297
9781782166283
1782166289 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.86737
- Ingest File:
- 01_111.xml