Tutorial 06 only works with Direct3D9?

knightley

10-12-2006 19:01:27

when i use:

GetRenderSystemByName("OpenGL Rendering Subsystem");

seems something will go wrong with the methode:

private void Go()
{
Show();
while (mRoot != null && mRoot.RenderOneFrame())
Application.DoEvents();
}

:(

thanx

Bekas

12-12-2006 13:42:54

seems something will go wrong with the methode
What do you mean ?

madmark

15-12-2006 16:17:56

Thats because the code following the rendersystem "get" is D3D specific, you would need to find the appropriate settings for those function for OGL.

denreaper

26-12-2006 23:55:38

Also I believe there is something wrong with the tutorial. Prior to completing it I had 100% cpu usage when running the app and had to rework it by updating via paint().