SFraissTU / BA_PointCloud

PointCloud-BachelorThesis
BSD 2-Clause "Simplified" License
185 stars 42 forks source link

How can I display multiple objects at the same time using different rendering methods? #30

Closed Yuto126 closed 3 years ago

Yuto126 commented 3 years ago

Hello,

I thank you of your great work.

I want to display some objects at the same time using different rendering methods to increase the clarify. Do you have any ideas about this?

Thank you.

Yuto126 commented 3 years ago

I mean BigSceneDemo + applying different rendering method for each point cloud in the given directory.

SFraissTU commented 3 years ago

Hi! Well, the easiest way would be to have several Dynamic Point Cloud Sets active at the same time, one for each rendering method. However I would not recommend this, as you would have two rendering systems at the same time that would not share the point budget or the cache. The proper way to do it would be a deeper change of the code. I would sponatenously do it roughly like this:

This solution is a bit sloppy but I think it should work. I didn't test it, so feel free to let me know if that worked for you.

Yuto126 commented 3 years ago

Hello,

Thank you for your helpful answer!

I have implemented the "Load Directory" button to create a MeshConfiguration for the file, and assign it to the PointCloudLoader config that is created at the same time. Is my interpretation correct?

I have attached the implemented image below. It worked without error and had the expected functionality!

スクリーンショット 2021-01-19 15 43 03

Thank you again for everything you’ve done.

SFraissTU commented 3 years ago

Great! If you want to have one mesh configuration for each cloud, that is a good way to do it!