JavaScript, Browser Object, VR with Hotspots?
Mike Bonner
bonnmike at gmail.com
Sun Feb 5 22:04:25 EST 2017
Yeah, pretty sure that will work. I just can't test it locally because I'm
not set up to actually be able to test. (the project comes with a bunch of
stuff, but doesn't function (missing resources I'm sure) when I try to
point to the local file.
Still feel silly that I was editing local files.. and expecting it to
change what I was getting from the server. (DOH)
On Sun, Feb 5, 2017 at 7:54 PM, Sannyasin Brahmanathaswami via use-livecode
<use-livecode at lists.runrev.com> wrote:
> On 2/5/17, 12:08 PM, "use-livecode on behalf of Mike Bonner via
> use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of
> use-livecode at lists.runrev.com> wrote:
>
> Thx for the info. Honestly, all I want is for the example in the
> dictionary to work for me. (and yes, the javascript causes the lc
> side
> handler to fire, but.. No parameters passed.) I'll read through the
> stuff
> you linked and see what I can learn. Thanks!
>
>
> Right… OK, well back to John's problem:
>
> Passing params to LC
>
> I think you are right:
>
> "Basically, pass the value of me.hotspot.id to livecode as part of the
> function call, and add a switch block that gives a message based on the
> hotspot id."
>
> then, theoretically just click anywhere on the pano should fail to evoke
> the last call (to be tested)
>
> If it does, it goes back to: Browser widget is possibly caching the last
> event params?
>
> I have more than a passing interest in this. could be very useful. Those
> going Richmond's "simple image in native LC control" path may be easier. I
> don't know how far you can take the pano model with a still image before
> requiring the software to tile specialized sliced images that are
> dynamically stitched for the 360. which is what Pano2VR is doing (and
> also Kolor's similar software).
>
> it can be done… a bit of a hack here because the distortion is a bit more
> than what the human eye would actually perceive but it works, would not
> require expense pano software… and if you had A number of these you could
> create a robust VR with just JPGs. Assumes some front end production skills
> to create them of course.
>
> http://www.eisklotz.com/photography/360-panorama/360-
> panorama-jpg-for-free/
>
> single image:
>
> view-source:http://www.eisklotz.com/wp-content/uploads/2016/01/IMG_2226-
> Panorama.jpg
>
> he used blender for the stitching…
>
> only 243K… Adding hotspots and controlling the view with LC should be easy…
>
>
>
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list