[osg-users] Multiple render targets

2008-04-06 Thread zhangguilian
greatly appreciate if you can give some examples. Thanks in advance, zhangguilian 2008-04-06 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Problem of Screen Resolution Automatic Change

2008-05-08 Thread zhangguilian
much! zhangguilian 2008-05-09 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] How to write RGB value of the osg::Texture2D

2007-10-20 Thread zhangguilian
(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR); glTexEnvf(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_DECAL); glEnable(GL_TEXTURE_2D); glEnable(GL_TEXTURE_2D); // glShadeModel(GL_FLAT); } But I really don't know how to use this mathod in OSG,Could you please give me an advice,Thanks a lot! zhangguilian 2007

[osg-users] How to write RGB value To the osg::Texture object pixel by pixel?

2007-10-21 Thread zhangguilian
Hi ,I still don't know how to write RGB value to the osg::Texture object pixel by pixel which can be realized in OpenGL as follows: //in openGL #define TEXTUREWIDTH 64 #define TEXTUREHEIGHT 64 GLubyte Texture[TEXTUREWIDTH][TEXTUREHEIGHT][3]; void makeTexture(void) void makeTexture(void) { int

[osg-users] Render To Texture problem in a Reflection algorithm

2007-12-02 Thread zhangguilian
and the area destroyed will move with the window over it (once the window over it moves ,the destroyed area move too) , I don't know what have happend and I eagerly to know how to solve the problem. Thanks very much! zhangguilian 2007.12.3 ___ osg-users mailing

[osg-users] How does data flows

2007-12-19 Thread zhangguilian
can learn? Thanks very much! zhangguilian 2007-12-19 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org