Thursday, November 29, 2007

Creating VRML with point cloud

The new functionality was added to the OFF to VRML file converter I developed. Now it has an option to create, in the VRML file, a point cloud of the model instead of the traditional mesh. Below is an example of such output.

Point cloud for a 3D model with vertices colored according to its order


N-I-C-K.COM said...

Any way you can show me how this works?

Alfredo Ferreira said...

It's simple. You just have to create a VRML file containing as many spherical shapes (Shape { geometry SPHERE }) as points. Each of these should be translated according to the point coordinates, using the Transform node. The radius of the sphere should also be set regarding the regarding the size of the point cloud bounding box.