Thanks, Paul.

That did the trick.

Raffi

-----Original Message-----
From: Paul Byrne [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 4:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Help! How can I use ViewingPlatform?


HI,

You need to create a Viewer object instead of creating a View......

        Canvas3D canvas = new Canvas3D( config );

        Viewer viewer = new Viewer( canvas );
        ViewingPlatform vp = new ViewingPlatform();
        viewer.setViewingPlatform( vp );

        locale.addBranchGraph( vp );

Rgds

Paul


----------------------------------------------------------
Paul Byrne                      Email : [EMAIL PROTECTED]
Sun Microsystems                Phone : (650) 786 9926
Visualization Software Group    Fax   : (650) 786 5852
----------------------------------------------------------

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to