I didn't expect any difference between the two measurements. I've never
really studied it closely other than to optimize my depth buffer
resolution. The resolution of the depth buffering in the hardware (say 16
bit resolution) is going to be spread between the near and far clipping
planes, but not linearly. It looks like more of an exponential scale.
This is due to the perspective projection algorithm. If you think about
it, it has a real-world anomaly. Your eye can discern smaller distances
between objects that are closer to your eye.
Perhaps you are spreading your depth resolution to thin... in other words,
maybe your near and far clipping planes are too far apart. Try bringing in
your far clipping plane...
Lee
J. Lee Dixon
Software Engineer
SAIC - Celebration, FL
[EMAIL PROTECTED]
407-566-1438
-----Original Message-----
From: Rob Nugent [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2000 6:28 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Continuing problem with ViewPlatform
Joel,
This proved to be a good idea, but it highlights my lack of understanding:
If I set the frontClipDistance to say 1.0, the wall gets clipped when I'm
about
3.5m from it. Small values such as 0.01 mean the wall gets clipped when I'm
very
close to it ( < 0.5m).
I suspect that I'm still missing something here - Is there a difference
between the
coordinate system used by the frontClipDistance() and the virtual world ?
If so,
can anyone say how I convert between the two ?
Thanks
Rob
J. Lee Dixon wrote:
> Have you tried playing with the near clipping plane distance?
>
> J. Lee Dixon
> Software Engineer
> SAIC - Celebration, FL
> [EMAIL PROTECTED]
> 407-566-1438
>
> -----Original Message-----
> From: Rob Nugent [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 17, 2000 4:25 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Continuing problem with ViewPlatform
>
> I wonder if some can help explain the following please:
>
> I have a scene with a vertical 'wall' along the x-axis.
>
> My ViewPlatform has the View attached with an attach policy
> of View.NOMINAL_HEAD.
>
> My view/viewplatform is pointing down the x-axis towards the wall.
>
> Now, the question is as follows:
>
> How close can I expect to position the ViewPlatform to the wall, before
it
> goes 'through' the wall and I can see objects behind the wall ?
>
> I was assuming that this distance would be given by the method
> getNominalEyeOffsetFromNominalScreen(); in my PhysicalBody
> (in my case 0.4572 m). However, my tests show that the 'screen' passes
> through the wall when the transform above my ViewPlatform is specifying
> a distance of about 0.69m.
>
> I'm really stuck by this - can someone explain if my theory is sound
please ?
>
> I've tried asking some similar questions in the last month or two but
with no reponse.
>
> Thanks
> Rob
>
> --
>
> Rob Nugent
> Development Manager
> PeerLogic
> [EMAIL PROTECTED]
> http://www.peerlogic.com
> Tel: +44 (0) 1489 585503
> Fax: +44 (0) 1489 881363
>
>
===========================================================================
> 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".
--
Rob Nugent
Development Manager
PeerLogic
[EMAIL PROTECTED]
http://www.peerlogic.com
Tel: +44 (0) 1489 585503
Fax: +44 (0) 1489 881363
===========================================================================
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".