A problem in rendering a point cloud in revit

A problem in rendering a point cloud in revit

Anonymous
Not applicable
810 Views
4 Replies
Message 1 of 5

A problem in rendering a point cloud in revit

Anonymous
Not applicable

Hi

I've written a code to read point cloud data from a text file and render it in Revit. In this code, a uniform grid cell is created, following the bounding box of the point cloud, and the points are placed in each cell.

 This code works good and I can see the results but there is a problem that I couldn't resolve.

when I zoom in, all the points are shown, but when I zoom out, only a part of the points can be seen, I have attached two screenshots; why is this happening? 

I don't also know how many cells I should consider for my point cloud data. In point clouds with a higher number of points, almost the same problem happens for me.

 

Thank you very much!

Best, Saeed.

 

 

pc1.PNG

pc2.PNG

  

 

0 Likes
811 Views
4 Replies
Replies (4)
Message 2 of 5

jeremytammik
Autodesk
Autodesk

This sounds like something that you might want to explore in the end user interface as well. 

 

I don't think that the API provides any point-cloud-specific settings that you can use to influence this behaviour.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 5

Anonymous
Not applicable

Thanks for your reply,

But I've just implemented a simple point cloud engine like what we have in SDK. The only difference is that I create a bounding box, split it into a number of cells, and then read the coordinate of points and place them into the cells. However, I don't know why when I zoom in, all points are shown but when I zoom out, some points are disappeared. 

 

I tried so much but couldn't find any way to fix it.

Kind regards, Saeed

 

 

 

 

0 Likes
Message 4 of 5

jeremytammik
Autodesk
Autodesk

Do you see the same behaviour in the end user interface?

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 5 of 5

Anonymous
Not applicable

No i don't see the same thing there. seems like that the points can't be read when i zoom out. I tried so much but couldn't solve the problem.

How can this happen ?

Many thanks already

0 Likes