[x3d-public] Removal of Layout component in X3D v4

Andreas Plesch andreasplesch at gmail.com
Fri Oct 11 10:56:37 PDT 2019


Here is the globe example with html layouting ported to x_ite with
x_ite-dom integration:

https://andreasplesch.github.io/Library/Examples/html5/PopGlobe/index_xite.html

The x_ite-dom integration is the bridge between html detecting mouse
hovering and x3d then animating the graphics.

https://github.com/andreasplesch/Library/blob/gh-pages/Examples/html5/PopGlobe/popGlobe.x3d
has the simplifications from the original x3d since now all text
layout components are in the html file.

The x3dom html is almost identical:

https://andreasplesch.github.io/Library/Examples/html5/PopGlobe/index.html

Cheers,

-Andreas

On Tue, Oct 8, 2019 at 7:08 PM Andreas Plesch <andreasplesch at gmail.com> wrote:
>
> I believe one reason why removal of the Layout component is considered
> is because it was not widely implemented and because it duplicates
> layouting functionality provided by HTML/DOM. That is why it will not
> make a lot sense to add a layout component to x3dom.
>
> Here is Holger's example ported to x3dom:
>
> https://gist.githack.com/andreasplesch/632c8960e0c737cdfb03f6f611d6fe03/raw/3dbcb9a4ef1ec344d9755abe333f6b89f0c823cf/Ax3domIndex.html
>
> This uses the original css based layout from
> http://globe.chromeexperiments.com/ directly.
>
> Using css and standard HTML/DOM layouting removes a lot of complexity
> from the x3d scene. It does then require tighter integration of HTML
> and X3D. Using x_ite-dom would be enough for the example to run in
> x_ite while using css layouting and standard HTML text [If there is
> interest, I could port the example to x_ite-dom as well]. There is a
> lot of technology available, the latest is CSS grid. Web developers
> are used to this kind of layout.
>
> Of course, standalone, eg. non-web X3D browsers like Castle or freeWrl
>  certainly still benefit from a Layout component.
>
> The question then becomes if there should be an attempt to harmonize
> web based layouting and standalone layouting although good ideas would
> be needed.
>
> Cheers,
>
> -Andreas
>
> --
> Andreas Plesch
> Waltham, MA 02453



-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list