🌍 Public
Viewing a saved revision (read-only)
85a918d615864d8faaf8992d768ca431
Vtk test
This example displays a red 3D cone rendered in a full-screen interactive viewport using VTK.js. The visualization pipeline connects a vtkConeSource to a vtkMapper and vtkActor, then adds the actor to the renderer before resetting the camera. Mouse and touch controls enable rotation and zooming of the cone, demonstrating basic scene setup and interaction with Kitware's VTK.js library.
AI-generated descriptionA basic VTK.js example showing a 3D cone that can be interacted with using mouse/touch controls.
This example demonstrates:
- Setting up a full screen render window
- Creating a basic 3D shape (cone)
- Setting up the visualization pipeline
- Basic camera positioning
- Mouse/touch interaction
Built using VTK.js from Kitware.