Hi, all
I am a newer for osg and graphic programming. And, now I am try to port osg
with opengles2.0 onto QNX system.
Currently, the osg can be compiled ok. and I use the simple osg Tutorial_02
(GeometryTest.cpp) for testing. The test program can be compiled and linked ok.
When I running the test program on QNX target, I get the following error
information, and I have asked for Mr.Google, but I still cannot get over it,
help to give me your comments, steps, etc. and thanks with kindly.
---error information--
Screen Window (640 x 480) Created with OpenGL ES 2.0 and EGL.
Warning: detected OpenGL error 'invalid enumerant' at Before Renderer::compile
CullVisitor::apply(Geode) detected NaN,
depth=nan, center=(5 5 5),
matrix={
nan nan nan nan
nan nan nan nan
nan nan nan nan
nan nan nan nan
}
CullVisitor::apply(Geode) detected NaN,
depth=nan, center=(0 0 0),
matrix={
nan nan nan nan
nan nan nan nan
nan nan nan nan
nan nan nan nan
}
CullVisitor::apply(Geode) detected NaN,
depth=nan, center=(5 5 5),
matrix={
nan nan nan nan
nan nan nan nan
nan nan nan nan
nan nan nan nan
}
...
---
Thank you!
Cheers,
Matt
-
Update:
It has been fixed.
I have forget to port the getScreenSettings function, once it been ported,
the test program can running on the target.
Thanks for all.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45403#45403
Attachments:
http://forum.openscenegraph.org//files/geometrytest_106.cpp
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org