Hi I want to turn the clipping off during the execution of my program,
how do I do this?
What im doing currently;

if (clip) {
        view[canvas].setFrontClipPolicy(View.VIRTUAL_EYE);
      float clipDistance = (float)mainWindow.zOrigin - 0.5f;
        clipDistance = clipDistance * -1;

        view[canvas].setFrontClipDistance(clipDistance);
}
else {
        view[canvas].setFrontClipPolicy(View.VISIBILITY_DRAW_ALL);
}

But this doesn't work, the clipping will remain on all the time

I don't really want to cheat;)

Cheers


********************************************
Ben Logan - Graduate Software Engineer
RCID
Stephenson Building
Newcastle Upon Tyne
NE1 7RU
www.rcid.ncl.ac.uk
******************************************** 

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