Showing posts with label vtkSphereSource. Show all posts
Showing posts with label vtkSphereSource. Show all posts

Friday, April 13, 2007

Multiple vtkRenderers

*Purpose: Create simple source objects. Demo the functionalities of multiple renderers.

(Please first follow the VTK installation guide to build VTK from source)





Many standard objects are used in this demo: cone, sphere, cube, disk, cylinder and arrow.

A simple interactive sphere in VTK

*Purpose: Create a simple sphere, users can interact with it.

(Please first follow the VTK installation guide to build VTK from source)






Basic interaction functionalities:

Mouse: zoom, pan, rotate...
'w': wireframe
's': surface rendering
'p': picking - highlight the bounding box of selected object
'+': increase resolution of the sphere
'-': decrease resolution of the sphere
'c': choose a random color for the sphere