Wierd Geo Cache Problem

52 views
Skip to first unread message

Lokesh Kumar

unread,
Feb 17, 2015, 10:13:04 PM2/17/15
to python_in...@googlegroups.com


HI all,

Need your help sorting out some weird problem in our pipeline.
We are using Geometry Cache in our pipeline. Every thing goes well but problem occurring when caching the characters having multiple objects (for ex:- A bird having multiple duplicated wings. A character having multiple duplicated bolts and nuts). When ever i cache these kind of characters, mayaUI crashes and file doesn't save too.

I have attached some files of model, rig and cache files.

Attachment contains
Balls_Anim.ma
Balls_Cache_File.ma
Balls_Model.ma
Balls_Rig.ma

our final file is Balls_Anim.ma which has Balls_Rig.ma referenced 4 times and animated. Cache has been exported from each reference.

After exporting i have created Balls_Cache_File which has Balls_Model.ma file referenced 4 times. Now, I have to import cache to this Balls_Cache_File.

When importing cache, file is being crashed and UI is getting crashed.

Thanks in advance..

Files available at
https://www.dropbox.com/s/1qto3f9kdb..._Test.rar?dl=0

Thanks in advance...

Ajay Kumar.R.P

unread,
Mar 4, 2015, 10:01:45 AM3/4/15
to python_in...@googlegroups.com
Hi,

    i also experienced the same problem but it happened to me only when the number of cache nodes exceeded 500 so if you could combine some geo during modeling and reduce the count and then create the cache you could work a way around.

Ajay

Lokesh Kumar

unread,
Mar 17, 2015, 1:28:53 AM3/17/15
to python_in...@googlegroups.com
Hi Ajay,

Thanks for the reply.
I will try reducing the polygons. Does this problem occurs when we have duplicated references.

Thanks and Regards.

Ajay Kumar.R.P

unread,
Mar 17, 2015, 11:03:29 AM3/17/15
to python_in...@googlegroups.com
hi lokesh,

As i said earlier i think its because of the cache File node created when you cache the geometries and when it exceed 500 and i dont think its because of duplicating reference. below pasted is a small script which will give you the number of cache nodes the file have, it might help to find whether you are about to reach the limit.

import maya.cmds as cmds
cac = cmds.ls(type = 'cacheFile')
if cac:
    print(len(cac))

Hope it helps
Ajay RP
Reply all
Reply to author
Forward
0 new messages