User Tools

Site Tools


public:t-vien-07-1:lab_3_materials

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:t-vien-07-1:lab_3_materials [2007/01/26 01:49] hannespublic: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://www.ru.is/kennarar/hannes/classes/ve2007/Lab3Assets.zip|Lab 3 Asset File]] into your working directory (same directory you used last week)   * Download and unzip the [[http://www.ru.is/kennarar/hannes/classes/ve2007/Lab3Assets.zip|Lab 3 Asset File]] into your working directory (same directory you used last week)
  
-==== 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:
 </code>   </code>  
   - **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, scale = 0.07, mayChange = True)                              align = TextNode.ACenter, scale = 0.07, mayChange = True)   
/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)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki