Introduction to python programming for computer graphics
Category: Tutorials
- views: 1 909
- date: 22 June 2011
- posted by: pm1

Introduction to python programming for computer graphics
English | VP6 450kbps | 1280x720 | MP3 64kbps | 3h 21m | 471.8 MB
This introductory chapter goes over why studios and software packages have been adopting Python as their langauge of choice. Topics will braise the subjects of who, why, what, when and where.
Variables:
Variables are one way for getting data around in Python. This chapter goes over some common variable types, such as strings, integers, and floats, along with specific functions for them.
Lists, Dictionaries, and Tuples:
This chapter goes over the multi-item variable types in Python. As with strings, there are a lot of built in ways for accessing the information stored with them, and this is all covered with ease.
My First Tool:
At this point in the video it best suits us to start our very first usable tool. The examples shown are based on project management for artists needing directories for Maya, XSI, and other CG apps in their user directories. As simple as this script is, it is quite handy to use.
Reading and Writing:
Python provides some great ways of reading in external files, both text, ascii, and binary, as well as writing them back out. This chapter goes over how to use this functionality as well as how to utilize it for some simple tools.
Modules:
This chapter starts to pick up how to import new features into Python via importing modules. Modules are packages for Python written externally, and imported into Python. These can add functionality like SMTP and HTML features, new math utilities, network utilities, and access to 3D and 2D packages and their custom commands.
Classes:
A small leap into Object Oriented Programming, and a brief example of the class system in Python.
Real World Example:
If you ever have tried to translate 3d object data from one application to the next, you will notice that materials are often translated as polygon groups, but the model is often not separated. A simple script is shown that will speed up model to part separation.

We need your support!
Make a donation to help us stay online
Bitcoin (BTC)
bc1q08g9d22cxkawsjlf8etuek2pc9n2a3hs4cdrld
Bitcoin Cash (BCH)
qqvwexzhvgauxq2apgc4j0ewvcak6hh6lsnzmvtkem
Ethereum (ETH)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
Litecoin (LTC)
ltc1qt6g2trfv9tjs4qj68sqc4uf0ukvc9jpnsyt59u
USDT (ERC20)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
USDT (TRC20)
TYdPNrz7v1P9riWBWZ317oBgJueheGjATm
Information |
|||
![]() |
Users of GUESTS are not allowed to comment this publication. | ||









