tentone / potree-core

Potree point cloud viewer library core components for easier integration in a three.js project.
https://tentone.github.io/potree-core/
Other
178 stars 57 forks source link

greyhound #2

Closed ShadyNawara closed 5 years ago

ShadyNawara commented 5 years ago

Hi, i was wondering if the greyhound protocol is supposed to work with potree-core. i cant seem to get it working.

ShadyNawara commented 5 years ago

for some reason taking the example from the readme wasnt working but using the one in the main page worked flawlessly.

Thank you for the great work.

ShadyNawara commented 5 years ago

just in case somebody else needs it. all i did different was

Potree.loadPointCloud(url, name, function(e)
    {
        var pointcloud = e.pointcloud;

        pointcloud.position.set(0,0,0);  // this is what i missed

                 points.add(pointcloud);
    });
tentone commented 5 years ago

Hi

Sorry, im a bit late.

Thanks a lot for your feedback. Im going to update the example on the readme.

Happy holidays