Visualisation 2D to 3D

I have an example when Ii run it i see geometry in 2D, what i need to modify to get 3D visualization .

The OpenGL…X viewers are 3D but they are not interactive. You can change the viewpoint, for example, with /vis/viewer/set/viewpointThetaPhi. See examples/basic/B1/vis.mac.

You will need to build with XM (motif) or Qt to get an interactive viewer.