Multiple Scenemanagers not working

nazgul42

13-01-2008 20:10:53

Using MOGRE, when I try to switch SceneManagers using this code:
RenderWindow.RemoveAllViewports();
RenderWindow.AddViewport(Camera)

some of the time it will quit, saying, "AccessViolationException..." on my root.RenderOneFrame line, or it will say something about a debug assertion

smernesto

14-01-2008 01:55:54

I got some AccessViolationExceptions also when RenderOneFrame is called, but I fixed it, I had some error with compositors.

Well I don´t know why you get that error, but you can try to use the debug dlls of mogre and enabled the native debugger in the project settings of visual studio. this maybe can give you some information if you look at the stack.

nazgul42

14-01-2008 02:04:06

OK, I fixed the AccessViolationException, now its just that I get a debug assertion error about 1 out of 4 switches