Code archives/3D Graphics - Misc/B3D Model Hierarchy
The code archive is locked. These are the original blitzbasic.com code archives, kept so they can still be read. No new entries, edits or comments can be made here. To join in, head over to the Blitz3D+ code archives.
This code has been declared by its author to be Public Domain code.
Download source code
| Recursive B3D Model Hierarchy Function. Can be used to create list of 3D Model hierarchy pivots. |
model%=LoadAnimMesh("model.b3d") b3dhierarchy(model%) Function b3dhierarchy(parent%) children%=CountChildren(parent%) For loop = 1 To children% child%=GetChild (parent%,loop) Print EntityName$(child%);<-- do something w/ child% here. b3dhierarchy(child%) Next End Function |
Comments
None.
Code Archives Forum