Crystal Space
Welcome, Guest. Please login or register.
October 02, 2014, 11:57:21 am

Login with username, password and session length
Search:     Advanced search
9020 Posts in 2053 Topics by 8580 Members
Latest Member: Erwenis
* Home Help Search Login Register
  Show Posts
Pages: 1 [2]
16  Associate Projects / CEL Discussion / Re: Low performance and crash on: May 23, 2006, 07:18:10 pm
I have tried changing the sizes of the CD boxes:

I'm using the tutorial of the CEL manual to change things over it. I'm using the monkey head to try. So:

this is the InitCD which is given in the entities file for this mesh. The program crashes.
pclinmove->InitCD (
              csVector3 (0.2,0.2,0.2),
              csVector3 (0.2,0.2,0.2),
              csVector3 (0,-0.3,0));         


I change the body size. The program crashes.
      pclinmove->InitCD (
              csVector3 (1,1,1),
              csVector3 (0.2,0.2,0.2),
              csVector3 (0,-0.3,0));

Changes in legs sizes. Crash in both.
      pclinmove->InitCD (
              csVector3 (0.2,0.2,0.2),
              csVector3 (1,0.2,1),
              csVector3 (0,-0.3,0));

      pclinmove->InitCD (
              csVector3 (0.2,0.2,0.2),
              csVector3 (1,1,1),
              csVector3 (0,-0.3,0));

Change in body and legs. IT WORKS!! (The frame rate is not really smooth with 100 monkey heads but playable)
      pclinmove->InitCD (
              csVector3 (1,0.2,1),
              csVector3 (1,0.2,1),
              csVector3 (0,-0.3,0));



I'm newbie and now I realize that don't understand how legs and body works, but anyway I don't see it very logic... Now the meshes itself are not touching the walls because of the body size, could be the reason??. =/


By the way, how can I check the frame rate??
17  Associate Projects / CEL Discussion / Low performance and crash on: May 23, 2006, 02:30:07 pm
HELLO!

How many meshes can I handle using CEL??
 
The problem is that I'm trying to put 100 meshes moving and at the beginning there is not problem. But when more or less 50 are moving against the wall (collider) the program begins to loose performance and with some more meshes the program crashes. Is the same when the meshes begins to collide between them.

The problem seems to be with pclinearmovement Collision Detection. When the CD box is not initiallized (pclinearmovement -> InitCD()) there is not problem.

I'm using the latest pseudo stable, CS and CEL.
1800 centrino laptop
Ati mobiliti radeon x700
1GB RAM
Win XP Home SP2


It shouldn't be computer's problem, so maybe I should update to the last snapshotof CD and CEL (where iPcLinearMovement class is changed)?
Pages: 1 [2]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.131 seconds with 16 queries.