Re: Unfreeable shadow fragments.

jon klein <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On May 11, 2004, at 10:02 PM, Thorolf Tonjum wrote:

> For some reason, freeing the object, does not take it completely away 
> from the model,
> as a result, the simulation becomes arbitary slow after 100 objects 
> have been created and
> destroyed.. sugesting shadow fragments of the original objects are 
> still partisipating in the physics simulation

I'm not sure that the problem is unfreed objects still participating
in the simulation.  If that were the case, I would expect it to get
very slow very quickly.

One thing it might be is a memory issue.  I see that in your code,
you're allocating a number of shape objects every time the
TripodTemplate class is instantiated.  These need to be freed when
the object is destroyed, otherwise you'll be leaking memory and it
will eventually cause the simulation to slow down.

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.