Roy,

That's correct, you're not doing anything wrong.  We have this
documented at:

http://www.starfireresearch.com/services/java3d/supplementalDocumentation.html

Thanks to Kevin Rushforth for the explanation of the conversion from
physical to virtual coordinates.

- John Wright
Starfire Research

Roy Duffy wrote:
>
> I noticed in my Java3D application that the clipping planes didn't seem
> to be set where I though I was setting them.  So I did some more testing
> and found that both the near and far clipping planes were set to roughly
> 6 times as far as I was setting them to be.
> I made a very short example program that illustrates this behavior.  It
> draws 3 cubes, one at Z = -15, one at Z = -25, and one at Z = -35.  I
> set the back clipping plane to 5.0, and I leave the eyepoint at 0,0,0.
> One would expect to see nothing because all three cubes should be beyond
> the far clipping plane, but in fact only the third cube is clipped and
> the first two are visible.  I have tested this with JDK1.3.1 with OpenGL
> Java3D1.2.1 and JDK1.4.0 with OpenGL Java3D1.3 beta 1 on Windows NT and
> Solaris 8.
>
> I attached the test program to this email with the hope the someone will
> tell me what I'm doing wrong.
> I keep thinking that I am missing something really stupid because I
> can't believe a problem like this would go unnoticed for so long, so if
> that's the case, please tell me.
>
> Thank you,
>  -Roy Duffy
> [EMAIL PROTECTED]
>
>   ------------------------------------------------------------------------
>                    Name: Example.java
>    Example.java    Type: Java Source File 
>(application/x-unknown-content-type-JCreator.java)
>                Encoding: BASE64

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