Beginning WebGL for HTML5 gets you rapidly up to speed with WebGL, a powerful new graphics language within the browser. You'll render realistic scenes with advanced lighting models, shadows, blending and textures. You'll also use mathematics to model fractals and particle systems. Going beyond that, Beginning WebGL for HTML5 presents advanced vertex and fragment shader usage for creating stunning, top-end results.
lication Date: June 15, 2012
Bảo vệ máy tính trước lỗ hổng WebGL
WebGL là tính năng tăng tốc phần cứng đồ họa 3D cho các trình duyệt hỗ trợ việc hiển thị các đối tượng đồ họa trong trang web trở nên đẹp và rõ nét hơn nhiều. Một nghiên cứu gần đây và được đăng tải trên trang Contextis.com đã xác định lỗ hổng bảo mật nghiêm trọng trong WebGL (được bật sẵn mặc định trong trình duyệt Chrome, Firefox 4 và IE9) cho phép kẻ tấn công chạy mã độc hại trên máy tính người dùng.
Table of Contents Introduction Who this book is for What this book is about Part 1: Getting Started with HTML5 Games Chapter 1: Gaming on the Web Tracing the History of HTML5 Using HTML5 for Games Canvas Audio WebSockets Web Storage WebGL HTML5 is (not) a Flash killer Creating Backward Compatibility
WebGL is a new web technology that brings hardware-accelerated 3D graphics to the
browser without requiring the user to install additional soft ware. As WebGL is based on
OpenGL and brings in a new concept of 3D graphics programming to web development,
it may seem unfamiliar to even experienced web developers.
Packed with many examples, this book shows how WebGL can be easy to learn despite
its unfriendly appearance. Each chapter addresses one of the important aspects of 3D
graphics programming and presents different alternatives for its implementation.
HTML5 Games Most Wanted gathers the top HTML5 games developers and reveals the passion they all share for creating and coding great games. You'll learn programming tips, tricks, and optimization techniques alongside real-world code examples that you can use in your own projects. You won't just make games—you'll make great games.
This book covers areas contained in the “loose” definition of HTML5, meaning the
It includes sections on the math behind popular game effects, teaching you the
hard way before providing the one to two lines of code solution. For those who are still
OpenGL is not a single API anymore. OpenGL has involved into a family of APIs,
with OpenGL, OpenGL ES, and WebGL being closely related siblings that enable
application developers to write and deploy graphics applications on a wide variety of
platforms and operating systems. OpenGL has become an ecosystem; 3D graphics is
truly everywhere now. OpenGL is the cross platform 3D API for desktop machines
and work stations. OpenGL ES is the 3D API for mobile devices, like tablets and
cell phones, and embedded platforms from settop boxes to cars.