Posted: Thu Mar 15, 2007 6:02 pm
mdl format supports LOD
its what the template.mdls are for
i can make LOD work in mdledit with the LOD slider, though it stays on highest most of the time, only when you get further to the other end does it kick in.
how do the numbers (8,32,64) relate to range in allegiance, say at over 8k to the rock it will use the model given for 8, at 6k the 32 one, 64 3k or something
is there a function that relates them to distance? of the camera (player) in alleg to the object
do they effect performance, say if i made the lod's change quite a bit, say lowest at 3k and only reach max detail when your really close, would that yield better performance? or is putting loads of LOD versions in one file not worth the increased file size?
i'm deciding if i should include different LODs in my rocks, whether i should make versions with no different LODs, or perhaps a multi LOD version too?
also, CVH boxes
would it be bad if i were to use multiple cvh boxes on my rocks? (i know allegiance supports multiple cvh boxes)
right now i'm using a single 100 vert cvh box, but i could get it to fit better if i used more.
how much of an impact to people would increased numbers of cvh boxes make, even if the total number of verts remained the same
%^&* this was supposed to go into misc dev...
its what the template.mdls are for
Code: Select all
use "effect";
frame = ModifiableNumber(0);
object =
LODGeo(
ImportXFile("name.x", frame),
[
( 64, ImportXFile("name_static.x", frame)),
( 32, ImportXFile("name_a.x", frame)),
( 8, ImportXFile("name_b.x", frame))
]
);how do the numbers (8,32,64) relate to range in allegiance, say at over 8k to the rock it will use the model given for 8, at 6k the 32 one, 64 3k or something
is there a function that relates them to distance? of the camera (player) in alleg to the object
do they effect performance, say if i made the lod's change quite a bit, say lowest at 3k and only reach max detail when your really close, would that yield better performance? or is putting loads of LOD versions in one file not worth the increased file size?
i'm deciding if i should include different LODs in my rocks, whether i should make versions with no different LODs, or perhaps a multi LOD version too?
also, CVH boxes
would it be bad if i were to use multiple cvh boxes on my rocks? (i know allegiance supports multiple cvh boxes)
right now i'm using a single 100 vert cvh box, but i could get it to fit better if i used more.
how much of an impact to people would increased numbers of cvh boxes make, even if the total number of verts remained the same
%^&* this was supposed to go into misc dev...