Three.js Cookbook
eBook - ePub

Three.js Cookbook

Jos Dirksen

Compartir libro
  1. 300 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Three.js Cookbook

Jos Dirksen

Detalles del libro
Vista previa del libro
Índice
Citas

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Three.js Cookbook un PDF/ePUB en línea?
Sí, puedes acceder a Three.js Cookbook de Jos Dirksen en formato PDF o ePUB, así como a otros libros populares de Computer Science y Computer Graphics. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2015
ISBN
9781783981182

Three.js Cookbook


Table of Contents

Three.js Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started
Introduction
Getting started with the WebGL renderer
Getting ready
How to do it...
See also
Getting started with the Canvas renderer
Getting ready
How to do it...
How it works...
See also
Getting started with the CSS 3D renderer
Getting ready
How to do it...
How it works...
See also
Detecting WebGL support
Getting ready
How to do it...
Setting up an animation loop
Getting ready
How to do it...
See also
Determining the frame rate for your scene
Getting ready
How to do it...
How it works...
Controlling the variables used in the scene
Getting ready
How to do it...
There's more...
Setting up a local web server with Python
Getting ready
How to do it...
Setting up a local web server with Node.js
Getting ready
How to do it...
Setting up a local web server using Mongoose
Getting ready
How to do it...
See also
Solving cross-origin-domain error messages in Chrome
How to do it...
Solving cross-origin-domain error messages in Firefox
How to do it...
How it works...
See also
Adding keyboard controls
Getting ready
How to do it...
How it works...
There's more...
See also
Loading textures asynchronously
Getting ready
How to do it...
How it works...
See also
Loading models asynchronously
Getting ready
How to do it...
There is more...
Loading models asynchronously with progress
Getting started
How to do it...
Loading other resources asynchronously with progress
Getting ready
How to do it...
Waiting until resources are loaded
Getting ready
How to do it...
How it works...
There is more...
See also
Dragging a file from the desktop to the scene
Getting ready
How to do it...
How it works...
2. Geometries and Meshes
Introduction
Rotating an object around its own axis
Getting ready
How to do it...
How it works...
See also
Rotating an object around a point in space
Getting ready
How to do it...
How it works...
See also
Informing Three.js about updates
Getting ready
How to do it...
How it works...
See also
Working with a large number of objects
Getting ready
How to do it...
How it works...
See also
Creating geometries from height maps
Getting ready
How to do it...
How it works...
There's more…
See also
Pointing an object to another object
Getting ready
How to do it...
How it works...
There's more…
See also
Writing text in 3D
Getting ready
How to do it...
How it works...
There's more…
Rendering 3D formulas as 3D geometries
Getting ready
How to do it...
How it works...
There's more…
Extending Three.js with a custom geometry object
Getting ready
How to do it...
How it works...
There's more...
Creating a spline curve between two points
Getting ready
How to do it...
How it works...
There's more…
Creating and exporting a model from Blender
Getting ready
How to do it...
See also
Using OBJMTLLoader with multiple materials
Getting ready
How to do it...
How it works...
There's more…
See also
Applying matrix transformations
Getting ready
How to do it...
How it works
There's more…
See also
3. Working with the Camera
Introduction
Making the camera follow an object
Getting ready
How to do it...
How it works...
There's more…
See also
Zooming the camera to an object
Getting ready
How to do it...
How it works...
There's more…
Using a perspective camera
Getting ready
How to do it...
How it works...
There's more…
See also
Using an orthographic camera
Getting ready
How to do it...
How it works...
There's more…
See also
Creating a 2D overlay
Getting ready
How to do it...
How it works...
See also
Rotating the camera around a scene
Getting ready
How to do it...
How it works...
There's more…
See also
Matching the rendered view to a resized browser
Getting ready
How to do it...
How it works...
Converting world coordinates to screen coordinates
Getting ready
How to do it...
How it works...
See also
Selecting an object in the scene
Getting ready
How to do it...
How it works...
There's more
See also
4. Materials and Textures
Introduction
Adding depth to a mesh with a bump map
Getting ready
How to do it...
How it works...
There's more…
See also
Adding depth to a mesh with a normal map
Getting ready
How to do it...
How it works...
There's more…
See also
Using HTML canvas as a texture
Getting ready
How to do it...
How it works...
See also
Using HTML video as a texture
Getting ready
How to do it...
How it works...
There's more…
See also
Creating a mesh with multiple materials
Getting ready
How to do it...
How it works...
See also
Using separate materials for faces
Getting ready
How to do it...
How it works...
There's more…
See also
Setting up repeating textures
Getting ready
How to do it...
How it works...
See also
Making part of an object transparent
Getting rea...

Índice