Hi Timmy,

If you are using SimpleUniverse you can access the method this way:

        SimpleUniverse simpleU = new SimpleUniverse(canvas3D);
        Viewer viewer = simpleU.getViewer();
        View view = viewer.getView();
        view.setFrontClipDistance(1);
        view.setBackClipDistance(3000);

Desiree

o------------------------------------------------------------------------o
| Desiree Hilbring      Institut fuer Photogrammetrie und Fernerkundung  |
|                       Universitaet Karlsruhe, Germany                  |
|                                                                        |
|                       email: [EMAIL PROTECTED]             |
|                       # 0721 6083676                                   |
o------------------------------------------------------------------------o

On Mon, 2 Apr 2001, Timmy Tong wrote:

> Dear all,
>
> I know there is a function setBackClipDistance(double distance) to set the
> back clip distance, but I don't know how to get the view in the
> SimpleUniverse to apply this function.
> Please help.
> Thank you very much.
>
> Regards,
> Timmy
>
> ===========================================================================
> 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".
>

===========================================================================
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