Potree - WebGL pointcloud viewer
- fabrizio.cavallo
- 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
Does anyone have experience with the new Riegl RiAlity?
Excuse me if the question may seem off-topic.
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
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
-
- 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
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
* 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:
* 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.
https://github.com/potree/potree
The latest release comes with 2 binaries: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.
* 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
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.
-
- 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
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?
-
- 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
If you know C++, you can already get the source and adapt it to your needs: http://potree.org/downloads/PotreeConverter_source.zipOatfedgoat 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?
But I'll try to upload a version that handles XYZi in the next few days, maybe even later today.
- blazaj
- 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
Matt,
you can also use cloudcompare to convert intenyity to RGB values.
Odesláno z mého Nexus 7 pomocí Tapatalk
you can also use cloudcompare to convert intenyity to RGB values.
Odesláno z mého Nexus 7 pomocí Tapatalk
-
- 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
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.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?
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
Code: Select all
./xyzi2bin <input> <output> <intensityRange>
./xyzi2bin C:\pointcloud.xyz C:\pointcloud.bin 1
Support for more formats will follow in the future.
-
- 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
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:
Skatepark:
Multiple instances of one pointcloud:
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:
Skatepark:
Multiple instances of one pointcloud:
- 3DForensics
- 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:
-
- 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
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?
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?