Notifications
Clear all

[Closed] From script to plugin – Speed

 lo1

It very much depends on what you’re doing with the data later. What would a printout to the listener help you anyways?

The output was going to go into its own file ultimately…i thought it was the same…speed wise…to print to the listener. At least for now.

I just wanted to clarify the process that we are thinking about here…because we might be going down the wrong path all together to get what we need. We, ideally, want to re-colour pointcloud data with photographs that we take from a mobile scanning rig we are designing…or at least thinking of designing. So basically we would have cameras doing image capture and these images would then have a corresponding camera in 3d. The rays would be sent out through this camera matched view, the pixel colours from the photo would give us the point colour while the raycast would give us the 3d coordinate. So then we could write out the new pointcloud in the form:

2 2 2 255 255 255
3 3 3 200 200 200

It may seem like a long way to go to colour some points but the data acquisition of the point cloud is almost always limited to night time scanning so that’s one of the reasons for breaking up the photos and the scanning…or else we would just do full colour scans. I really appreciate all the help…like most things it looks like its getting more complex before it gets simpler!

 lo1

I’m not sure I fully understood the process, but regarding writing to file, you will get much better performance (and smaller files) writing binary data instead of ascii text.

Page 2 / 2