osg::Texture* subloading support is just available for subloading the whole texture. This is done for simplicity.
If you to subload portions of the texture then you'll need to write your own subload callback.
Robert.
On 8/28/06, GMD GammerMaxyandex.ru <[EMAIL PROTECTED]> wrote:
How to use function glTexSubImage2D (without full replacement of a texture)?
osg:: Texture2D* texture = dynamic_cast <osg:: Texture2D *> (geode.getDrawable (i)-> getStateSet ()-> getTextureAttribute (0, osg:: StateAttribute:: TEXTURE));
if (texture) texture-> setImage (image);
_______________________________________________
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/
