|
From: <luc...@li...> - 2001-10-15 10:30:46
|
I managed to do it:
the trick is to save a safe DC and RC for the current window and then
adding the following to the window drawing routine:
if (m_pViewer)
{
::wglMakeCurrent(m_hDC,m_hRC);
m_pViewer->redraw();
}.
While writing this code i have seen thing that seems a bug: if i pass
to the vrmlscene constructor a wrong filename i dont get any message
error and the vrml world is displayed as empty.
Luca
|