Slave is just a simple struct. You can access its member directly.
So setter/getter are not necessary.
On Thu, Jul 5, 2012 at 1:52 PM, Torben Dannhauer tor...@dannhauer.infowrote:
Hi,
If the slave is set to RELATIVE_RF (default), then the slaves view matrix
and projectionmatrix is
Hmpf
thanks for the tip!
I must have been very tired to overlook this very simple access *shame*
Thank you!!
Cheers,
Torben
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=48715#48715
___
osg::View::getSlave(index)
Get slave and do everything you want, Viewer will update their matrixs each
frame.
在 2012-7-1,22:03,Torben Dannhauer tor...@dannhauer.info 写道:
Hi,
I would like to change a slave cameras viewOffset and projectionOffset matrix
_after_ I added the camera via
Hi,
If the slave is set to RELATIVE_RF (default), then the slaves view matrix and
projectionmatrix is overwritten each frame by multiplying the min camera matrix
with the slaves offset matrix.
Therefor I do not want to change to slaves matrix but the slaves offset matrix.
It seems I have to
4 matches
Mail list logo