All pastes #773639 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-14 18:02 UTC
rendered paste body
// This is a sample draw info config file
// you use them to define a complex mesh that uses more then
// one input model ( obj file ).

// all file names should be relitive to the current working dir
// and must be in double quotes (") if they contain a space

// The first option is for static geometry
// all faces and materials in the static file
// will be added as normal mesh faces to the resulting
// bzw file. They can not be animated.

// static cone.obj

// the next option is for bounding geometry
// all faces in this file will be added
// as 'invisible' faces used for collisions only
// like the static geometry, they will be done
// as standard faces, and can not be animated.

 // bounding pac3.obj

// you can also give the draw info anim commands
// right here in the config
// they will simply be copied to the file
// they must be in double quotes (")
// you can have more then one, just put each on it's own
// line starting with the anim keyword
//anim "angvel .3"

// lastly you can add a list of models to be used as the LOD
// geometric representations. the first model you define as
// an LOD will be the "top" or "0" LOD, and will be used to
// compute visibility extents. LOD meshes are used for drawing
// only, and are not collideable. They will be sorted into
// openGL display lists for speed.

lod 0 shuttle-good2.obj

// lod 0.2 "lowerResFile.obj"

// The numeric paramater after the LOD word is the pixel distance
// used by the LOD

// Note due to how LODs work, only the material of the first face in each
// obj group will be used for all faces in that group if the OBJ is used
// as an LOD