[x3d-public] LOD first level_changed event

GPU Group gpugroup at gmail.com
Sat Apr 7 06:55:01 PDT 2018


> FreeWrl ... do not show text even after initialisation and
> changing LOD levels. So they may not support level_changed.
freewrl had a bug, fixed for next release, shows Choice 0 over box on
startup.
-Doug


On Fri, Apr 6, 2018 at 7:21 PM, Michalis Kamburelis <
michalis.kambi at gmail.com> wrote:

> 2018-04-07 2:11 GMT+02:00 Andreas Plesch <andreasplesch at gmail.com>:
> > LOD has an outputOnly level_changed field which indicates the level
> > index of a child when it is activated.
> >
> > Should the level_changed event be generated the very first time the
> > LOD activates any of its children ?
> >
> > It looks like it should and the spec. does not treat the
> > initialization as a special case: When L(d) is activated for display,
> > the LOD node generates a level_changed event with value i where the
> > value of i identifies which value of L was activated for display.
> >
>
> Castle Game Engine and view3dscene do generate level_changed on 1st
> display. When implementing, I thought that it is sensible: the display
> changes from "nothing" to "that child node", so I was thinking just as
> you :)
>
> But I have not tested other X3D browsers about this. A confirmation
> would be welcome. Maybe my old LOD testcase may be adapted?
> https://github.com/castle-engine/demo-models/blob/
> master/navigation/lod_test.x3dv
> . Though it uses Logger node (an extension only in InstantReality /
> CGE) for watching level_changed.
>
> Regards,
> Michalis
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180407/37963a2b/attachment.html>


More information about the x3d-public mailing list