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

Attachment: replication_test.flt
Description: replication_test.flt

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to