Kapitel 11
Inventor III - More C++
11.1 More Inventor Nodes and Functions
11.1.1 Lights
SoPointLight has an additional field for:
SoDirectionalLight has an additional field for:
SoSpotLight has an additional fields for:
11.1.2 Text
SoFontis used to specify a font type and size for the subsequent 2D or 3D text nodes. This node contains the following fields:
SoText2defines text strings that are rendered as 2D screen aligned text. It has the following fields:
SoText3In contrast to 2D text 3D text scales in size according to the distance from the camera, does not stay parallel to the screen, and it can have depth. It has the following fields:
11.1.3 Callback Functions
11.2 C++, more about Variables and Classes
11.2.1 Characteristics of Variables
global - local
const - static
11.2.2 Definition of a Class
Definition of Methods
Declaration of Fields
public, private, protected
11.3 Exercise 11 - Create an Object
Look at the example:
Figure out how the objects and buttons relate:
Make an icon for your own object:
Start to program your own object:
Hand in:
This website has been archived and is no longer maintained.