Complete the following steps to create a 3D scene using the 3D Picture Control VIs and the SceneObject methods.
- Add a 3D picture control to the front panel.
- Add the Create Object VI to the block diagram to the left of the 3D picture control terminal.
- Right-click the Scene:New Object output of the Create Object VI and select Create»Method for SceneObject Class»Set Drawable from the shortcut menu to create an Invoke Node.
- Add the Invoke Node to the block diagram to the right of the Create Object VI.
- Wire the Scene:New Object output of the Create Object VI to the reference input of the Invoke Node.
- Select any VI from the Geometries palette and add it to the block diagram to the left of the Invoke Node.
- Wire the reference output of the VI you added in step 5 to the Drawable input of the Invoke Node.
- Wire the reference output of the Invoke Node to the 3D picture control terminal. The following block diagram shows a simple 3D scene.

- Wire error in and error out terminals on the block diagram.
- Run the VI to generate the 3D scene.
- (Optional) Configure a camera to view the 3D scene from different perspectives.
After you create a basic 3D scene, you can use other 3D Picture Control VIs to enhance the 3D scene. You can add additional 3D objects and create object relationships, apply textures to 3D objects, and configure light sources for the 3D scene. You also can configure a scene window to display the 3D scene with graphical hardware acceleration.
Refer to the solarsystem VI in the labview\examples\picture\3D Picture Control directory for an example of a 3D scene.