MeshCullBox: hidden command?! where's the docs?
Blitz3D Forums/Blitz3D Programming/MeshCullBox: hidden command?! where's the docs?
| ||
Type it up in Blitz3D...MeshCullBox...it get's highlighted and has the syntax form on that little description bar thingy at the bottom of the IDE. "MeshCullBox mesh, x#, y#, z#, width#, height#, depth# |
| ||
It's a recent addition and, since the docs haven't been updated in ages, it doesn't feature. |
| ||
Okay...but how does it work? is it useful? |
| ||
It is useful because a mesh's cull box is automatically generated off its initial dimensions, so if you have an animation where, say, your soldier falls over you will see him clipped once what would have been his standing position goes out of view. MeshCullBox() lets you manually specify the dimensions of the cull box, typically in order to encompass a mesh's entire range of animations. |
| ||
Hmmm...interesting indeed. |
| ||
markcw created some unofficial documentation for the new commands up to version 1.99 with proper html help files to slip right into the official help directories. See link below. MeshCullBox is included and works like a dream. http://www.blitzbasic.com/Community/posts.php?topic=79638#894169 HTH |
| ||
Thank you, ardee! That Main Blitz file deposit is very useful too, lot's of neat stuff there. |