How to display a simple point cloud in DXEngine
#2
I see that you have already found the "Need to display a 3D cloud in a .NET window" forum thread (https://forum.ab4d.com/showthread.php?ti...07#pid5907) that provides some information on how to display point cloud.

To show that in WinForms application, please open the WinForms sample project (can be also get from GitHub: https://github.com/ab4d/Ab3d.DXEngine.WinForms.Sample). Strat the sample and check which DXEngine usage suites your application best (the recommended way is to use the ElementHost). 

Then just replace the content of the Create3DScene or CreateObjectsScene or any other method that defines the 3D objects by your code that creates the PixelVisual3D objects.

I see that the attached file has a very simple structure - to parse it you can use System.IO.File.ReadAllLines method and then split each line by fixed positions (using Substring method). After calling Trim on each part you can parse each part into double or float value.
Andrej Benedik
  


Messages In This Thread
RE: How to display a simple point cloud in DXEngine - by abenedik - 01-03-2022, 09:52 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)