Yes, thanks~
Robert Osfield wrote:
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
__________ Information from ESET NOD32 Antivirus, version of virus signature database 3081 (20080507) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
|
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org