HI David,

In the dev version of the OSG we have moved to a new viewer library
that replaces osgProducer/Producer.  The osgwindows example still
exists and in general behaves the same.

Could you try it and see the if the problem you are seeing is resolved.

  http://www.openscenegraph.com/osgwiki/pmwiki.php/Downloads/SVN

Robert.

On 3/1/07, david anaya <[EMAIL PROTECTED]> wrote:
Hello
I am using osg 1.0
I am  trying to generate two windows like the example osgwindows.
The example osgwindows work fine but my program has the following problem:

When I run my program both windows are created and the osg model is rendered
but
when I move the mouse over one of the windows or press any of the special
keys I get
the following error:

Debug Assertion Failed!

Program: E:\myexample.exe
File: dbgdel.cpp
Line: 52

Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)

If I only geneate one window, in the console appears the message:
"Producer::WGLExtensions: could not create and initialize the temporary
window
 Producer::RenderSurface: WGL extensions not available"

the windows is created and if I move the mouse or press a special Key it
crash.

If I use "new osgProducer::Viewer()" inside of "new
osgProducer::Viewer(cfg)" it runs very
well.

Do somebody knows what is happening?



Thanks in advance,
David

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to