WebGL Programming Guide

Interactive 3D Graphics Programming with WebGL

Author: Kouichi Matsuda

Publisher: Addison-Wesley

ISBN:

Category: Computers

Page: 552

View: 861

Using WebGL®, you can create sophisticated interactive 3D graphics inside web browsers, without plug-ins. WebGL makes it possible to build a new generation of 3D web games, user interfaces, and information visualization solutions that will run on any standard web browser, and on PCs, smartphones, tablets, game consoles, or other devices. WebGL Programming Guide will help you get started quickly with interactive WebGL 3D programming, even if you have no prior knowledge of HTML5, JavaScript, 3D graphics, mathematics, or OpenGL. You’ll learn step-by-step, through realistic examples, building your skills as you move from simple to complex solutions for building visually appealing web pages and 3D applications with WebGL. Media, 3D graphics, and WebGL pioneers Dr. Kouichi Matsuda and Dr. Rodger Lea offer easy-to-understand tutorials on key aspects of WebGL, plus 100 downloadable sample programs, each demonstrating a specific WebGL topic. You’ll move from basic techniques such as rendering, animating, and texturing triangles, all the way to advanced techniques such as fogging, shadowing, shader switching, and displaying 3D models generated by Blender or other authoring tools. This book won’t just teach you WebGL best practices, it will give you a library of code to jumpstart your own projects. Coverage includes: • WebGL’s origin, core concepts, features, advantages, and integration with other web standards • How and basic WebGL functions work together to deliver 3D graphics • Shader development with OpenGL ES Shading Language (GLSL ES) • 3D scene drawing: representing user views, controlling space volume, clipping, object creation, and perspective • Achieving greater realism through lighting and hierarchical objects • Advanced techniques: object manipulation, heads-up displays, alpha blending, shader switching, and more • Valuable reference appendixes covering key issues ranging from coordinate systems to matrices and shader loading to web browser settings This is the newest text in the OpenGL Technical Library, Addison-Wesley’s definitive collection of programming guides an reference manuals for OpenGL and its related technologies. The Library enables programmers to gain a practical understanding of OpenGL and the other Khronos application-programming libraries including OpenGL ES and OpenCL. All of the technologies in the OpenGL Technical Library evolve under the auspices of the Khronos Group, the industry consortium guiding the evolution of modern, open-standards media APIs.

Real-Time 3D Graphics with WebGL 2

Build interactive 3D applications with JavaScript and WebGL 2 (OpenGL ES 3.0), 2nd Edition

Author: Farhad Ghayour

Publisher: Packt Publishing Ltd

ISBN:

Category: Computers

Page: 500

View: 402

A comprehensive guide with 80+ examples on 3D programming in WebGL 2, covering computer graphics topics such as rendering, 3D math, camera, and more Key Features Create visually stunning, high-performance 3D applications for the web with WebGL 2 A complete course on 3D computer graphics: rendering, 3D math, lighting, cameras, and more Unlock a variety of new and advanced features offered in WebGL 2 Book Description As highly interactive applications have become an increasingly important part of the user experience, WebGL is a unique and cutting-edge technology that brings hardware-accelerated 3D graphics to the web. Packed with 80+ examples, this book guides readers through the landscape of real-time computer graphics using WebGL 2. Each chapter covers foundational concepts in 3D graphics programming with various implementations. Topics are always associated with exercises for a hands-on approach to learning. This book presents a clear roadmap to learning real-time 3D computer graphics with WebGL 2. Each chapter starts with a summary of the learning goals for the chapter, followed by a detailed description of each topic. The book offers example-rich, up-to-date introductions to a wide range of essential 3D computer graphics topics, including rendering, colors, textures, transformations, framebuffers, lights, surfaces, blending, geometry construction, advanced techniques, and more. With each chapter, you will "level up" your 3D graphics programming skills. This book will become your trustworthy companion in developing highly interactive 3D web applications with WebGL and JavaScript. What you will learn Understand the rendering pipeline provided in WebGL Build and render 3D objects with WebGL Develop lights using shaders, 3D math, and the physics of light reflection Create a camera and use it to navigate a 3D scene Use texturing, lighting, and shading techniques to render realistic 3D scenes Implement object selection and interaction in a 3D scene Cover advanced techniques for creating immersive and compelling scenes Learn new and advanced features offered in WebGL 2 Who this book is for This book is intended for developers who are interested in building highly interactive 3D applications for the web. A basic understanding of JavaScript is necessary; no prior computer graphics or WebGL knowledge is required.

Interactive Computer Graphics

A Top-down Approach with WebGL

Author: Edward Angel

Publisher: Addison-Wesley

ISBN:

Category: Computers

Page: 702

View: 737

