1 option
Learning Three.js - the JavaScript 3D library for WebGL : create stunning 3D graphics in your browser using the Three.js JavaScript library / Jos Dirksen.
- Format:
- Book
- Author/Creator:
- Dirksen, Jos, author.
- Series:
- Community experience distilled.
- Community Experience Distilled
- Language:
- English
- Subjects (All):
- Application software--Development--Computer programs.
- Application software.
- Computer graphics--Computer programs.
- Computer graphics.
- Web sites--Design.
- Web sites.
- Physical Description:
- 1 online resource (422 p.)
- Edition:
- 2nd ed.
- Other Title:
- Create stunning 3D graphics in your browser using the Three.js JavaScript library
- Place of Publication:
- Birmingham, England ; Mumbai, [India] : Packt Publishing, 2015.
- Language Note:
- English
- System Details:
- text file
- Biography/History:
- Dirksen Jos: Jos Dirksen has worked as a software developer and architect for almost two decades. He has a lot of experience in many technologies, ranging from backend technologies, such as Java and Scala, to frontend development using HTML5, CSS, JavaScript, and Typescript. Besides working with these technologies, Jos regularly speaks at conferences and likes to write about new and interesting technologies on his blog. He also likes to experiment with new technologies and see how they can best be used to create beautiful data visualizations. Previously, Jos has worked in many different roles in the private and public sectors, ranging from private companies such as ING, ASML, Malmberg, and Philips to organizations in the public sector, such as the Department of Defense and the Port of Rotterdam.
- Summary:
- If you know JavaScript and want to start creating 3D graphics that run in any browser, this book is a great choice for you. You don't need to know anything about math or WebGL; all that you need is general knowledge of JavaScript and HTML.
- Contents:
- Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Creating Your First 3D Scene with Three.js; Requirements to use Three.js; Getting the source code; Using Git to clone the repository; Downloading and extracting the archive; Testing the examples; Python-based web servers should work on most Unix/Mac systems; Npm-based web server if you've worked with Node.js; Portable version Mongoose for Mac and/or Windows; Disabling security exceptions in Firefox and Chrome; Creating the HTML skeleton
- Rendering and viewing a 3D objectAdding materials, lights, and shadows; Expanding your first scene with animations; Introducing requestAnimationFrame; Animating the cube; Bouncing the ball; Using dat.GUI to make experimenting easier; Automatically resize the output when browser size changes; Summary; Chapter 2: Basic Components That Make Up a Three.js Scene; Creating a scene; Basic functionality of a scene; Adding fog to the scene; Using the overrideMaterial property; Geometries and meshes; The properties and functions of a geometry; Functions and attributes for meshes
- Different cameras for different usesOrthographic camera versus perspective camera; Looking at specific points; Summary; Chapter 3: Working with the Different Light Sources Available in Three.js; Different kinds of lighting provided by Three.js; Basic lights; THREE.AmbientLight; Using the THREE.Color object; THREE.PointLight; THREE.SpotLight; THREE.DirectionalLight; Special lights; THREE.HemisphereLight; THREE.AreaLight; LensFlare; Summary; Chapter 4: Working with Three.js Materials; Understanding common material properties; Basic properties; Blending properties; Advanced properties
- Starting with a simple meshTHREE.MeshBasicMaterial; THREE.MeshDepthMaterial; Combining materials; THREE.MeshNormalMaterial; THREE.MeshFaceMaterial; Advanced materials; THREE.MeshLambertMaterial; THREE.MeshPhongMaterial; Creating your own shaders with THREE.ShaderMaterial; Materials you can use for a line geometry; THREE.LineBasicMaterial; THREE.LineDashedMaterial; Summary; Chapter 5: Learning to Work with Geometries; The basic geometries provided by Three.js; Two-dimensional geometries; THREE.PlaneGeometry; THREE.CircleGeometry; THREE.RingGeometry; THREE.ShapeGeometry
- Three-dimensional geometriesTHREE.BoxGeometry; THREE.SphereGeometry; THREE.CylinderGeometry; THREE.TorusGeometry; THREE.TorusKnotGeometry; THREE.PolyhedronGeometry; Summary; Chapter 6: Advanced Geometries and Binary Operations; THREE.ConvexGeometry; THREE.LatheGeometry; Creating a geometry by extruding; THREE.ExtrudeGeometry; THREE.TubeGeometry; Extrude from SVG; THREE.ParametricGeometry; Creating 3D text; Rendering text; Adding custom fonts; Using binary operations to combine meshes; The subtract function; The intersect function; The union function; Summary
- Chapter 7: Particles, Sprites, and the Point Cloud
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed April 18, 2015).
- OCLC:
- 908029926
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.