[Dir3d-l] cloning models speed - optimisations?
Mal
mal at candomultimedia.com
Fri Dec 23 09:28:53 EST 2005
Hey there Ben,
When I was making a DNA viewer ( with huge amounts of models, albiet
simple ones ), it was a lot faster to
- create a new model from the to-clone models resource
- apply the shader of the to-clone model
than it was to use the Clone method ( especially when the scene was
fairly heavy ).
Mal
>Hi list,
>
>Just wondering if anyone has any tips on speeding up model cloning - I'm populating a scene with multiple copies of various 3d objects, which originally come from individual cast members. My method is this:
>
>
>repeat with every type of object:
> Clone model from its source cast member into my scene (local copy)
> Repeat with every instance of this type of object required in scene:
> clone 'local copy' of object, and position as required.
> end repeat
> unload source cast member
>end repeat
>
>
>It's currently pretty slow at cloning the models - they're not 'deep' clones, and almost all of the clone operations are instances within the same world, with the exception being the first time a new type of object is encountered and pulled in from another cast member.
>
>any tips?
>
>
>
>- Ben
>
>
>_______________________
> duck_at_robotduck.com
> www.robotduck.com
>
>_______________________________________________
>Dir3d-l mailing list
>Dir3d-l at nuttybar.drama.uga.edu
>http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
>
>
>
More information about the Dir3d-l
mailing list