Potree - WebGL pointcloud viewer

3DUserNet, Pointbox, Potree, TrueView, 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
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 » Sun Feb 09, 2014 4:02 pm

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 30-40 posts
I have made 30-40 posts
Posts: 33
Joined: Fri Nov 01, 2013 7:03 am
Full Name: Markus Schuetz
Company Details: potree.org
Company Position Title: developer
Country: Austria
Linkedin Profile: No

Re: Potree - WebGL pointcloud viewer

Post by mschuetz » Thu Feb 13, 2014 2:15 pm

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
Global Moderator
Global Moderator
Posts: 1039
Joined: Mon Oct 06, 2008 8:31 pm
Full Name: Matthew McCarter
Company Details: Costain
Company Position Title: BIM Manager
Country: England
Linkedin Profile: Yes
Has thanked: 1 time

Re: Potree - WebGL pointcloud viewer

Post by Oatfedgoat » Thu Feb 13, 2014 2:18 pm

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 30-40 posts
I have made 30-40 posts
Posts: 33
Joined: Fri Nov 01, 2013 7:03 am
Full Name: Markus Schuetz
Company Details: potree.org
Company Position Title: developer
Country: Austria
Linkedin Profile: No

Re: Potree - WebGL pointcloud viewer

Post by mschuetz » Thu Feb 13, 2014 2:24 pm

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: 465
Joined: Tue Jan 26, 2010 1:07 pm
Full Name: Jiri Blazek
Company Details: BW precision systems sro
Company Position Title: Managing Director
Country: Czech Republic
Linkedin Profile: No
Contact:

Re: Potree - WebGL pointcloud viewer

Post by blazaj » Thu Feb 13, 2014 4:22 pm

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 30-40 posts
I have made 30-40 posts
Posts: 33
Joined: Fri Nov 01, 2013 7:03 am
Full Name: Markus Schuetz
Company Details: potree.org
Company Position Title: developer
Country: Austria
Linkedin Profile: No

Re: Potree - WebGL pointcloud viewer

Post by mschuetz » Mon Feb 17, 2014 3:05 pm

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 30-40 posts
I have made 30-40 posts
Posts: 33
Joined: Fri Nov 01, 2013 7:03 am
Full Name: Markus Schuetz
Company Details: potree.org
Company Position Title: developer
Country: Austria
Linkedin Profile: No

Re: Potree - WebGL pointcloud viewer

Post by mschuetz » Sat May 24, 2014 7:32 am

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
Global Moderator
Global Moderator
Posts: 1861
Joined: Mon Aug 03, 2009 1:52 am
Full Name: Eugene Liscio
Company Details: AI2-3D Forensics
Company Position Title: Owner
Skype Name: eliscio
Location: Toronto, Canada
Contact:

Re: Potree - WebGL pointcloud viewer

Post by 3DForensics » Sat May 24, 2014 2:25 pm

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
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 » Mon Jul 29, 2019 9:35 pm

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”