Hi Hesicong, On Tue, May 6, 2008 at 3:59 PM, hesicong2006 <[EMAIL PROTECTED]> wrote: > Hi, Robert, I finally found out > Camera::attach(BufferComponent buffer, osg::Texture* texture, unsigned int > level, unsigned int face, bool mipMapGeneration) > function, the fourth parameter "face" set the Z level of 3D texture. By > setting difference face( Z order), I can successfully write to 3D texture.
Yes the face both refers to the texture cube map face and the z level of a 3D texture. I'll add a doxygen doc into include/osg/Camera to explain the parameters better. Are you happy with things now? Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

