[x3d-public] [x3d] Proposal for X3D JSON encoding. Array of arrays for any array
John Carlson
yottzumm at gmail.com
Tue Jun 21 05:32:25 PDT 2016
Actually, I'm only asking where MFNode is already valid.
On Jun 21, 2016 8:29 AM, "John Carlson" <yottzumm at gmail.com> wrote:
> Not required, but possible MFInt32:
>
> [5, [6,7],8,[9,1,0]] MFFloat would be similar. I'm not asking for a
> change to Vec or Matrix types.
> On Jun 21, 2016 8:11 AM, "John Carlson" <yottzumm at gmail.com> wrote:
>
> -children:[
> { Transform: ... },
> [ { Transform }, { Transform }],
> { Transform } ]
> On Jun 21, 2016 7:37 AM, "Don Brutzman" <brutzman at nps.edu> wrote:
>
>> Interesting. There may be ways to accomplish what you want already, when
>> writing in source code.
>>
>> Examples would help, pseudo-syntax is OK. Please describe an example or
>> two and let's see what currently works and what doesn't. TIA.
>>
>>
>> On 6/20/2016 8:45 PM, John Carlson wrote:
>>
>>> I am proposing that implemenations and perhaps the standard should
>>> accept arrays of arrays where arrays are found. So any MF* can be a
>>> combination of SF* and MF*, where * is a type. So an MFNode can be a
>>> collection of SFNodes and MFNodes. The implementation may choose to
>>> flatten the array of arrays into a single array.
>>>
>>> What do you think?
>>>
>>> John
>>>
>>
>> all the best, Don
>> --
>> Don Brutzman Naval Postgraduate School, Code USW/Br
>> brutzman at nps.edu
>> Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA
>> +1.831.656.2149
>> X3D graphics, virtual worlds, navy robotics
>> http://faculty.nps.edu/brutzman
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160621/be0b605c/attachment.html>
More information about the x3d-public
mailing list