Hi,

On the upside, I've been studying the workings of OSG and looking at the source 
code really helps. However, my glTexSubImage2D continues to have zero effect on 
its code. I'm doing this via a operator StateAttribute callback on the texture, 
binding it, then trying to write pixels. I've also discovered the scoped lock 
mutex, which is really cool.

However, the gl operation still doesn't do anything.

When I look at how Texture2D.cpp does it, it uses 
`glPixelStorei(GL_UNPACK_ROW_LENGTH, x);` and the like, but I've no idea how to 
use these...

Thank you!

Cheers,
Johny

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70383#70383





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to