Re: [osg-users] Clipping planes for slave camera

2012-07-04 Thread WangWentao
Slave camera relies on main camera matrix and matrix offset, so it's meaningless to set their matrix. By contrast, view camera is independent of other view. 在 2011-9-27,23:05,"He, Yefei" 写道: > Thanks, Robert, I'll take a look at the examples. Another question: in a > composite viewer, if I

Re: [osg-users] Ho to change slave cameras offset matrix later on?

2012-07-04 Thread WangWentao
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" 写道: > Hi, > I would like to change a slave cameras viewOffset and projectionOffset matrix > _after_ I added the camera via viewer->addSlavecamera(

Re: [osg-users] [forum] How to acquire the current location information of a drawable object? And how to calculate the distance between an object and the viewpoint?

2012-07-04 Thread WangWentao
在 2012-7-2,22:48,"Fan ZHANG" 写道: > Hi all, > > I'm quite new to OSG and have no OPENGL background. > > I want to know how to acquire the current location information of a drawable > object? > Actually the initial position of the geometry is set by me. But when I move > the objects with mous

Re: [osg-users] Parallel Rendering Problems using NVidia GPU cards in Windows

2012-06-29 Thread WangWentao
how about 2 same GPUs? 在 2012-6-29,21:18,Stefan Eilemann 写道: > > On 26. Jun 2012, at 8:57, GeeKer Wang wrote: > >> In fact, Windows NVidia driver will try to send OpenGL cammands to all GPU >> when SLI model disabled. > > NVidia drivers >=256.0 send the commands to the most powerful GPU an