Memory and data
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/10/2003 at 14:17, xxxxxxxx wrote:
A friend of mine has a mysterious problem with his C4D project...
The file contains only one polygonal object (2018 points and 2039 polygons) but the memory indicates 16133 ko, and the c4d file size is 15.7 Mo !
I export the object in OBJ format, then I import this one in a new project, and now the memory indicates 119 ko, the file size is 194 ko, it seems to be normal.
So, any idea about this invisible data storage ?
Does C++ plugins can explain this memory using without clear temporary data ? -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/11/2003 at 07:49, xxxxxxxx wrote:
Maybe check if the object contains dozens of unused ClaudeBonet or UVW tags. Note that ClaudeBonet tags are not visible in Objectmanager, you need to check this using op->GetTag(Tclaudebonet)
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/11/2003 at 08:13, xxxxxxxx wrote:
Thanx Beaker.
In fact, I've coded a small Coffee expression to understand :
main(doc,op)
{
var nb_tags=1;
var cb=op->GetFirstTag();
while (cb)
{
cb=cb->GetNext();
if (!cb) println("no more tag");
else nb_tags++;
}
println(nb_tags);
}
So it returns 1997 tags associated with this polygonal object, only 3 tags are visble (this Coffee expression, a phong tag and the UVW tag). -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/11/2003 at 13:57, xxxxxxxx wrote:
Well - that's a whole lot :-)) How on earth did it get 1997 tags...!?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/11/2003 at 14:08, xxxxxxxx wrote:
This model was created by a friend, and, this polygonal object must contain only 2 hidden tags : PolygonTag and PointTag.
PhongTag and UVWTag are visible.
But I think he used some plugins to model his character, and probably, they store their own data in hidden tags, and each action creates a new hidden tag, finally, the object is associated with thousand of hidden tags.
Bad code ?
It's the only answer I found...