[Therion] CaveView a 3D web viewer
Bill Gee
bgee at campercaver.net
Thu Jul 27 20:38:37 CEST 2017
Hi Wookey
Two comments ...
First, you are right. There is a file called CV.js. However, it has only six
lines. There is one "import" and five "export" statements. Somehow I doubt
that it is really CaveView.js.
Second, the sample index.html file specifically calls out for CaveView.js. I
looked at the page source for the online "full UI" demo and see that it also
calls for CaveView.js.
I modified the sample index.html file to use the name of one of my .lox files.
It loads without error in Firefox, but does not display any sort of window or
menu. All it shows is the line across the bottom telling what the mouse
gestures do.
Does anyone know the author of this program? Maybe they have some additional
suggestions.
Bill Gee
On Thursday, July 27, 2017 11:21:42 AM CDT Wookey via Therion wrote:
> On 2017-07-27 08:40 -0500, Bill Gee via Therion wrote:
> > CaveView requires installation to a running Web server and manual
> > editing of HTML files. It is not a stand-alone application.
>
> But it could be packaged as one, available to run on your local
> webserver. Not sure how useful that is in practice.
>
> > Second, the archive files I looked at seem to be incomplete. I downloaded
> > the source code but could not find any file called CaveView.js.
> >
> > I also tried cloning the git repository with this command:
> > git clone https://github.com/aardgoose/CaveView.js.git
> >
> > Good grief, it downloaded over 260 megabytes! Even that did not have a
> > CaveView.js file.
>
> Heh, hooray for 'the modern way'? There is a CV.js which I presume is
> the top-level file. (and there are two worker threads which need to
> run too). CaveView.js is the application name - there isn't actually a
> file called that, just a directory.
>
> This does look nice and shiny. I'll take at look at what's involved in
> packaging it for use as a local app then people don't need to worry
> about all those setup instructions. I've not fiddled with any node
> stuff before, but expect it to be somewhat painful, from what I've heard
> about the node ecosystem :-)
>
> Looks like it needs the following:
> rollup, which is currently in experimental.
> three.js (already in since stable) (however it wants r85 and debian has 73
> or 80 - this may or may not actually matter) proj4js (already in since
> stable)
>
> So none of that looks too bad, although the rollup piece could be a pain in
> practice.
>
> Wookey
--
Bill Gee
BOINC Statistics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170727/e762c151/attachment.htm>
More information about the Therion
mailing list