Potree - WebGL pointcloud viewer

3DUserNet, Cintoo, GeoSignum Pointer, Pillr, Pointbox, Pointerra, Pointly, PointSharePlus, Pythagoras, Potree, Vercator, WebShareCloud, Etc.
User avatar
fabrizio.cavallo
I have made <0 posts
I have made <0 posts
Posts: 6
Joined: Fri Nov 09, 2012 11:57 am
11
Full Name: Fabrizio Cavallo
Company Details: FABRIMAR S.r.l
Company Position Title: Administrator
Country: Italy
Linkedin Profile: Yes

Re: Potree - WebGL pointcloud viewer

Post by fabrizio.cavallo »

Does anyone have experience with the new Riegl RiAlity?

Excuse me if the question may seem off-topic.
Fabrizio Cavallo - CEO
Fabrimar S.r.l.
Via Pitagora n° 24 – 74123 Taranto – Tel. 099.4526930 – Fax 099.22098308
Via Festa del Perdono n° 1 – 20122 Milano – Tel. 02.87156430 – Fax 02.93667828
Italy
mschuetz
I have made 40-50 posts
I have made 40-50 posts
Posts: 40
Joined: Fri Nov 01, 2013 7:03 am
10
Full Name: Markus Schuetz
Company Details: potree.org
Company Position Title: developer
Country: Austria
Linkedin Profile: No
Been thanked: 5 times

Re: Potree - WebGL pointcloud viewer

Post by mschuetz »

I've put the potree source on github now. Documentation and PotreeConverter sourcecode will be available on github within the next few days.
https://github.com/potree/potree

Phil Marsh wrote:Can you write some simple instructions on how to get data into this format?
It would be great to have an GUI to simply convert the data.
The latest release comes with 2 binaries:

* converter/xyzrgb2bin.exe
Converts ascii data to the binary format that PotreeConverter.exe expects.
The ascii file must contain 3 floats for xyz coordinates and 3 integers for color values.
For example:

Code: Select all

1.2312 4.311 5.12312 100 125 210
1.2312 4.311 5.12312 123 124 125
* converter/PotreeConverter.exe
Converts the output of the xyzrgb2bin to the potree format.

* converter/usage.txt explains how to call these executables.

A GUI is not planned, yet, but I'll look into it once the converter has a few more features such as more input formats.
Last edited by mschuetz on Thu Feb 13, 2014 4:27 pm, edited 2 times in total.
Oatfedgoat
Honorary Member
Honorary Member
Posts: 1047
Joined: Mon Oct 06, 2008 8:31 pm
15
Full Name: Matthew McCarter
Company Details: Costain
Company Position Title: BIM Manager
Country: England
Linkedin Profile: Yes
Has thanked: 5 times
Been thanked: 4 times

Re: Potree - WebGL pointcloud viewer

Post by Oatfedgoat »

That's excellent. Much appreciated.... but - Would it be possible to also make a file that enables those of us that dont have RGB with our scans to convert it by releasing something for XYZi please?
mschuetz
I have made 40-50 posts
I have made 40-50 posts
Posts: 40
Joined: Fri Nov 01, 2013 7:03 am
10
Full Name: Markus Schuetz
Company Details: potree.org
Company Position Title: developer
Country: Austria
Linkedin Profile: No
Been thanked: 5 times

Re: Potree - WebGL pointcloud viewer

Post by mschuetz »

Oatfedgoat wrote:That's excellent. Much appreciated.... but - Would it be possible to also make a file that enables those of us that dont have RGB with our scans to convert it by releasing something for XYZi please?
If you know C++, you can already get the source and adapt it to your needs: http://potree.org/downloads/PotreeConverter_source.zip

But I'll try to upload a version that handles XYZi in the next few days, maybe even later today.
User avatar
blazaj
V.I.P Member
V.I.P Member
Posts: 510
Joined: Tue Jan 26, 2010 1:07 pm
14
Full Name: Jiri Blazek
Company Details: BW precision systems sro
Company Position Title: Managing Director
Country: Czech Republic
Linkedin Profile: No
Has thanked: 45 times
Been thanked: 18 times
Contact:

