#86 open
Andor Salga

Change library interface

Reported by Andor Salga | February 20th, 2011 @ 08:57 PM

We should update the library interface to allow users to instantiate and use the library in a more JavaScript-style way.

var ps;

function start(){
  var ps = new PointStream({
        canvas:document.getElementById('canvas'),
        pointCloudSrc: [{name:'mickey', src:'mickey.asc'}], 
        onRender: function(ps){
                     ps.render(ps.pointClouds['mickey']);
                    }
  });
}

Comments and changes to this ticket

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