04887nam 2200673 a 450 991046118860332120200520144314.01-280-67245-597866136493861-119-94058-31-119-94059-1(CKB)2670000000180390(EBL)903143(OCoLC)801995358(SSID)ssj0000664108(PQKBManifestationID)12239028(PQKBTitleCode)TC0000664108(PQKBWorkID)10612997(PQKB)11204188(MiAaPQ)EBC903143(Au-PeEL)EBL903143(CaPaEBR)ebr10575601(CaONFJC)MIL364938(EXLCZ)99267000000018039020120712d2012 uy 0engur|n|---|||||txtccrProfessional WebGL programming[electronic resource] developing 3D graphics for the web /Andreas AnyuruChichester, U.K. John Wiley & Sons20121 online resource (364 p.)Wrox programmer to programmerIncludes index.1-119-96886-0 Vertex ShaderPrimitive Assembly; Rasterization; Fragment Shader; Per Fragment Operations; Comparing WebGL to Other Graphics Technologies; OpenGL; OpenGL ES 2.0; Direct3D; HTML5 Canvas; Scalable Vector Graphics; VRML and X3D; Linear Algebra for 3D Graphics; Coordinate System; Points or Vertices; Vectors; Dot Product or Scalar Product; Cross Product; Homogeneous Coordinates; Matrices; Affine Transformations; Summary; Chapter 2: Creating Basic WebGL Examples; Drawing a Triangle; Creating the WebGL Context; Creating the Vertex Shader and the Fragment Shader; Compiling the ShadersCreating the Program Object and Linking the ShadersSetting Up the Buffers; Drawing the Scene; Understanding the WebGL Coding Style; Debugging Your WebGL Application; Using Chrome Developer Tools; Using Firebug; WebGL Error Handling and Error Codes; WebGL Inspector; Troubleshooting WebGL; Using the DOM API to Load Your Shaders; Putting It Together in a Slightly More Advanced Example; Experimenting with Code; Summary; Chapter 3: Drawing; WebGL Drawing Primitives and Drawing Methods; Primitives; Understanding the Importance of Winding Order; WebGL's Drawing Methods; Typed Arrays; Buffer and ViewSupported View TypesExploring Different Ways to Draw; gl.drawArrays() and gl.TRIANGLES; gl.drawArrays() and gl.TRIANGLE_STRIP; gl.drawElements() and gl.TRIANGLES; gl.drawElements() and gl.TRIANGLE_STRIP; Conclusions of the Comparison; Pre-Transform Vertex Cache and Post-Transform Vertex Cache; Interleaving Your Vertex Data for Improved Performance; Using an Array of Structures; Using a Vertex Array or Constant Vertex Data; A Last Example to Wind Things Up; Some Things to Experiment With; Summary; Chapter 4: Compact JavaScript Libraries And TransformationsWorking with Matrices and Vectors in JavaScriptSylvester; WebGL-mjs; glMatrix; Using Transformations; How Transformations Are Used; Understanding the Complete Transformation Pipeline; Getting Practical with Transformations; Setting Up Buffers with Object Coordinates; Creating Transformation Matrices with JavaScript and Uploading Them to the Shader; Uploading the Transformation Matrices to the Vertex Shader in the GPU; Calling Your Drawing Methods; Understanding the Importance of Transformation Order; Using a Grand, Fixed Coordinate System; Using a Moving, Local Coordinate SystemPushing and Popping Transformation Matrices<b>Everything you need to know about developing hardware-accelerated 3D graphics with WebGL!</b> <br /> <br /> As the newest technology for creating 3D graphics on the web, in both games, applications, and on regular websites, WebGL gives web developers the capability to produce eye-popping graphics. This book teaches you how to use WebGL to create stunning cross-platform apps. The book features several detailed examples that show you how to develop 3D graphics with WebGL, including explanations of code snippets that help you understand the why behind the how. You will also develop a strongComputer graphicsComputer programsJavaScript (Computer program language)Three-dimensional display systemsElectronic books.Computer graphicsComputer programs.JavaScript (Computer program language)Three-dimensional display systems.006.6006.684Anyuru Andreas912101MiAaPQMiAaPQMiAaPQBOOK9910461188603321Professional WebGL programming2042281UNINA