#189 new
P

error running demos locally

Reported by P | December 19th, 2012 @ 11:23 AM

The XB PointStream demos run fine if used from a webpage, but they fail when run locally (without a web server). The problem is in psapi.js where around line 400:

AJAX.open("GET", path, true);

the following error is generated:

XMLHttpRequest cannot load file:///home/xxx/develop/XB-PointStream/clouds/lion_1048K_n.psi. Cross origin requests are only supported for HTTP.

Even when changing to code into

path='lion_1048K_n.psi'
AJAX.open("GET", path, true);

the code fails with the same error message.

Can the code be adapted such that local files can be used?

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

<b>XB PointStream</b> (working name)

A cross-browser JavaScript tool which will emulate Arius3D's PointStream viewer. It will be able to quickly render a large amount of point cloud data to the &lt;canvas&gt; tag using WebGL.<br />

Current release <a href="http://scotland.proximity.on.ca/asalga/releases/0.8/xbps-min-0.8.zip">XBPS 0.8</a>

Shared Ticket Bins

People watching this ticket

Pages