Автор: Hakan Blomqvist
Издательство: Leanpub
Год: 2023-12-21
Страниц: 234
Язык: английский
Формат: pdf (true), epub + Extras
Размер: 70.3 MB
This guide offers an in-depth exploration of 2D graphics creation using modern C++, from basic drawing to advanced animation and special effects. It blends theory with hands-on examples and exercises, focusing on the C++ Standard Library. It also introduces 'PPMPP,' a unique C++ library for practical graphics applications.
Embark on a journey through the world of 2D graphics with '2D Computer Graphics in Modern C++ and Standard Library'. This comprehensive guide offers a deep dive into the art and science of creating stunning 2D graphics using modern C++. This book has everything you need to elevate your graphics programming skills, from mastering the basics of drawing pixels and shapes to exploring advanced techniques like animation and special effects. Whether you're a beginner eager to step into computer graphics or an experienced coder looking to refine your skills, this book combines theory with hands-on examples to provide a robust learning experience. With detailed code examples, practical exercises, and a focus on the C++ Standard Library, this book is your gateway to becoming a proficient 2D graphics programmer in the modern programming landscape. The final chapter introduces 'PPMPP', my unique single-header C++ library for drawing, reading, and writing 2D graphics, offering a practical tool to apply your learned skills in real-world scenarios.
A C++ program designed to manipulate images in the PPM format, specifically the P3 (ASCII) format. It includes various functions to perform image manipulation tasks such as creating a negative image, adjusting brightness and darkness, converting to grayscale, swapping color channels, and blending two images. The program uses the Standard Library and has a main function to perform user-specified manipulations on an input image file and save the result to an output file.
All code is compiled using Clang++ but works fine with G++. Everything is C++20.
Prerequisite:
You’ll need to already know how to program in C++. This book is about how to draw and and not about how to program.
Скачать 2D Computer Graphics in Modern C++ and Standard Library ( Version 2)