Re: [osg-users] What wrong with my "SubloadCallback" derived class?

2016-03-24 Thread Zheng Li
I had solved the problem,I should set the min filter as linear. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66624#66624 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] What wrong with my "SubloadCallback" derived class?

2016-03-23 Thread Zheng Li
Hi, I wrote a "SubloadCallback" derived class and attach it to a texture2D object to update image dynamically,but unfortunately the texture image can not be updated,the texture always show a piece of white;below is my code,what wrong happened to it? void main() { // the class to

Re: [osg-users] [3rdparty] What wrong with my "SubloadCallback" derived class?

2016-03-23 Thread Zheng Li
sorry,I think I should post this topic to "OpenSceneGraph Lists->General" catalogue,I had post a same one under "OpenSceneGraph Lists->General" catalogue,so please delete this one; -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66610#66610

[osg-users] [3rdparty] What wrong with my "SubloadCallback" derived class?

2016-03-23 Thread Zheng Li
Hi, I wrote a "SubloadCallback" derived class and attach it to a texture2D object to update image dynamically,but unfortunately the texture image can not be updated,the texture always show a piece of white;below is my code,what wrong happened to it? void main() { // the class to

[osg-users] Whether a viewer is required for every osg based application?

2016-03-19 Thread Zheng Li
Hi, I study the "osgscreencapture" example,the example also create a viewer instance when "--pbuffer-only" is specified although there is no window is created,so whether a viewer instance is required for every osg based app? if my app only do offscreen rendering that no need for any screen

Re: [osg-users] Whether a viewer is required for every osg based application?

2016-03-19 Thread Zheng Li
scrawl wrote: > Hi, > > osgViewer is what dispatches updates to the scene graph, fires off cull and > rendering, manages the camera, and abstracts the platform-specific graphics > context creation routines, among other things. You could bypass osgViewer if > you implemented these tasks