<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin: 0;">Robert,</div><div style="margin: 0;"> <span class="JLqJ4b ChMk0b" style="color: rgb(0, 0, 0); cursor: pointer; font-family: Roboto,RobotoDraft,Helvetica,Arial,sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;" data-phrase-index="0" data-language-to-translate-into="auto" data-language-for-alternatives="en" jsname="txFAF" jsdata="uqLsIf;_;$559" jsmodel="SsMkhd" jscontroller="Zl5N8" jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb"><span jsname="W297wb" jsaction="click:qtZ4nf,GFf3ac,tMZCfe; contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje">There are three different symbols, one is text plus pictures, the text is different, the pictures are the same, one is the line symbol, and the other is the surface symbol. The coordinates of the line symbol and the surface symbol are irregular.</span></span><span class="JLqJ4b" style="color: rgb(0, 0, 0); font-family: Roboto,RobotoDraft,Helvetica,Arial,sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;" data-phrase-index="1" data-language-to-translate-into="auto" data-language-for-alternatives="en" jsname="txFAF" jsdata="uqLsIf;_;$560" jsmodel="SsMkhd" jscontroller="Zl5N8" jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb"><span jsname="W297wb" jsaction="click:qtZ4nf,GFf3ac,tMZCfe; contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje"><br></span></span><span class="JLqJ4b ChMk0b" style="color: rgb(0, 0, 0); cursor: pointer; font-family: Roboto,RobotoDraft,Helvetica,Arial,sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;" data-phrase-index="2" data-language-to-translate-into="auto" data-language-for-alternatives="en" jsname="txFAF" jsdata="uqLsIf;_;$561" jsmodel="SsMkhd" jscontroller="Zl5N8" jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb"><span jsname="W297wb" jsaction="click:qtZ4nf,GFf3ac,tMZCfe; contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje">AnimationPathCallback mainly controls position and posture. It is the update callback of PositionAttitudeTransform, but this PositionAttitudeTransform node should be used in conjunction with other nodes. We use this AnimationPathCallback to control the position and shape of all nodes.
Jack
</span></span></div><div style="position:relative;zoom:1"><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><p>At 2020-12-27 23:19:31, "Robert Osfield" <robert.osfield@gmail.com> wrote:</p><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">How are the symbols represented in the scene graph and on screen? How many different types of symbols do you have?<div><br></div><div>What are the dynamic aspects to the simulated objects, as you mention AnimationPathCallback I presume you are animating a transform. Is this just xyz translations?</div><div><br></div><div>I don't yet understand enough about the specific usage case but in principle I'd suggest looking at geometry instancing as a possible technique for leveraging the GPU more and minimizing the CPU overhead. It may be possible to just position your objects using an osg::UniformArray and an appropriate shader to unpack this and create the required modelview matrix to position/colour each instance of a symbol.</div><div><br></div><div><br></div></div>
</blockquote></div>