|
|
|
Tell us what you think of the site.
|
Autodesk Media & Entertainment User Community
|
Autodesk® 3ds Max®
|
|
Autodesk® Maya®
|
|
Autodesk® Softimage®
|
|
Autodesk® MotionBuilder®
|
|
Autodesk® Mudbox™
|
|
Autodesk® ImageModeler™
|
|
Autodesk® Sketchbook® Pro
|
|
Autodesk® Smoke on Mac®
|
| Create Geometry based off another's Bounding Box
|
|
|
I have a need to create a box or capsule based on the size, position and rotation of each bone in a Biped rig. The endstate is that I have a new “rig” of only max primitives. Due to export requirements, I cannot scale the objects so their size has to be based on the bone’s size.
I’m thinking to use the bone’s bounding box to get the size, position and rotation and use that information to create each object. Is this the right approach? Any ideas to make this more efficient?
~Dave
http://www.max-realms.com - 3ds Max models, tutorials and forums
Max3-2010
|
|
|
|
Do they have to be Primitives? You can convert any Biped bone into a Mesh (or other type) object by right-clicking it | Convert To. In MXS use convertTo [node] [class].
Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.
|
|
|
|
I already wrote the code for converting the biped bones to editable_mesh for export and import into the PhysX engine as ConvexMesh objects. But this routine would be for export and import to the engine as PhysX shapes, ie. box, capsule or sphere.
My export script gives a choice of using box, capsule, sphere or mesh objects for import into the PhysX engine as these are the options of the engine itself. The mesh part of the script is complete.
~Dave
http://www.max-realms.com - 3ds Max models, tutorials and forums
Max3-2010
|
|
|
|
|
|