Hi Radu,
osgViewer::CompositeViewer is the appropriate tool to use when you
want multiple VIew on to one or more scenes. Have a look at the
osgcompositeviewer and osghud examples.
Robert.
On 17 June 2014 21:43, Radu Marin Butoi radu.bu...@mail.utoronto.ca wrote:
Hello everyone,
I am writing
Hi,
If think if you set viewer-setCameraManipulator( 0 ) the view matrix won't be
overwritten by any camera manipulator. I haven't tried it recently but I think
that's how it works.
Otherwise maybe this could work:
Code:
while( !viewer-done() )
{
viewer-advance();
viewer-eventTraversal();
With our distributed rendering setup we don't let the master run till all the
clients are connected. From there we send the master's FrameStamp (so frame
number, reference time, simulation time and just in case also the calender
time) to all the slaves every frame. To manage animations the
Hi,
I think the best way is to go with:
Code:
Viewer.getCamera().setViewMatrixAsLookAt();
Not sure if you can change these values on the fly while rendering, but maybe
you can stop the rendering an after changing the values start the rendering
again...
You can do this with:
Code:
Hi Radu,
I have done 2D display in the past for mapping purpose and what I did, I
kept the default (TrackBall) manipulator and only changed the projection
matrix (viewer-getCamera()-setProjectionMatrixAsOrtho2D()). Then I was
able to pan, zoom my 2D view
Nick
On Wed, Jun 18, 2014 at 10:28 AM,
How can I rotate and osg::ImageSequence???
I tried with this UpdateCallback:
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
{
osg::MatrixTransform* mtLeft =
dynamic_castosg::MatrixTransform*( node );
osg::Matrix mR;
Don't show your example if you do not share the source code.Just showing,
so boring.
2014-06-17 23:43 GMT+08:00 LearningOSG LearningOSG learning...@gmail.com:
Yeah,Have the possibility,if you get the template,then you can also make
such a demo,without write one line osg code,are you familiar
7 matches
Mail list logo