[x3d-public] Proposed Standard additions. MFStringSequencer and MFNodeSequncer

John Carlson yottzumm at gmail.com
Sun Sep 10 22:35:02 PDT 2023


We can do this with SAI by adding and removing routes.  But the question
is, can we do it declaratively, without script?

John

On Mon, Sep 11, 2023 at 12:23 AM John Carlson <yottzumm at gmail.com> wrote:

> Say I want to take a [0,1] fraction key and map it to an MFString
> keyValue.  How do I do that in X3D?
>
> This might be used for alternating Text nodes, or ROUTEs (as nodes), see
> below.
>
> Also, can I take a similar key fraction and map to keyValue MFNodes?
>
> I realize that Switch plus and ScalarInterpolator would satisfy the latter.
>
> I’m not clear on how to do the former. This would be key to sending events
> to ROUTEs, changing the from/to node names and fields.
>
> This seems like a very powerful feature!  I just don’t know how to route
> SFString events to route statements.  Is there an alternative?
>
> Maybe I should create an Uber X3D?  Can we add DEF and name to ROUTEs, and
> make them first class nodes?
>
> I’m not sure how performant this would be, or even how implementable.
>
> It’s probably an idea to throw in the trash!  It’s derived from trying to
> reduce source code size.
>
> Thanks!
>
> John
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230911/67bce38c/attachment.html>


More information about the x3d-public mailing list