Автор: Chris Roda
Издательство: CRC Press
Год: 2024
Страниц: 521
Язык: английский
Формат: pdf (true)
Размер: 76.3 MB
This book is based on a successful curriculum designed to elevate technical artists with no programming experience up to essential programming competency as quickly as possible. Instead of abstract, theoretical problems, the curriculum employs familiar applications encountered in real production environments to demonstrate each lesson.
Written with artists in mind, this book introduces novice programmers to the advantageous world of Python programming with relevant and familiar examples. Any digital artists (not just technical artists) will find this book helpful in assisting with day-to-day production activities.
Concentrating upon subjects relevant to the creation of computer graphic assets, this book introduces Python basics, functions, data types, object-oriented programming, exception handling, file processing, graphical user interface creation, PEP 8 standards, and regular expressions. Programming within the SideFX Houdini 3D animation software provides a familiar environment for artists to create and experiment with the covered Python topics.
This book is broken into 20 chapters. Anxious readers desiring to get right into Python programming should jump directly to Chapter 6. Chapters 6–14 cover using Python within the Houdini context and focus on specific Python-related topics. Chapters 15–20 explain topics through the Python perspective but are applicable to any programming language. The first five chapters address the philosophical aspects of this book: relationships of technical artists with programming, why Python is the prime focus of this book, and a history of how this book came into being.
•Chapter 1: Introduction provides a quick explanation of how and why this book came into being, and how it is organized.
•Chapter 2: The Role of Programming in Technical Artist Life discusses technical artist roles and their relationships with programming.
•Chapter 3: Programming Strategies offers fundamental technical artist programming philosophies.
•Chapter 4: Computer Languages surveys modern programming languages and explains why technical artists should learn Python.
•Chapter 5: Programming Inspiration describes the six-week curriculum this book is based upon. Justification for using Houdini as the Python programming environment is provided.
•Chapter 6: Python Setup and Orientation provides instructions for Houdini installation, accessing Python, and orienting readers with Python functionality.
•Chapter 7: Python Basics explains how Python handles string manipulation, commenting, and expressions. Example scripts get programmers creating technical artist-like tasks.
•Chapter 8: Python Logic covers Python script data flow. Explanation of code blocks, conditional statements, and looping is provided.
•Chapter 9: Python Functions explains Python function integration. Instructions for handling external functions and defining custom functions are provided.
•Chapter 10: Python Data Types covers the different types of data intrinsically included in all Python installations.
•Chapter 11: Python Object-Oriented Programming: Foundation introduces working with and authoring Python object-oriented programming classes.
•Chapter 12: Python Object-Oriented Programming: Inheritance describes how Python classes can take advantage of class derivation and composition.
•Chapter 13: Python Exceptions explains how Python deals with special situations, including errors and warnings. The Python try-except protocol prevents special situations from interrupting program flow.
•Chapter 14: Python File Processing demonstrates how Python reads and writes to external files. Instructions and examples of JSON and XML, and pickling file formats are provided.
•Chapter 15: Command Line introduces readers to the concept of interacting with Python outside of graphical user interfaces. This style of interfacing is useful when managing day-to-day pipeline operations.
•Chapter 16: Python Graphic User Interface describes graphical interface tools available to Python. In-depth instructions are provided for getting users familiar with the Pyside 2 interface toolkit.
•Chapter 17: QtDesigner provides instructions how to use QtDesigner to design PySide and PyQt interfaces.
•Chapter 18: Python PEP8 Standards describes the PEP8 standards; conventions encouraging efficient, effective, and readable Python code.
•Chapter 19: Regular Expressions introduces readers to regular expressions; formalized, textual pattern recognition strings used for identifying patterns within input strings.
•Chapter 20: Conclusion concludes this book and provides a few words of encouragement.
Скачать Essential Programming for the Technical Artist