[osg-users] Copy a region of an image x,y,w,h / s,t,r

Johny Canes psijsma at gmail.com
Tue Feb 27 04:00:56 PST 2018


Hi,

Okay I found this in the docs

int 	s () const
 	Width of image. 
int 	t () const
 	Height of image. 
int 	r () const
 	Depth of image. 

However, the word Depth refers me to an osg class, which is like an enum / util thing or a state attribute of sorts.

How can I specify x,y,w,h instead?

Thank you!

Cheers,
Johny

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







More information about the osg-users mailing list