Leyland Needham wrote:


> I've tried creating a Shape3d object with 1 quad and tried to place it as
> close to the front clipping plane as possible, to see if that would work, but
> it appears to not be working quite as expected. For some reason unknown to
> me, even though the front clipping plane is set to 0.1f, I cant get any
> closer then 0.442914f before the quad gets clipped (a value I found by
> experimenting what distance causes it to be clipped). Im not sure if this is
> a known bug or not. I'm curious to know how other people are dealing with the
> problem?

Try out
pCanvas.getView().setFrontClipPolicy(View.VIRTUAL_EYE);

You should get exact clipping value. It still escapes me why it is
computed from screen, not eye, but it is 0.1 (or whatever you set it
to).

>From what I understand, reason behind all this stuff is that there are
many transforms out there. There is image plate to vworld transform
which differs from viewplatform transform which differs from another one
transform tied to view (I'be forgotten it name - something with eye). I
wish I could fully understand all this stuff... Anyway clip distance is
taken in one of these transforms - which differ from virtual world
transform (different scale).



Artur

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