Interactive Computer Graphics with WebGL, Seventh Edition, is suitable for undergraduate students in computer science and engineering, for students in other disciplines who have good programming skills, and for professionals interested in computer animation and graphics using the latest version of WebGL. ¿ Computer animation and graphics are now prevalent in everyday life from the computer screen, to the movie screen, to the smart phone screen. The growing excitement about WebGL applications and their ability to integrate HTML5, inspired the authors to exclusively use WebGL in the Seventh Edition of Interactive Computer Graphics with WebGL.Thisis the only introduction to computer graphics text for undergraduates that fully integrates WebGL and emphasizes application-based programming. The top-down, programming-oriented approach allows for coverage of engaging 3D material early in the course so students immediately begin to create their own 3D graphics. ¿¿ Teaching and Learning Experience This program will provide a better teaching and learning experience–for you and your students. It will help: Engage Students Immediately with 3D Material: A top-down, programming-oriented approach allows for coverage of engaging 3D material early in the course so students immediately begin to create their own graphics. Introduce Computer Graphics Programming with WebGL and JavaScript: WebGL is not only fully shader-based–each application must provide at least a vertex shader and a fragment shader–but also a version that works within the latest web browsers.

Computer Graphics Programming in OpenGL with C++

Author: V. Scott Gordon

Publisher: Stylus Publishing, LLC

ISBN:

Category: Computers

Page: 384

View: 832

This book provides step-by-step instruction on modern 3D graphics shader programming in OpenGL with C++, along with its theoretical foundations. It is appropriate both for computer science graphics courses and for professionals interested in mastering 3D graphics skills. It has been designed in a 4-color, “teach-yourself” format with numerous examples and detailed explanations. Every shader stage is explored, starting with the basics of modeling, lighting, textures, etc., up through advanced techniques such as tessellation, soft shadows, and generating realistic materials and environments. The book includes companion files with all of the source code, models, textures, skyboxes and normal maps used in the book. Features: Covers modern OpenGL 4.0+ shader programming in C++, with instructions for both PC/Windows and Macintosh. Illustrates every technique with running code examples. Everything needed to install the libraries, and complete source code for each example is provided and fully explained. Includes step-by-step instruction for using each GLSL programmable pipeline stage (vertex, tessellation, geometry, and fragment). Explores practical examples for modeling, lighting and shadows (including soft shadows), terrain, and 3D materials such as wood and marble. Explains how to optimize code for performance, and use modern development tools such as the NVIDIA® NsightTM debugger. Includes companion files with all of the code, object models, figures, textures, skyboxes and skydomes, height and normal maps used throughout the book.

Computer Graphics Programming in OpenGL with JAVA

Author: V. Scott Gordon

Publisher: Stylus Publishing, LLC

ISBN:

Category: Computers

Page: 450

View: 380

This new edition provides step-by-step instruction on modern 3D graphics shader programming in OpenGL, along with its theoretical foundations. It is appropriate both for computer science undergraduate graphics programming courses in degree programs that emphasize Java, and for professionals interested in mastering 3D graphics skills who prefer Java. It has been designed in a 4-color, “teach-yourself” format with numerous examples that the reader can run just as presented. New sections have been added covering soft shadows, performance optimization, Nsight debugging, as well as updated industry-standard libraries and steps for running the examples on a Macintosh. Includes companion DVD with source code, models, textures, etc. used in the book. Features: • Includes new sections on implementing soft shadows, performance optimization, and updated tools and libraries such as the JOML math library and Nvidia’s Nsight. • Covers modern OpenGL 4.0+ shader programming in Java, using Windows or Mac. • Illustrates every technique with complete running code examples. Everything needed to install JOGL and run every example is provided and fully explained. • Includes step-by-step instruction for every GLSL programmable pipeline stage (vertex, tessellation, geometry, and fragment) -- with examples.

WebGL Hotshot

Author: Mitch Williams

Publisher: Packt Publishing Ltd

ISBN:

Category: Computers

Page: 306

View: 717

Every chapter starts with a 'mission briefing' section that describes what is to be achieved by the end of the chapter. This is followed with the decisions and steps required to accomplish the mission objective with challenges to take the project further. The scope for the book thus mimics the reallife requirements of a developer and gets you ready to successfully build your own project. If you are a web designer looking to expand your knowledge of 3D graphics concepts and broaden your existing skill set, then this book is for you. Those looking for an introduction to 3D graphics will benefit from WebGL Hotshot as it is a perfect guide to master 3D concepts, helping you build and deploy 3D worlds much quicker. The book assumes a basic knowledge of HTML, though it can be learned concurrently while reading this book. Basic programming knowledge is useful; however, the graphical nature of web 3D content allows you to learn programming through experimentation.

Learning HTML5 Game Programming

A Hands-on Guide to Building Online Games Using Canvas, SVG, and WebGL

Author: James Lamar Williams

Publisher: Addison-Wesley Professional

ISBN:

Category: Computers

Page: 234

View: 140

Presents practical instrucion and theory for using the features of HTML5 to create a online gaming applications.