Re: Potree - WebGL pointcloud viewer

Post by blazaj »

Matt,
you can also use cloudcompare to convert intenyity to RGB values.

Odesláno z mého Nexus 7 pomocí Tapatalk
mschuetz
I have made 40-50 posts
I have made 40-50 posts
Posts: 40
Joined: Fri Nov 01, 2013 7:03 am
10
Full Name: Markus Schuetz
Company Details: potree.org
Company Position Title: developer
Country: Austria
Linkedin Profile: No
Been thanked: 5 times

Re: Potree - WebGL pointcloud viewer

Post by mschuetz »

Oatfedgoat wrote:That's excellent. Much appreciated.... but - Would it be possible to also make a file that enables those of us that dont have RGB with our scans to convert it by releasing something for XYZi please?
Here is an executable to convert from xyzi to the binary format that is required by the PotreeConverter. You'll still have to the PotreeConverter afterwards.
http://potree.org/downloads/xyzi2bin.exe

Your XYZi file must look like this:

Code: Select all

-0.0378297 0.12794 0.00447467 0.850855 
-0.0447794 0.128887 0.00190497 0.900159 
-0.0680095 0.151244 0.0371953 0.398443 
usage:

Code: Select all

./xyzi2bin <input> <output> <intensityRange>
./xyzi2bin C:\pointcloud.xyz C:\pointcloud.bin 1
Where intensity range indicates the largest possible intensity. This is used to normalize color data.


Support for more formats will follow in the future.
mschuetz
I have made 40-50 posts
I have made 40-50 posts
Posts: 40
Joined: Fri Nov 01, 2013 7:03 am
10
Full Name: Markus Schuetz
Company Details: potree.org
Company Position Title: developer
Country: Austria
Linkedin Profile: No
Been thanked: 5 times

Re: Potree - WebGL pointcloud viewer

Post by mschuetz »

Hi, there have been some updates:

I rewrote everything based on three.js. This means, you can now render everything three.js can as well. Skyboxes, meshes and lines, for example.
The converter can now convert *.las, *.ply and *.xyz files (with certain restrictions), see PotreeConverter

It also works on my mobile phone (firefox/android) to some extent.

Click on animage below to open a demo page:

Distance measure tool example:
Image

Skatepark:
Image

Multiple instances of one pointcloud:
Image


Image
User avatar
3DForensics
Honorary Member
Honorary Member
Posts: 1979
Joined: Mon Aug 03, 2009 1:52 am
14
Full Name: Eugene Liscio
Company Details: AI2-3D Forensics
Company Position Title: Owner
Skype Name: eliscio
Location: Toronto, Canada
Has thanked: 13 times
Been thanked: 70 times
Contact:

Re: Potree - WebGL pointcloud viewer

Post by 3DForensics »

Hi Markus,

Works great for these size of point clouds.

Eugene
gwhitch
I have made 10-20 posts
I have made 10-20 posts
Posts: 12
Joined: Mon Jul 02, 2018 3:34 pm
5
Full Name: Gary Whitcher
Company Details: Blue Sky Evolution
Company Position Title: Research and Development
Country: United States
Linkedin Profile: Yes

Re: Potree - WebGL pointcloud viewer

Post by gwhitch »

I want to be able to rotate an object after it gets loaded into the cloud.

Can an object be rotated along each axis? I have tried to use the same approach as in moving them, (movedist is a local variable)

object_loaded.position.set(parseFloat(object_loaded.position.x) - parseFloat(movedist), parseFloat(object_loaded.position.y), parseFloat(object_loaded.position.z));

using:

object_loaded.rotation.set(parseFloat(object_loaded.rotation.x) - parseFloat(dtr(movedist)), parseFloat(object_loaded.rotation.y), parseFloat(object_loaded.rotation.z));

I don't get an error but nothing happens. Am I missing something?
Post Reply

Return to “Web Based Software”