debugger is not showing lines

mako

16-04-2007 18:17:03

well, my debugger is ok, It really works fine, however, when I add a terrain as a mesh(a detail one), the debugger stops showing me the lines of the newton bodies

p.s.: I'm using TreeColision to wrap my mesh.

Acid_Gambit

16-04-2007 18:29:43

I had the same problem when I used a high detailed terrain mesh. The tree collision did not cover my entire mesh but rather 45% to 50%. I re-modelled the mesh in 3ds bringing back the amount of segments (less detail) and it worked.

This is the thread I am talking about:

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=3947

I'm not sure though if you have a similar problem.

mako

16-04-2007 20:26:05

one thing to notice, is that is not just my terrain that does not have debug lines, none of my objects have.

if my terrain is not loaded, the scene works perfectly.
else no lines is showed.

mako

20-04-2007 19:28:10

it seems that is because the high quantity of polygons. if I load my terrain alone, the lines appears.

walaber

20-04-2007 21:00:08

Ogre::ManualObject might have a limitation on the number of polygons... or your video card for that matter.

We could probably modify OgreNewt to make an individual ManualObject for each body in the scene, instead of one giant object... that would probably help. modifying the Debugger class to do that should be pretty simple.

Game_Ender

21-04-2007 15:25:01

You could also speed it up by doing that and not recreating the manual objects. Create them once and just rotate and position them as needed.

mako

23-04-2007 17:13:54

well, the problem is that the terrain is just one object.

Game_Ender

23-04-2007 17:42:29

Well as long each object fits within the limits of ManualObject you will be fine. Currently all objects toghether have to fit into the limits of the ManualObject.

mako

23-04-2007 17:56:34

and what is this limits? is a number of polygons? the size of the mesh?

Game_Ender

23-04-2007 20:39:31

I have no idea, it is just the reason walaber posted above, no harm in giving it a try, should increase performance as well.