point cloud to any reconignizable format

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

point cloud to any reconignizable format // Archive: Tech Forum

1  |  

Post by tomaiken // Aug 16, 2006, 11:43am

tomaiken
Total Posts: 2
Hello


I'm using TS6.6 and am working on a 3d scanner as part of a larger project. My VB application will output a "Point Cloud" of the x,y & z valuess but I am completely stumped as to how to convert it to something useable with TS6.6


I am aware of commercial products but was sorta searching for a way to do it without purchasing anything and am wondering if anyone else has any ideas about how this could be done?


Thanks

Tom

Post by Alien // Aug 16, 2006, 2:43pm

Alien
Total Posts: 1231
pic
I'm using TS6.6 and am working on a 3d scanner as part of a larger project. My VB application will output a "Point Cloud" of the x,y & z valuess but I am completely stumped as to how to convert it to something useable with TS6.6


I am aware of commercial products but was sorta searching for a way to do it without purchasing anything and am wondering if anyone else has any ideas about how this could be done?

Unless you feel like learning the tS6.6 SDK, & figuring out how to write a program to convert the data to 6.6 .cob format, I would think the easiest way would be to convert it to a 3D Studio ASCII .asc file, which 6.6 can import. If you have the conversion pack there's another text format file it can read [.sat], but having looked at both in a text editor, I'd say the .asc would definitely be the easier option! :) Try saving a few objects as .asc files, compare them in a text editor, & that should give you an idea of the rules of how the data should be formatted, then hopefully you'll be able to come up with a way to convert it.

Post by TomG // Aug 16, 2006, 10:16pm

TomG
Total Posts: 3397
Do note that trueSpace does not support unconnected vertices - that is, vertices (points) have to be connected via edges to give an object. I know in some apps it is possible just to have such a point cloud as an object, but as far as I know, there is no way for that to work in tS.


So in the conversion process, something will have to convert that into vertices plus edges, rather than vertices alone. This will certainly need to happen before rendering can be done (even if there is a way for tS to have just vertices unattached), so that there are surfaces to be rendered.


I would guess this is the hardest part, defining which point should be connected to which other points, and I would also guess this is why commercial apps that do this are most likely fairly expensive.


HTH!

Tom

Post by rj0 // Aug 17, 2006, 10:07am

rj0
Total Posts: 167
For importing into trueSpace, it might help to convert each of the individual points into very, very small polygons (triangles, maybe).


hth


rj

Post by tomaiken // Aug 17, 2006, 11:53pm

tomaiken
Total Posts: 2
Thanks for the suggestions. I'll keep working on it. In the meantime I started using PRScan which is pretty reasonable and seems to do a good job.

Tom
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn