Thanks from me too. I have already used it with full satisfaction.
Regards,
Lars


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield
Sent: den 4 januari 2008 11:46
To: OpenSceneGraph Submissions
Subject: Re: [osg-submissions] Replication in OpenFlight

Thanks Brede, changes now merged and submitted.  Many thanks for these
changes BTW, certainly shows that you've put in some real effort
considering the extent to the changes.  It also makes me happy to see
that the new OpenFlight's design is able to cope with new features
without disintegrating into a quagmire as can so easily happen - ooh
remain the old flt plugin :-)

On Dec 29, 2007 9:49 PM, Brede Johansen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The implementation of the replicated feature wasn't as simple as I
> expected.  You could say that it revealed a minor flaw in the current
> design.
>
> The main problem was to handle primary records without a push-pop
> pair.  To solve this I introduced a virtual dispose function in the
> PrimaryRecord class.  It is a replacement for the virtual popLevel but
> also works if the primary doesn't have the push-pop pair.  I could
> have used the record destructor if it wasn't for the lack of the
> document object.  So now we have a place to finalize the OSG
> implementation when all required information is available.
>
> With the dispose function in place it was pretty straight forward to
> extend the insert-transform function with an additional
> replicate-count parameter.
>
> Regards,
> Brede
>
>
> On Dec 27, 2007 3:32 PM, Lars Nilsson <[EMAIL PROTECTED]> wrote:
> > Hej Brede
> >
> > Here is a simple test file which I used during my implementation of 
> > replications.
> >
> > Because I am new to OpenFlight, it feels safer if you instead could submit 
> > your code about replications. The most important for us is to have working 
> > lightpoints strings in OpenFlight.
> >
> >
> > Regards,
> > Lars
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brede 
> > Johansen
> > Sent: den 21 december 2007 22:24
> > To: OpenSceneGraph Submissions
> > Subject: Re: [osg-submissions] Replication in OpenFlight
> >
> > Hej Lars,
> >
> > While looking at your proposed changes I had an idea of a simpler way
> > to implement the replicate feature.
> > The insertMatrixTransform(node,matrix) could be expanded with a
> > parameter for the replicate count.  The call to
> > insertMatrixTransform(node,matrix,count) would have to be postponed
> > until both records (transform, replicate) was parsed.
> >
> > I you have a test model to share I could give it a try.
> >
> > Regards,
> > Brede
> >
> >
> >
> > On Dec 21, 2007 5:09 PM, Lars Nilsson <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > >
> > >
> > > I have added some code to the OpenFlight plug-in. The purpose is to handle
> > > replication.
> > >
> > > The attached files are based on SVN r7716.
> > >
> > >
> > >
> > > It is only tested against our own needs (lightpoints at airports), and it
> > > works fine for us.
> > >
> > >
> > >
> > > However, I found some strange behavior when I tried to optimize the result
> > > with options
> > >
> > > COPY_SHARED_NODES and FLATTEN_STATIC_TRANSFORMS. This will be described in
> > > another submission from me.
> > >
> > >
> > >
> > > Regards,
> > >
> > > Lars Nilsson
> > >
> > >
> > > _______________________________________________
> > > osg-submissions mailing list
> > > [email protected]
> > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
> > >
> > >
> > _______________________________________________
> > osg-submissions mailing list
> > [email protected]
> > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
> >
> > _______________________________________________
> > osg-submissions mailing list
> > [email protected]
> > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
> >
> >
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to