| 1 | | = OSG !NodeMask = |
| 2 | | [[TracNav(Community/OSGExpTOC)]] |
| 3 | | |
| 4 | | == General == |
| 5 | | |
| 6 | | Nodemaks can be seen as classification-tags in !OpenSceneGraph. Every Node in a file has a Nodemask. Usually this is the default mask, specified in the OSG Exporter-options dialog, but special ones can be used as well, using the Nodemask Helper. |
| 7 | | |
| 8 | | == Possible uses: == |
| 9 | | * You can use the Helper to specifically designate parts of your scene as blocked, using a Collision Mask |
| 10 | | * Or explicitly let an object be walked through (using a no-collision mask). |
| 11 | | |
| 12 | | == To create a Nodemask Helper in 3d Studio Max == |
| 13 | | * Create some geometry; |
| 14 | | * Add an OSG Nodemask Helper object to your scene; |
| 15 | | * Using the 'Add' of 'Add multiple'-butons add the geometry to the Helper; |
| 16 | | * Specify the type of Mask you want to assign; |
| 17 | | * Export using the OSG Exporter. |
| 18 | | |
| 19 | | [[Image(OSGNodeMaskRollout.png)]] |
| 20 | | |
| 21 | | The options for the !NodeMask Helper |
| 22 | | |
| 23 | | == Other options == |
| 24 | | 1. !NodeMask Value: This allows you to specify the type of Nodemask. |
| 25 | | * Terrain: makes this geometry part of the terrain (it can be walked upon); |
| 26 | | * Collision: make the object impenetrable; |
| 27 | | * No Collission: makes the object penetrable; |
| 28 | | * Custom mask: allows you to create special categories. Only usable if your viewer support this functionality; |
| 29 | | 2. !NodeMask Geometry: Add of remove pieces of geometry from this Nodemask Helper. |
| 30 | | |
| 31 | | == More information == |
| 32 | | * [http://osgexp.vr-c.dk/documentation/HOWTO.htm OSG Exporter HOWTO] |