![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
01-28-14, 03:03 PM
|
#21 |
|
Black Magic
![]() |
Another piece of the Granny puzzle fell into place today
I was playing around with the lifeboat GR2 (CMD_smallboat) and I turned on bounding box rendering and saw that the bounding box for the DMG_col mesh was not where I thought it should be:I looked over the code for any errors and couldn't find anything wrong with my code. Next I fired up Granny Viewer to see how it renders them: Look at that! That little tooltip says: 'Toggles whether or not yellow boxes are drawn to indicate the OBB bounds of each bone for each mesh' This means that the bounding box's position (center) is determined by the bone's position (the bone in each bone binding). This also means that if a mesh has more than 1 bone binding then it will also have x bone binding bounding boxes. I'm updating my code for this new discovery. Now I understand at least one reason for the mesh bone bindings. |
|
|
| Thread Tools | |
| Display Modes | |
|
|
