3dgeo-heidelberg / helios

http://uni-heidelberg.de/helios
Other
192 stars 44 forks source link

create and visualize the scene #52

Closed xjy11 closed 3 years ago

xjy11 commented 3 years ago

Hello! I am intereted in simulating the ALS full-waveform data with the TLS discrete points. According to the Wiki, I should create a 3D scene made up of detailedVoxels for crown and OBJ-model for stem first, so I used the voxelizer_write_vox.py to voxelize the point clouds. But how to watch the .vox file I voxelized to make sure what I did is correct? Besides, which kind of tool should I use to watch the stem object and the crown voxels at the same time? Thank you a lot!

han16nah commented 3 years ago

Hi, for simple voxelisation, you can also use the xyz point cloud loader, which voxelizes the point cloud within HELIOS++ using your defined voxel size. If your scene is not very large, this might be the easier way. The detailedVoxels make especially sense, if you have some transmittance/plant area density info, e.g. computed using AMAPVox software.

If you want to work with voxeliser_write_vox.py, I have attached a script voxelizer_write_mesh.zip which performs the same voxelisation, but saves the output to an .obj-file, which can be visualised in e.g. CloudCompare (together with a mesh of the stem).

For visualising the simulation, including your scene objects, you can start your simulation with helios.py. Instead of run\helios <path-to-survey.xml> you execute: python helios.py <path-to-survey.xml> from the command line (assuming you copied the file to the root directory). You can use all the usual parameters (e.g. --lasOutput) when calling the script.

Feel free to ask if anything was not clear!

Best,

Hannah