HI Nick,
If you Camera that is following the main camera requires the same view
matrix then could you not simply set the Camera::ReferenceFrame to
REALATVE_TF so that it inherits the view and projection matrix from above?
Robert.
On 25 October 2014 08:35, Trajce Nikolov NICK
Hi Robert,
this is really good idea .. Haven't thought of Thanks again
Nick
On Mon, Oct 27, 2014 at 11:52 AM, Robert Osfield robert.osfi...@gmail.com
wrote:
HI Nick,
If you Camera that is following the main camera requires the same view
matrix then could you not simply set the
Hi Robert,
below is my frame code, and this seam to fix it. But, just a question,
shouldnt the main view matrix be updated by the camera manipulator prior to
any other update (I have attached UpdateCallback to the pre render camera
and these seam to be called before the main camera update which
Hi Community,
I am facing the same problem for long time and always have to hack it. I
have prerender camera that has to follow the main camera. My pre-render
camera is always a frame behind the main camera which is updated by a
CameraManipulator.
The update of the Pre-Render camera is done with
Hi Nick,
The update of the CameraManipulator happens at the end of
VIewer::updateTraversal(). The default Viewer::frame() implementation()
runs the event and then update traversal.
Your own application can override any of the viewer.frame() or
updateTraversal/eventTraversal() methods so if you
thanks Robert
Nick
On Fri, Oct 24, 2014 at 5:19 PM, Robert Osfield robert.osfi...@gmail.com
wrote:
Hi Nick,
The update of the CameraManipulator happens at the end of
VIewer::updateTraversal(). The default Viewer::frame() implementation()
runs the event and then update traversal.
Your
6 matches
Mail list logo