<div dir="ltr"><div dir="ltr"><div dir="ltr"> I could load 3,000 animated models and have them perform their animations independently of each other.  <div dir="ltr">I managed to make it work by cloning from the shared node using:<br></div>instanceNode = sharedNode->clone(osg::CopyOp::DEEP_COPY_CALLBACKS | osg::CopyOp::DEEP_COPY_NODES));<br><br>Thanks so much!<br></div></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Mon, Apr 20, 2020 at 11:52 AM Mauricio Franco <<a href="mailto:maufranco@gmail.com">maufranco@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div>Hi Robert,<br>Thanks a lot for the prompt answer.<br>Assuming the CPU can handle the load or that we reduce the number of instances, how can I achieve independent animations?<br><br>Let's say I have a node containing the FBX file loaded with osgDB called SharedNode.<br>And I have two instances sharing the same node:<br>Instance1:  PAT->SharedNode<br>Instance2:  PAT->SharedNode<br><br>I extract the animation manager from the shared node and place a copy of it in the PATs of each instance.  Then I play one instance and then both instances start to play.<br><br>Is it possible to share the FBX model while achieving independent animations?<br><br>Thanks in advance,</div><div><br>Mauricio.<br><br><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
</blockquote></div></div>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/CAOzxF1MWjWs8rnohzB4Mi3yVQ6efFTsFu%2B_DQCHDf8C5cBXiEw%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/CAOzxF1MWjWs8rnohzB4Mi3yVQ6efFTsFu%2B_DQCHDf8C5cBXiEw%40mail.gmail.com</a>.<br />