Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Large numbers of duplicated objects (https://simplymaya.com/forum/showthread.php?t=6796)

Alan 09-07-2003 11:11 PM

Large numbers of duplicated objects
 
hi guys I am creating an animation with lots of spiders in it running around over some terrain. I've run into a problem when it comes to duplicating the objects.

At the moment I have it setup so that i have three models each with their own animation /ik/geometry etc. And all grouped together:

e.g. spiderGroup1, spiderGroup2, spiderGroup3.

Now what I want to do is select a random one of those and duplicate it so that I have another one (which then gets it's keyframe xyz translations and rotations loaded in via MEL). The models and animation are quite simple and only last for 200 frames at the moment.

The problem I get is that after about 40 duplications maya starts to fall over and die eventually crashing into a pile of 0's and 1's and begging for mercy ;)

Is there a simpler way of doing this? maybe instancing? maybe referencing? or even dummy objects that are replaced at rendertime with the correct ones? or even using readArchive() from PRman to load up the animation at rendertime?

Please any help with this would be fantastic

:)
Alan

ragecgi 10-07-2003 03:45 AM

Looks like you may have answered that yourself:)

Try Instancing your geometry to particles, and when you do so, there are simple ways to just watch cubes and/or lowres version(s) of your objects/characters then switch over to your full characters at render time.

Then try the Renderman thing:)

Alan 10-07-2003 01:20 PM

i got it done! :)

Just in case people hit this prob here's what I did:

Create a group with my skinned chacacter bones and all. Then instance the geometry only. Move the geometry outside of the group and then parent it to a locator. You can then key the locator to move around the scene whilst having your animation from the original character (e.g a walk cycle) still playing :D

Fantastic
:D

Alan

BabyDuck 10-07-2003 01:52 PM

that is a cool trick - did you try to test it with a few thousand instances ??

good luck for the project - time is running out slowly :p

Alan 10-07-2003 02:12 PM

ok i've done 200 and I'm gearing up for a big one (coupla thousand) but i need to make some changes first and then see if my c++ can handle it! ;)

ragecgi 10-07-2003 03:04 PM

COOL M8!!!!!


All times are GMT. The time now is 08:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018