[Git] Nothing shown when VisualDebugger is enabled

Illidanz

17-01-2010 17:22:12

I'm using this commit

Hi,
it's been a while since I've used NxOgre, and now I'm integrating NxOgre in my new Engine and messing with the terrain stuff again.

Everything works fine until I enable the Visual debugger: I can't see the terrain underneath it anymore.

There are two screens (sorry for the crappy quality) taken in exactly the same camera-positions (the camera is rendering in Solid, not Wireframe) and the only difference in the code is:
mRenderSystem->setVisualisationMode(VisualDebugger_ShowAll);

VisualDebugger Disabled:

VisualDebugger Enabled:


Any guess? Should I switch to Detritus?

betajaen

17-01-2010 18:49:00

I can't be too sure, but I think there is an issue in BloodyMess Git with the VisualDebugger. I think it's fixed in Detritus.

Illidanz

17-01-2010 19:12:40

I can't be too sure, but I think there is an issue in BloodyMess Git with the VisualDebugger. I think it's fixed in Detritus.
Trying Detritus now, I'm porting over my old code.

How should I use the new createSceneGeometry function that takes a ShapeDescription as a parameter? The old one needed just an HeightFieldGeometry pointer.
Also, creating a HeightFieldGeometry now requires an NxHeightFieldShape, how can I create that one too?

Thanks in advance

betajaen

17-01-2010 19:14:43

The rule is now;

1. Drop the new
2. Add a Description.

new Box => BoxDescription
new HeightFieldGeometry => HeightFieldGeometryDescription

Illidanz

17-01-2010 19:24:23

Thanks, got it running, but I'm having the same exact issue:



I'm taking a look at the RenderSystem code but I can't find anything wrong ... that's a really dodgy issue.

Also, the Ogre log don't say anything different from the build without the VisualDebugger.

Illidanz

18-01-2010 14:05:02

Apparently, the issue is with my application.

I was setting up a small repro case to show off here, but in this small test it's working with the same terrain/data.

I'll investigate more on the issue and post back here if I have any other problems related to NxOgre.

Thanks