Thanks for 3dPI help+cloneing and LOD 2003-12-17 - By NoiseCrime
Back
-- -- Original Message -- -- From: "Carl Lydon" <sillyp@(protected)>
> Anyway, here is another question. I have been working on a utility that > puts a bunch of external w3d files together into one member. Everything > was going well, then I just realized that my models have all been > permanently simplified as if by the LOD modifier. I tried to reset or > remove any LOD modifiers, and I moved the camera very close before I > cloned a model from one member to another, but it always seems to come > in simplified. Any ideas on this?
Firsttly, you must remove LOD from the modelresource and not the model. Second you must remove the LOD both on the source model before cloning and on the cloned model afterwards.(actually you may get away with ignoring the lod on the source model).
this is the code i've used
on REMOVE_LOD_SETTINGS pMRcount = gWorld.modelresource.count
repeat with k = 1 to pMRcount if gWorld.modelresource[k].type = #fromfile then gWorld.modelresource[k].lod.auto = FALSE gWorld.modelresource[k].lod.level = 100 end if end repeat end
NoiseCrime 2003 www.noisecrime.com Purveyor of cool Shockwave games, toys and new media content.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|