PotreeConverter icon indicating copy to clipboard operation
PotreeConverter copied to clipboard

Setting defaults pre-conversion

Open grndng opened this issue 3 years ago • 4 comments

Comparable to issue 313.

In my field we're used to view points as circles. However, after conversion Potree defaults to squares. I know how to change it post-conversion but can't find where to change the parameters so that when I convert a point cloud, the points are circles by default. I've tried to change the entries in PotreeConverter/Converter/src/main.cpp with no success. Where do I need to change the parameters to make them "stick"?

grndng avatar Oct 19 '21 18:10 grndng

I use a very low-tech solution. I name all of my point clouds 001, 002, etc. and reuse a previously created html file with all of my settings in it.

But there looks like there is a view-template file that can be modified to include your settings...

sdoughtie avatar Oct 24 '21 20:10 sdoughtie

I use a very low-tech solution. I name all of my point clouds 001, 002, etc. and reuse a previously created html file with all of my settings in it.

But there looks like there is a view-template file that can be modified to include your settings...

Hey there, thanks a lot for answering. Can you help me with where to find the view-template file? I was searching like crazy and couldn't find anything. Also where is your html file with your settings in it? Because using the newest version, e.g. the shape of the points is determined by a text block that replaces a placeholder in the files I could find.

grndng avatar Oct 25 '21 08:10 grndng

image The arrow isn't pointing to the lib folder on purpose...

sdoughtie avatar Oct 26 '21 01:10 sdoughtie

Thank you for answering and sorry for the incredibly late answer. However, if I use the viewer_template.html in PotreeConverter/resources/page_template/, I can only specify options for the viewer but not for the point cloud (e.g. shape). The <!-- INCLUDE POINTCLOUD --> element is replaced somewhere in the process by some default settings. I'm looking for those default settings.

grndng avatar Mar 05 '22 10:03 grndng