PDA

View Full Version : Viewing mesh/point cloud in vizard


ecatcom1
01-14-2015, 12:31 PM
Hi guys,
I've been struggling for a few weeks now trying to view a point cloud in vizard. I am completely new at this and not sure where to start.

I have an ASCII point cloud that I start with and turn to a mesh that I then save as .3ds and/or .obj in MeshLab using the following directions:

1. Filters -> Normals, curvatures and orientation -> Compute normals for point sets
2. Filters -> Remeshing, Simplification and Reconstruction -> Surface Reconstruction
3. Filters -> Texture -> Parametrization: Trivial Per-Triangle
4. Save (as .3ds or .obj)

I've tried saving it directly as a point cloud to .3ds in MeshLab but I get various errors and can't do that, hence turning it into a mesh.

I've even gone into Vizard inspector with the .obj file and turned it into an .osgb file

Then in Vizard, I use the following code to attempt to view the mesh:
import viz
viz.go(viz.FULLSCREEN)
viz.add('piazza.osgb')
import vizcam
vizcam.WalkNavigate()
where I just replaced the default piazza file with my file. The default works, but when I put my files in there, I just get a black screen with nothing on it.

I get no errors when using any of my files, I just don't see anything on my screen.

I don't have a raster on top of my mesh. Could this be the problem?

Any help would be greatly appreciated.

Jeff
01-20-2015, 05:31 AM
If the file is text based and in x,y,z or x,y,z,r,g,b, format, try renaming the extension to .3dc and then loading it in Inspector or Vizard.