public:t-vien-07-1:lab_3_materials
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:t-vien-07-1:lab_3_materials [2007/01/26 01:49] – hannes | public:t-vien-07-1:lab_3_materials [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| * Download and unzip the [[http:// | * Download and unzip the [[http:// | ||
| - | ==== Continuing with your Virtual Room in Panda 3D ==== | ||
| - | * You can continue working where you left off last week on [[Lab 2 Materials|The Virtual Room in Panda 3D Exercise]] | ||
| + | ==== Continuing with your Virtual Room ==== | ||
| - | ==== Improving the Virtual Room in Panda 3D ==== | + | * You can continue working where you left off last week on the [[Lab 2 Materials|Making a Virtual Room in Panda 3D]] exercise. |
| + | |||
| + | |||
| + | ==== Improving the Virtual Room ==== | ||
| Line 40: | Line 42: | ||
| </ | </ | ||
| - **Onscreen Text:** Add a dynamic text label on your heads-up-display (HUD) simply by creating an **OnscreenText** object like this: <code python> | - **Onscreen Text:** Add a dynamic text label on your heads-up-display (HUD) simply by creating an **OnscreenText** object like this: <code python> | ||
| + | from direct.gui.OnscreenText import OnscreenText | ||
| textobject = OnscreenText(pos = (0, -0.9), fg = (1,1,1,1), bg = (0.3, 0.3, 0.3, 0.5), | textobject = OnscreenText(pos = (0, -0.9), fg = (1,1,1,1), bg = (0.3, 0.3, 0.3, 0.5), | ||
| align = TextNode.ACenter, | align = TextNode.ACenter, | ||
/var/www/cadia.ru.is/wiki/data/attic/public/t-vien-07-1/lab_3_materials.1169776144.txt.gz · Last modified: 2024/04/29 13:33 (external edit)