The sample viewer showcases a sample las dataset with >10 million color points, and uses shell and nodejs scripts to convert and write the binary pnts data.
There are lots of room for improvements in this script - specifically the RTC coordinate conversations currently are not lining up heights correctly (a manual adjustment flag has been included but suggestions are appreciated), and the tileset.json is being generated for each chunk of data as opposed to grouping as children in a single tileset file - but perhaps a good starting point for those looking for this lidar conversion functionality.
Of course this may well change in the near future as the 3d-tile points specs develops.
Comments / improvements are of course encouraged !
I tried your scripts (with the link of the data on GitHub) for convert LAS to pnts but I have some errors at the end of the script:
ERROR: unknown argument 'stadium_all.las'
[...]
ERROR: unknown argument 'image.tif'
[...]
Do you think it's come from the version of Linux? I work on Debian GNU/Linux 7.7 (wheezy).