Menu

#28 wxWidgets and ceWindow

open
SceneGraph (10)
5
2005-10-25
2005-10-25
No

hi,

if I derive a class from wxGLCanvas sand ceWindow I
can't see anything.

I add this Window to the SceneGraph with
AddDeviceWindow.

I also see the Clearcolor, so I think OGL works fine with
that thing, but I can't see any Meshes I create.

For example look in CVS ZFXC-Engine/tools/wxSG

Merci

Discussion

  • Enrico Zschemisch

    • assigned_to: kimmi --> enricozz
     
  • Enrico Zschemisch

    Logged In: YES
    user_id=894712

    are you calling ceRenderDevice::GetCurrentDeviceCaps() and
    ceRenderDevice::SetupAPI() after adding the window?
    Can you change the clear color at runtime and see the change
    (does SwapBuffers() work)?

     
  • Bjoern meier

    Bjoern meier - 2005-10-26

    Logged In: YES
    user_id=262377

    are you calling ceRenderDevice::GetCurrentDeviceCaps() and
    ceRenderDevice::SetupAPI()

    Yes I do. I also set the clear color with an random value on
    update and I see a fast colorfull change, so OGL is running.